|
|||||||||
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.QToolButton.ToolButtonPopupMode
public static final class QToolButton.ToolButtonPopupMode
Describes how a menu should be popped up for tool buttons that has a menu set or contains a list of actions.
Field Summary | |
---|---|
static QToolButton.ToolButtonPopupMode |
DelayedPopup
After pressing and holding the tool button down for a certain amount of time (the timeout is style dependant, see QStyle::SH_ToolButton_PopupDelay ), the menu is displayed. |
static QToolButton.ToolButtonPopupMode |
InstantPopup
The menu is displayed, without delay, when the tool button is pressed. |
static QToolButton.ToolButtonPopupMode |
MenuButtonPopup
In this mode the tool button displays a special arrow to indicate that a menu is present. |
Method Summary | |
---|---|
static QToolButton.ToolButtonPopupMode |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QToolButton.ToolButtonPopupMode |
valueOf(java.lang.String name)
|
static QToolButton.ToolButtonPopupMode[] |
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 QToolButton.ToolButtonPopupMode DelayedPopup
QStyle::SH_ToolButton_PopupDelay
), the menu is displayed. A typical application example is the "back" button in some web browsers's tool bars. If the user clicks it, the browser simply browses back to the previous page. If the user presses and holds the button down for a while, the tool button shows a menu containing the current history list
public static final QToolButton.ToolButtonPopupMode MenuButtonPopup
public static final QToolButton.ToolButtonPopupMode InstantPopup
Method Detail |
---|
public static QToolButton.ToolButtonPopupMode[] values()
public static QToolButton.ToolButtonPopupMode valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QToolButton.ToolButtonPopupMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |