![]() |
Kooky
|
Class to display a modal message dialog. More...
#include <cmessageanimatedialog.h>
Inheritance diagram for cMessageAnimateDialog:
Collaboration diagram for cMessageAnimateDialog:Public Member Functions | |
| cMessageAnimateDialog (QWidget *parent=0) | |
| constructor. More... | |
| ~cMessageAnimateDialog () | |
| destructor. More... | |
| void | setTitle (const QString &szTitle) |
| Sets the title of the dialog. More... | |
| void | setMessage (const QString &szMessage) |
| Sets the message of the dialog. More... | |
Protected Attributes | |
| QString | m_szMessage |
| QTimer * | m_lpTimer |
| int | m_iCount |
| int | m_iDirection |
Private Slots | |
| void | update () |
| This function is called twice a second to update the displayed message. More... | |
Private Attributes | |
| Ui::cMessageAnimateDialog * | ui |
Class to display a modal message dialog. Title and message can be configured. The dialog displays the message and adds up to 3 points zwice a second to the message.
|
explicit |
| parent |
References ui.
| void cMessageAnimateDialog::setMessage | ( | const QString & | szMessage | ) |
| szMessage | Message text |
References m_lpTimer, m_szMessage, ui, and update().
Referenced by cImportIngredientDialog::on_m_lpSearchButton_clicked(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| void cMessageAnimateDialog::setTitle | ( | const QString & | szTitle | ) |
| szTitle | Title text |
Referenced by cImportIngredientDialog::on_m_lpSearchButton_clicked(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the caller graph for this function:
|
privateslot |
References m_iCount, m_iDirection, m_szMessage, and ui.
Referenced by setMessage().
Here is the caller graph for this function:
|
protected |
Number of points currently being displayed
Referenced by update().
|
protected |
Increase / decrease number of points
Referenced by update().
|
protected |
Timer object
Referenced by setMessage(), and ~cMessageAnimateDialog().
|
protected |
Message to be displayed
Referenced by setMessage(), and update().
|
private |
User interface of the dialog.
Referenced by cMessageAnimateDialog(), setMessage(), update(), and ~cMessageAnimateDialog().