UniversalIndentGUI 1.2.0
Public Member Functions | Private Attributes
UiGuiErrorMessage Class Reference

UiGuiErrorMessage is a child of QErrorMessage. But QErrorMessages "Do not show again" didn't work with my strings, so this is my own, working implementation of it. More...

#include <UiGuiErrorMessage.h>

Inheritance diagram for UiGuiErrorMessage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void showMessage (const QString &message)
 For convinience, for showing a dialog box with the default title "UniversalIndentGUI".
void showMessage (const QString &title, const QString &message)
 Shows an error message in a dialog box with title.
 UiGuiErrorMessage (QWidget *parent=0)
 Initializes the dialog.
 ~UiGuiErrorMessage (void)
 Just a lazy nothin doin destructive destructor.

Private Attributes

QStringList _errorMessageList
QCheckBox * _showAgainCheckBox

Detailed Description

UiGuiErrorMessage is a child of QErrorMessage. But QErrorMessages "Do not show again" didn't work with my strings, so this is my own, working implementation of it.

Definition at line 28 of file UiGuiErrorMessage.h.


Constructor & Destructor Documentation

UiGuiErrorMessage::UiGuiErrorMessage ( QWidget parent = 0)

Initializes the dialog.

Retrieves the object pointer to the _showAgainCheckBox check box, sets the dialogs modality and for a working translation sets the check box text.

Definition at line 39 of file UiGuiErrorMessage.cpp.

References _showAgainCheckBox.

UiGuiErrorMessage::~UiGuiErrorMessage ( void  )

Just a lazy nothin doin destructive destructor.

Definition at line 49 of file UiGuiErrorMessage.cpp.


Member Function Documentation

void UiGuiErrorMessage::showMessage ( const QString &  message)

For convinience, for showing a dialog box with the default title "UniversalIndentGUI".

Definition at line 85 of file UiGuiErrorMessage.cpp.

Referenced by IndentHandler::callExecutableIndenter(), IndentHandler::IndentHandler(), and showMessage().

Here is the caller graph for this function:

void UiGuiErrorMessage::showMessage ( const QString &  title,
const QString &  message 
)

Shows an error message in a dialog box with title.

The shown message is added to a list, if not already in there. If it is already in that list and "Show this message again" is not checked, that message will not be shown.

Definition at line 60 of file UiGuiErrorMessage.cpp.

References _errorMessageList, _showAgainCheckBox, and showMessage().

Here is the call graph for this function:


Member Data Documentation

QStringList UiGuiErrorMessage::_errorMessageList [private]

Definition at line 40 of file UiGuiErrorMessage.h.

Referenced by showMessage().

Definition at line 39 of file UiGuiErrorMessage.h.

Referenced by showMessage(), and UiGuiErrorMessage().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines