This widget provides the "About dialog" of an application. More...
#include <Splashscreen.h>
Public Member Functions | |
AboutDialog (bool showLic, QWidget *parent=0) | |
Constructs an AboutDialog which is a child of 'parent', with the name 'name' and widget flags set to 'WStyle_Customize|WStyle_NoBorder|WType_Modal'. | |
~AboutDialog () | |
Destroys the object and frees any allocated resources. | |
Protected Slots | |
virtual void | on_licenseButton_clicked () |
Protected Member Functions | |
void | setupLabels () |
This widget provides the "About dialog" of an application.
This shows the current version, the build number and date.
Definition at line 75 of file Splashscreen.h.
AboutDialog::AboutDialog | ( | bool | showLic, | |
QWidget * | parent = 0 | |||
) |
Constructs an AboutDialog which is a child of 'parent', with the name 'name' and widget flags set to 'WStyle_Customize|WStyle_NoBorder|WType_Modal'.
The dialog will be modal.
Definition at line 198 of file Splashscreen.cpp.
References Gui::getMainWindow(), Gui::Dialog::Ui_AboutApplication::labelSplashPicture, Gui::Dialog::Ui_AboutApplication::licenseButton, setupLabels(), and Gui::Dialog::Ui_AboutApplication::setupUi().
AboutDialog::~AboutDialog | ( | ) |
Destroys the object and frees any allocated resources.
Definition at line 212 of file Splashscreen.cpp.
void AboutDialog::on_licenseButton_clicked | ( | ) | [protected, virtual, slot] |
Definition at line 288 of file Splashscreen.cpp.
void AboutDialog::setupLabels | ( | ) | [protected] |
Definition at line 249 of file Splashscreen.cpp.
References App::Application::Config(), getPlatform(), Gui::Dialog::Ui_AboutApplication::labelAuthor, Gui::Dialog::Ui_AboutApplication::labelBuildDate, Gui::Dialog::Ui_AboutApplication::labelBuildPlatform, Gui::Dialog::Ui_AboutApplication::labelBuildRevision, Gui::Dialog::Ui_AboutApplication::labelBuildVersion, and Gui::UrlLabel::setUrl().
Referenced by AboutDialog().