|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QStyleOptionButton.ButtonFeature>
com.trolltech.qt.gui.QStyleOptionButton.ButtonFeature
public static enum QStyleOptionButton.ButtonFeature
This enum describes the different types of features a push button can have.
Enum Constant Summary | |
---|---|
AutoDefaultButton
Indicates that the button is an auto default button. |
|
CommandLinkButton
Indicates that the button is a Windows Vista type command link. |
|
DefaultButton
Indicates that the button is a default button. |
|
Flat
Indicates a flat push button. |
|
HasMenu
Indicates that the button has a drop down menu. |
|
None
Indicates a normal push button. |
Method Summary | |
---|---|
static QStyleOptionButton.ButtonFeatures |
createQFlags(QStyleOptionButton.ButtonFeature... values)
|
static QStyleOptionButton.ButtonFeature |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QStyleOptionButton.ButtonFeature |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QStyleOptionButton.ButtonFeature[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final QStyleOptionButton.ButtonFeature None
Indicates a normal push button.
public static final QStyleOptionButton.ButtonFeature Flat
Indicates a flat push button.
public static final QStyleOptionButton.ButtonFeature HasMenu
Indicates that the button has a drop down menu.
public static final QStyleOptionButton.ButtonFeature DefaultButton
Indicates that the button is a default button.
public static final QStyleOptionButton.ButtonFeature AutoDefaultButton
Indicates that the button is an auto default button.
public static final QStyleOptionButton.ButtonFeature CommandLinkButton
Indicates that the button is a Windows Vista type command link.
Method Detail |
---|
public static QStyleOptionButton.ButtonFeature[] values()
for (QStyleOptionButton.ButtonFeature c : QStyleOptionButton.ButtonFeature.values()) System.out.println(c);
public static QStyleOptionButton.ButtonFeature valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QStyleOptionButton.ButtonFeatures createQFlags(QStyleOptionButton.ButtonFeature... values)
public static QStyleOptionButton.ButtonFeature resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |