-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathaboutdialog.cpp
More file actions
30 lines (27 loc) · 788 Bytes
/
Copy pathaboutdialog.cpp
File metadata and controls
30 lines (27 loc) · 788 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
#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);
}
AboutDialog::~AboutDialog()
{
delete ui;
}
void AboutDialog::setVersionText(QString text){
this->ui->version->setText(text);
}