direcs  2012-09-30
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
aboutDialog.cpp
Go to the documentation of this file.
1 /*************************************************************************
2  * Copyright (C) Markus Knapp *
3  * www.direcs.de *
4  * *
5  * This file is part of direcs. *
6  * *
7  * direcs is free software: you can redistribute it and/or modify it *
8  * under the terms of the GNU General Public License as published *
9  * by the Free Software Foundation, version 3 of the License. *
10  * *
11  * direcs is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with direcs. If not, see <http://www.gnu.org/licenses/>. *
18  * *
19  *************************************************************************/
20 
21 #include "aboutDialog.h"
22 
23 AboutDialog::AboutDialog(QWidget* parent, Qt::WFlags fl) : QDialog(parent, fl)
24 {
25  ui.setupUi(this);
26 }
27 
29 {
30  Q_UNUSED(checked);
31 
32  QApplication::aboutQt();
33 }
34 
35 
36 void AboutDialog::setVersion(QString text)
37 {
38  ui.lblVersion->setText(text);
39 }