|
UniversalIndentGUI 1.2.0
|
Displays a dialog window with information about UniversalIndentGUI. More...
#include <AboutDialog.h>

Public Slots | |
| int | exec () |
| Reimplements the dialog execution function to init the credits scroller. | |
| void | show () |
| Shows the about dialog and also starts the credits scroller. | |
Public Member Functions | |
| AboutDialog (QWidget *parent=NULL, Qt::WindowFlags flags=0) | |
| The constructor calls the setup function for the ui created by uic and adds the GPL text to the text edit. | |
Private Slots | |
| void | scroll () |
| This slot is called each _timer timeout to scroll the credits textbrowser. Also changes the scroll direction and speed when reaching the start or end. | |
Private Member Functions | |
| void | changeEvent (QEvent *event) |
| Catches language change events and retranslates all needed widgets. | |
Private Attributes | |
| Ui::AboutDialog * | _dialogForm |
| int | _scrollDirection |
| int | _scrollSpeed |
| QTimer * | _timer |
Displays a dialog window with information about UniversalIndentGUI.
Definition at line 30 of file AboutDialog.h.
| AboutDialog::AboutDialog | ( | QWidget * | parent = NULL, |
| Qt::WindowFlags | flags = 0 |
||
| ) |
The constructor calls the setup function for the ui created by uic and adds the GPL text to the text edit.
Definition at line 40 of file AboutDialog.cpp.
References _dialogForm, _scrollDirection, _scrollSpeed, _timer, UiGuiVersion::getBuildDate(), UiGuiVersion::getBuildRevision(), PROGRAM_VERSION_STRING, and scroll().

| void AboutDialog::changeEvent | ( | QEvent * | event | ) | [private] |
Catches language change events and retranslates all needed widgets.
Definition at line 105 of file AboutDialog.cpp.
References _dialogForm, UiGuiVersion::getBuildDate(), UiGuiVersion::getBuildRevision(), and PROGRAM_VERSION_STRING.

| int AboutDialog::exec | ( | ) | [slot] |
Reimplements the dialog execution function to init the credits scroller.
Definition at line 122 of file AboutDialog.cpp.
References _scrollSpeed, and _timer.
Referenced by AboutDialogGraphicsView::showAboutDialog().

| void AboutDialog::scroll | ( | ) | [private, slot] |
This slot is called each _timer timeout to scroll the credits textbrowser. Also changes the scroll direction and speed when reaching the start or end.
Definition at line 133 of file AboutDialog.cpp.
References _dialogForm, _scrollDirection, _scrollSpeed, and _timer.
Referenced by AboutDialog().

| void AboutDialog::show | ( | ) | [slot] |
Shows the about dialog and also starts the credits scroller.
Definition at line 159 of file AboutDialog.cpp.
References _scrollSpeed, and _timer.
Ui::AboutDialog* AboutDialog::_dialogForm [private] |
Definition at line 47 of file AboutDialog.h.
Referenced by AboutDialog(), changeEvent(), and scroll().
int AboutDialog::_scrollDirection [private] |
Definition at line 48 of file AboutDialog.h.
Referenced by AboutDialog(), and scroll().
int AboutDialog::_scrollSpeed [private] |
Definition at line 49 of file AboutDialog.h.
Referenced by AboutDialog(), exec(), scroll(), and show().
QTimer* AboutDialog::_timer [private] |
Definition at line 50 of file AboutDialog.h.
Referenced by AboutDialog(), exec(), scroll(), and show().
1.7.4