![]() |
XML Mill
1.0.0
A GUI based XML editor with a memory.
|
Provides a user dialog prompt with the option to save the user's preference. More...
Public Member Functions | |
| GCMessageDialog (bool *remember, const QString &heading, const QString &text, GCMessageSpace::ButtonCombo buttons, GCMessageSpace::Buttons defaultButton, GCMessageSpace::Icon icon=GCMessageSpace::NoIcon) | |
| Constructor. | |
| ~GCMessageDialog () | |
| Destructor. | |
Private Slots | |
| void | setRememberUserChoice (bool remember) |
| Triggered when the user checks or unchecks the "Don't ask me again" box. | |
Private Attributes | |
| Ui::GCMessageDialog * | ui |
| bool * | m_remember |
Provides a user dialog prompt with the option to save the user's preference.
Definition at line 38 of file gcmessagespace.cpp.
| GCMessageDialog::GCMessageDialog | ( | bool * | remember, |
| const QString & | heading, | ||
| const QString & | text, | ||
| GCMessageSpace::ButtonCombo | buttons, | ||
| GCMessageSpace::Buttons | defaultButton, | ||
| GCMessageSpace::Icon | icon = GCMessageSpace::NoIcon |
||
| ) | [inline, explicit] |
Constructor.
| remember | - this flag should be passed in from the calling object and will be set when the user checks the relevant box |
| heading | - the message box header |
| text | - the actual message text |
| buttons | - the buttons that should be displayed for this particular message |
| defaultButton | - the button that should be highlighted as the default |
| icon | - the icon associated with this particular message. |
Definition at line 51 of file gcmessagespace.cpp.
| GCMessageDialog::~GCMessageDialog | ( | ) | [inline] |
Destructor.
Definition at line 118 of file gcmessagespace.cpp.
| void GCMessageDialog::setRememberUserChoice | ( | bool | remember | ) | [inline, private, slot] |
Triggered when the user checks or unchecks the "Don't ask me again" box.
Definition at line 126 of file gcmessagespace.cpp.
1.7.6.1