From 29d535c179e0658d8200033b13cbbc9eec59c60f Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Sun, 30 Oct 2022 16:26:57 +0300 Subject: [PATCH] Update developers list --- qucs/dialogs/aboutdialog.cpp | 23 ++++++++++++----------- qucs/dialogs/aboutdialog.h | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/qucs/dialogs/aboutdialog.cpp b/qucs/dialogs/aboutdialog.cpp index a8306ea74..0c92e0186 100644 --- a/qucs/dialogs/aboutdialog.cpp +++ b/qucs/dialogs/aboutdialog.cpp @@ -55,6 +55,7 @@ AboutDialog::AboutDialog(QWidget *parent) "Vadim Kuznetsov - " + tr("project maintainer, simuator interface and GUI design"), "Mike Brinson - " + tr("component models, documentation"), "Tom Russo - " + tr("Xyce integration"), + "Tom Hajjar - " + tr("Testing, examples"), "Maria Dubinina - " + tr("testing, general bugfixes") }}; currAuths = {{ @@ -68,7 +69,7 @@ AboutDialog::AboutDialog(QWidget *parent) "Felix Salfelder - " + tr("refactoring, modularity"), "Andrés Martínez Mera - " + tr("RF design tools") }}; - + prevDevs = {{ "Michael Margraf - " + tr("founder of the project, GUI programmer"), "Stefan Jahn - " + tr("Programmer of simulator"), @@ -104,7 +105,7 @@ AboutDialog::AboutDialog(QWidget *parent) tr("Arabic by") + " Chabane Noureddine", tr("Kazakh by") + " Erbol Keshubaev" }}; - + std::shuffle(currAuths.begin(), currAuths.end(), rng); QLabel *lbl; @@ -124,7 +125,7 @@ AboutDialog::AboutDialog(QWidget *parent) hl->addWidget(iconLabel); all->addWidget(hbox); - + QWidget *vbox = new QWidget(); QVBoxLayout *vl = new QVBoxLayout(vbox); //vl->setContentsMargins(0,0,0,0); @@ -210,12 +211,12 @@ void AboutDialog::currentChangedSlot(int index) { std::shuffle(trAuths.begin(), trAuths.end(), rng); setTrText(); } - + prevTab = index; } void AboutDialog::setAuthorsText() { - + QString authorsText; authorsText = tr("Qucs-S project team:"); authorsText += ""; authorsText += tr("Based on Qucs project developed by:") + ""; - - authorsBrowser->setHtml(authorsText); + + authorsBrowser->setHtml(authorsText); } void AboutDialog::setTrText() { @@ -246,14 +247,14 @@ void AboutDialog::setTrText() { trText += ("
  • " + tStr + "
  • "); } trText += ""; - - trBrowser->setHtml(trText); + + trBrowser->setHtml(trText); } // event filter to remove the Ctrl-Wheel (text zoom) event bool AboutDialog::eventFilter(QObject *obj, QEvent *event) { if ((event->type() == QEvent::Wheel) && - (QApplication::keyboardModifiers() & Qt::ControlModifier )) { + (QApplication::keyboardModifiers() & Qt::ControlModifier )) { return true; // eat Ctrl-Wheel event } else { // pass the event on to the parent class diff --git a/qucs/dialogs/aboutdialog.h b/qucs/dialogs/aboutdialog.h index 91a25b93f..8b0624654 100644 --- a/qucs/dialogs/aboutdialog.h +++ b/qucs/dialogs/aboutdialog.h @@ -45,7 +45,7 @@ class AboutDialog : public QDialog { void setAuthorsText(void); void setTrText(void); - std::array qucs_sDevs; + std::array qucs_sDevs; std::array currAuths; // current Qucs authors std::array prevDevs; // previous Qucs developers std::array trAuths; // Qucs translators