In file ../ui/kmsgbox.h:

class KMsgBox : public QDialog

KMsgBox

Inheritance:


public members:

KMsgBox (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int flags = INFORMATION, const char *b1text = 0, const char *b2text = 0, const char *b3text = 0, const char *b4text = 0)
Constructor
static int yesNo (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int type = 0, const char *yes = "Yes", const char *no = "No")
yesNo
static int yesNoCancel (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int type = 0, const char *yes = "Yes", const char *no = "No", const char *cancel = "Cancel")
yesNoCancel
static int message (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int type = 0, const char *btext = "Ok")
message

Documentation

A message box API for the KDE project. KMsgBox provides a Windows - lookalike message- or error box with icons and up to 4 configurable buttons.
KMsgBox (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int flags = INFORMATION, const char *b1text = 0, const char *b2text = 0, const char *b3text = 0, const char *b4text = 0)
The generic constructor for a KMsgBox Widget. All parameters have a default value of 0. @Doc:

static int yesNo (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int type = 0, const char *yes = "Yes", const char *no = "No")
A static member function. Can be used to create simple message boxes with a single function call. This box has 2 buttons which default to "Yes" and "No". The icon shows a question mark. The appearance can be manipulated with the type parameter.

static int yesNoCancel (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int type = 0, const char *yes = "Yes", const char *no = "No", const char *cancel = "Cancel")
A static member function for creating a three-way message box. The box has three buttons (defaulting to "Yes", "No" and "Cancel") and a question-mark icon. The type Parameter can be used to change the default behaviour.

static int message (QWidget *parent = 0, const char *caption = 0, const char * message = 0, int type = 0, const char *btext = "Ok")
A static member function. Creates a simple message box with only one button ("Ok") and a information-icon. The icon can be changed by using another value for the type parameter.


this class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling