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