Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
aboutform.cpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #include "aboutform.hpp"
12 #include "ui_aboutform.h"
13 
14 using namespace Huggle;
15 
16 AboutForm::AboutForm(QWidget *parent) : QDialog(parent), ui(new Ui::AboutForm)
17 {
18  ui->setupUi(this);
19  QString python = " without python support";
20  if (Configuration::PythonEngine)
21  {
22  python = " with python support";
23  }
24  QString version = " Compiled using QT " + QString(QT_VERSION_STR) + " Running on QT " + QString(qVersion());
25  ui->label_7->setText("Version: " + Configuration::HuggleVersion + python + version);
26 }
27 
28 AboutForm::~AboutForm()
29 {
30  delete ui;
31 }
32 
33 void AboutForm::on_pushButton_clicked()
34 {
35  this->close();
36 }
Form that can be displayed from help menu, should list all developers.
Definition: aboutform.hpp:25