|
|||||||||
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.QAction.MenuRole
public static final class QAction.MenuRole
This enum describes how an action should be moved into the application menu on Mac OS X.
Field Summary | |
---|---|
static QAction.MenuRole |
AboutQtRole
This action matches handles the "About Qt" menu item. |
static QAction.MenuRole |
AboutRole
This action should be placed where the "About" menu item is in the application menu. |
static QAction.MenuRole |
ApplicationSpecificRole
This action should be put in the application menu with an application specific role |
static QAction.MenuRole |
NoRole
This action should not be put into the application menu |
static QAction.MenuRole |
PreferencesRole
This action should be placed where the "Preferences. |
static QAction.MenuRole |
QuitRole
This action should be placed where the Quit menu item is in the application menu. |
static QAction.MenuRole |
TextHeuristicRole
This action should be put in the application menu based on the action's text as described in the QMenuBar documentation. |
Method Summary | |
---|---|
static QAction.MenuRole |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QAction.MenuRole |
valueOf(java.lang.String name)
|
static QAction.MenuRole[] |
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 QAction.MenuRole NoRole
public static final QAction.MenuRole TextHeuristicRole
QMenuBar
documentation.
public static final QAction.MenuRole ApplicationSpecificRole
public static final QAction.MenuRole AboutQtRole
public static final QAction.MenuRole AboutRole
public static final QAction.MenuRole PreferencesRole
public static final QAction.MenuRole QuitRole
Method Detail |
---|
public static QAction.MenuRole[] values()
public static QAction.MenuRole valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QAction.MenuRole resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |