|
|||||||||
| 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.StandardButton
public static final class QMessageBox.StandardButton
These enums describe flags for standard buttons. Each button has a defined ButtonRole . The following values are obsolete:
ButtonRole , and standardButtons.
| Field Summary | |
|---|---|
static QMessageBox.StandardButton |
Abort
An "Abort" button defined with the RejectRole . |
static QMessageBox.StandardButton |
Apply
An "Apply" button defined with the ApplyRole . |
static QMessageBox.StandardButton |
ButtonMask
|
static QMessageBox.StandardButton |
Cancel
A "Cancel" button defined with the RejectRole . |
static QMessageBox.StandardButton |
Close
A "Close" button defined with the RejectRole . |
static QMessageBox.StandardButton |
Default
Use the defaultButton argument of information(), warning(), etc. |
static QMessageBox.StandardButton |
Discard
A "Discard" or "Don't Save" button, depending on the platform, defined with the DestructiveRole . |
static QMessageBox.StandardButton |
Escape
Call setEscapeButton() instead. |
static QMessageBox.StandardButton |
FlagMask
|
static QMessageBox.StandardButton |
Help
A "Help" button defined with the HelpRole . |
static QMessageBox.StandardButton |
Ignore
An "Ignore" button defined with the AcceptRole . |
static QMessageBox.StandardButton |
No
|
static QMessageBox.StandardButton |
NoButton
A "No" button defined with the NoRole . |
static QMessageBox.StandardButton |
NoToAll
A "No to All" button defined with the NoRole . |
static QMessageBox.StandardButton |
Ok
An "OK" button defined with the AcceptRole . |
static QMessageBox.StandardButton |
Open
A "Open" button defined with the AcceptRole . |
static QMessageBox.StandardButton |
Reset
A "Reset" button defined with the ResetRole . |
static QMessageBox.StandardButton |
RestoreDefaults
A "Restore Defaults" button defined with the ResetRole . |
static QMessageBox.StandardButton |
Retry
A "Retry" button defined with the AcceptRole . |
static QMessageBox.StandardButton |
Save
A "Save" button defined with the AcceptRole . |
static QMessageBox.StandardButton |
SaveAll
A "Save All" button defined with the AcceptRole . |
static QMessageBox.StandardButton |
Yes
A "Yes" button defined with the YesRole . |
static QMessageBox.StandardButton |
YesToAll
A "Yes to All" button defined with the YesRole . |
| Method Summary | |
|---|---|
static QMessageBox.StandardButtons |
createQFlags(QMessageBox.StandardButton[] values)
|
static QMessageBox.StandardButton |
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.StandardButton |
valueOf(java.lang.String name)
|
static QMessageBox.StandardButton[] |
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.StandardButton NoButton
NoRole .
public static final QMessageBox.StandardButton Ok
AcceptRole .
public static final QMessageBox.StandardButton Save
AcceptRole .
public static final QMessageBox.StandardButton SaveAll
AcceptRole .
public static final QMessageBox.StandardButton Open
AcceptRole .
public static final QMessageBox.StandardButton Yes
YesRole .
public static final QMessageBox.StandardButton YesToAll
YesRole .
public static final QMessageBox.StandardButton No
public static final QMessageBox.StandardButton NoToAll
NoRole .
public static final QMessageBox.StandardButton Abort
RejectRole .
public static final QMessageBox.StandardButton Retry
AcceptRole .
public static final QMessageBox.StandardButton Ignore
AcceptRole .
public static final QMessageBox.StandardButton Close
RejectRole .
public static final QMessageBox.StandardButton Cancel
RejectRole .
public static final QMessageBox.StandardButton Discard
DestructiveRole .
public static final QMessageBox.StandardButton Help
HelpRole .
public static final QMessageBox.StandardButton Apply
ApplyRole .
public static final QMessageBox.StandardButton Reset
ResetRole .
public static final QMessageBox.StandardButton RestoreDefaults
ResetRole .
public static final QMessageBox.StandardButton Default
information(), warning(), etc. instead, or call setDefaultButton().
public static final QMessageBox.StandardButton Escape
setEscapeButton() instead.
public static final QMessageBox.StandardButton FlagMask
public static final QMessageBox.StandardButton ButtonMask
| Method Detail |
|---|
public static QMessageBox.StandardButton[] values()
public static QMessageBox.StandardButton valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static QMessageBox.StandardButtons createQFlags(QMessageBox.StandardButton[] values)
public static QMessageBox.StandardButton resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||