-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaboutdialog.cpp
More file actions
32 lines (30 loc) · 915 Bytes
/
aboutdialog.cpp
File metadata and controls
32 lines (30 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
/**
* @file aboutdialog.cpp
* This Class defines application About window.
* @brief Source file for AboutDialog class definition.
*
* It's a simple QDialog derived class that defines application About window.
*
* @author Plinio Andrade <PAndrade@fele.com>
* @version 1.0.0.0 (Qt: 5.3.1)
*/
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
//Removes 'What's It?' buttom in this dialog window.
this->setWindowFlags(Qt::Dialog | Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint);
#ifdef Q_OS_ANDROID
this->showMaximized();//Show Full Screen for Android Devices
#endif
}
AboutDialog::~AboutDialog()
{
delete ui;
}
void AboutDialog::setVersionText(QString text){
this->ui->version->setText(text);
}