-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathaboutform.cpp
More file actions
45 lines (38 loc) · 901 Bytes
/
aboutform.cpp
File metadata and controls
45 lines (38 loc) · 901 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
33
34
35
36
37
38
39
40
41
42
43
44
#include "aboutform.h"
#include <qvariant.h>
#include <qimage.h>
#include <qpixmap.h>
#include "sqlitedb.h"
/*
* Constructs a aboutForm as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
* true to construct a modal dialog.
*/
aboutForm::aboutForm(QWidget* parent, const char* name, bool modal, Qt::WindowFlags fl)
: QDialog(parent, name, modal, fl)
{
setupUi(this);
init();
}
/*
* Destroys the object and frees any allocated resources
*/
aboutForm::~aboutForm()
{
// no need to delete child widgets, Qt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void aboutForm::languageChange()
{
retranslateUi(this);
}
void aboutForm::init()
{
this->setCaption(applicationName);
//aboutBrowser->setText(aboutText);
}