|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QMessageBox.ButtonRole
public static final class QMessageBox.ButtonRole
This enum describes the roles that can be used to describe buttons in the button box. Combinations of these roles are as flags used to describe different aspects of their behavior.
StandardButton
.
Field Summary | |
---|---|
static QMessageBox.ButtonRole |
AcceptRole
Clicking the button causes the dialog to be accepted (e.g. |
static QMessageBox.ButtonRole |
ActionRole
Clicking the button causes changes to the elements within the dialog. |
static QMessageBox.ButtonRole |
ApplyRole
The button applies current changes. |
static QMessageBox.ButtonRole |
DestructiveRole
Clicking the button causes a destructive change (e.g. |
static QMessageBox.ButtonRole |
HelpRole
The button can be clicked to request help. |
static QMessageBox.ButtonRole |
InvalidRole
The button is invalid. |
static QMessageBox.ButtonRole |
NoRole
The button is a "No"-like button. |
static QMessageBox.ButtonRole |
NRoles
|
static QMessageBox.ButtonRole |
RejectRole
Clicking the button causes the dialog to be rejected (e.g. |
static QMessageBox.ButtonRole |
ResetRole
The button resets the dialog's fields to default values. |
static QMessageBox.ButtonRole |
YesRole
The button is a "Yes"-like button. |
Method Summary | |
---|---|
static QMessageBox.ButtonRole |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QMessageBox.ButtonRole |
valueOf(java.lang.String name)
|
static QMessageBox.ButtonRole[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QMessageBox.ButtonRole InvalidRole
public static final QMessageBox.ButtonRole AcceptRole
public static final QMessageBox.ButtonRole RejectRole
public static final QMessageBox.ButtonRole DestructiveRole
public static final QMessageBox.ButtonRole ActionRole
public static final QMessageBox.ButtonRole HelpRole
public static final QMessageBox.ButtonRole YesRole
public static final QMessageBox.ButtonRole NoRole
public static final QMessageBox.ButtonRole ResetRole
public static final QMessageBox.ButtonRole ApplyRole
public static final QMessageBox.ButtonRole NRoles
Method Detail |
---|
public static QMessageBox.ButtonRole[] values()
public static QMessageBox.ButtonRole valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QMessageBox.ButtonRole resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |