class documentation

class QMessageBox2(QDialog2):

View In Hierarchy

QMessageBox2 class.
Method __init__ Initializes a message box.
Method accepting Sets the choice and accepts the dialog.
Method rejecting Gets called when the user hits the ESC key.
Instance Variable choice Undocumented

Inherited from QDialog2:

Method show Shows this dialog.
Method showEvent Gets called when the dialog is opened.
Instance Variable user_accepted Undocumented

Inherited from QLayouted (via QDialog2):

Method addButtons Adds buttons.
Method addLayout Adds layout.
Method addSpacing Adds spacing.
Method addWidget Adds widget.
Method install_layout Installs this layout in the parent.
Instance Variable _layout Undocumented
def __init__(self, title, text, icon, buttons, default_button):
Initializes a message box.
Parameters
title:strTitle
text:strText
iconIcon
buttonsButtons
default_buttonDefault button
def accepting(self, button_flag):
Sets the choice and accepts the dialog.
Parameters
button_flag:intUndocumented
def rejecting(self):
Gets called when the user hits the ESC key.
choice =

Undocumented