|
|||||||||
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.QIcon.Mode
public static final class QIcon.Mode
This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are:
Field Summary | |
---|---|
static QIcon.Mode |
Active
Display the pixmap when the functionality represented by the icon is available and the user is interacting with the icon, for example, moving the mouse over it or clicking it. |
static QIcon.Mode |
Disabled
Display the pixmap when the functionality represented by the icon is not available. |
static QIcon.Mode |
Normal
Display the pixmap when the user is not interacting with the icon, but the functionality represented by the icon is available. |
static QIcon.Mode |
Selected
Display the pixmap when the item represented by the icon is selected. |
Method Summary | |
---|---|
static QIcon.Mode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QIcon.Mode |
valueOf(java.lang.String name)
|
static QIcon.Mode[] |
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 QIcon.Mode Normal
public static final QIcon.Mode Disabled
public static final QIcon.Mode Active
public static final QIcon.Mode Selected
Method Detail |
---|
public static QIcon.Mode[] values()
public static QIcon.Mode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QIcon.Mode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |