QElectroTech  0.8-dev
aboutqetdialog.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2020 The QElectroTech Team
3  This file is part of QElectroTech.
4 
5  QElectroTech is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 2 of the License, or
8  (at your option) any later version.
9 
10  QElectroTech is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef ABOUTQETDIALOG_H
19 #define ABOUTQETDIALOG_H
20 
21 #include <QDialog>
22 
23 class QLabel;
24 
25 namespace Ui {
26  class AboutQETDialog;
27 }
28 
32 class AboutQETDialog : public QDialog
33 {
34  Q_OBJECT
35 
36  public:
37  explicit AboutQETDialog(QWidget *parent = nullptr);
39 
40  private:
41  void setAbout();
42  void setAuthors();
43  void setTranslators();
44  void setContributors();
45  void setVersion();
46  void setLibraries();
47  void setLicence();
48  void addAuthor(QLabel *label,
49  const QString &name,
50  const QString &email,
51  const QString &work);
52  void addLibrary(QLabel *label,
53  const QString &name,
54  const QString &link);
55 
56  private:
57  Ui::AboutQETDialog *ui;
58 };
59 
60 #endif // ABOUTQETDIALOG_H
AboutQETDialog::setAuthors
void setAuthors()
AboutQETDialog::setAuthors.
Definition: aboutqetdialog.cpp:70
AboutQETDialog
The AboutQETDialog class.
Definition: aboutqetdialog.h:33
AboutQETDialog::setAbout
void setAbout()
AboutQETDialog::setAbout.
Definition: aboutqetdialog.cpp:53
AboutQETDialog::ui
Ui::AboutQETDialog * ui
Definition: aboutqetdialog.h:57
aboutqetdialog.h
AboutQETDialog::addLibrary
void addLibrary(QLabel *label, const QString &name, const QString &link)
AboutQETDialog::addLibrary.
Definition: aboutqetdialog.cpp:193
AboutQETDialog::setLibraries
void setLibraries()
AboutQETDialog::setLibraries.
Definition: aboutqetdialog.cpp:153
Machine_info::compilation_info
QString compilation_info()
Machine_info::compilation_info.
Definition: machine_info.cpp:303
AboutQETDialog::setVersion
void setVersion()
AboutQETDialog::setVersion.
Definition: aboutqetdialog.cpp:141
qet.h
AboutQETDialog::~AboutQETDialog
~AboutQETDialog()
AboutQETDialog::~AboutQETDialog.
Definition: aboutqetdialog.cpp:45
QET::displayedVersion
const QString displayedVersion
QElectroTech displayed version.
Definition: qet.h:34
AboutQETDialog::setContributors
void setContributors()
AboutQETDialog::setContributors.
Definition: aboutqetdialog.cpp:115
QET::license
QString license()
Definition: qet.cpp:373
machine_info.h
AboutQETDialog::AboutQETDialog
AboutQETDialog(QWidget *parent=nullptr)
AboutQETDialog::AboutQETDialog.
Definition: aboutqetdialog.cpp:28
AboutQETDialog::addAuthor
void addAuthor(QLabel *label, const QString &name, const QString &email, const QString &work)
AboutQETDialog::addAuthor Adds a person to the list of authors.
Definition: aboutqetdialog.cpp:176
Ui
Definition: autonumberingdockwidget.h:25
AboutQETDialog::setTranslators
void setTranslators()
AboutQETDialog::setTranslators.
Definition: aboutqetdialog.cpp:84
Machine_info
The Machine_info class This class hold information from your PC.
Definition: machine_info.h:29
AboutQETDialog::setLicence
void setLicence()
AboutQETDialog::setLicence.
Definition: aboutqetdialog.cpp:163
QET::Icons::tr
QIcon tr
Definition: qeticons.cpp:206