XML Mill  1.0.0
A GUI based XML editor with a memory.
Public Member Functions | Private Slots | Private Attributes
GCMessageDialog Class Reference

Provides a user dialog prompt with the option to save the user's preference. More...

List of all members.

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

Detailed Description

Provides a user dialog prompt with the option to save the user's preference.

Definition at line 38 of file gcmessagespace.cpp.


Constructor & Destructor Documentation

GCMessageDialog::GCMessageDialog ( bool *  remember,
const QString &  heading,
const QString &  text,
GCMessageSpace::ButtonCombo  buttons,
GCMessageSpace::Buttons  defaultButton,
GCMessageSpace::Icon  icon = GCMessageSpace::NoIcon 
) [inline, explicit]

Constructor.

Parameters:
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.

Destructor.

Definition at line 118 of file gcmessagespace.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following file: