|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QStyle.ContentsType>
com.trolltech.qt.gui.QStyle.ContentsType
public static enum QStyle.ContentsType
This enum describes the available contents types. These are used to calculate sizes for the contents of various widgets.
Enum Constant Summary | |
---|---|
CT_CheckBox
A check box, like QCheckBox. |
|
CT_ComboBox
A combo box, like QComboBox. |
|
CT_CustomBase
Base value for custom contents types. |
|
CT_DialogButtons
Internal. |
|
CT_GroupBox
A group box, like QGroupBox. |
|
CT_HeaderSection
A header section, like QHeader. |
|
CT_LineEdit
A line edit, like QLineEdit. |
|
CT_MdiControls
The minimize, normal, and close button in the menu bar for a maximized MDI subwindow. |
|
CT_Menu
A menu, like QMenu. |
|
CT_MenuBar
A menu bar, like QMenuBar. |
|
CT_MenuBarItem
A menu bar item, like the buttons in a QMenuBar. |
|
CT_MenuItem
A menu item, like QMenuItem. |
|
CT_ProgressBar
A progress bar, like QProgressBar. |
|
CT_PushButton
A push button, like QPushButton. |
|
CT_Q3DockWindow
A Q3DockWindow. |
|
CT_Q3Header
A Qt 3 header section, like Q3Header. |
|
CT_RadioButton
A radio button, like QRadioButton. |
|
CT_ScrollBar
A scroll bar, like QScrollBar. |
|
CT_SizeGrip
A size grip, like QSizeGrip. |
|
CT_Slider
A slider, like QSlider. |
|
CT_SpinBox
A spin box, like QSpinBox. |
|
CT_Splitter
A splitter, like QSplitter. |
|
CT_TabBarTab
A tab on a tab bar, like QTabBar. |
|
CT_TabWidget
A tab widget, like QTabWidget. |
|
CT_ToolButton
A tool button, like QToolButton. |
|
CustomEnum
|
Method Summary | |
---|---|
static QStyle.ContentsType |
resolve(int value)
|
int |
value()
|
static QStyle.ContentsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QStyle.ContentsType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QStyle.ContentsType CT_PushButton
A push button, like QPushButton.
public static final QStyle.ContentsType CT_CheckBox
A check box, like QCheckBox.
public static final QStyle.ContentsType CT_RadioButton
A radio button, like QRadioButton.
public static final QStyle.ContentsType CT_ToolButton
A tool button, like QToolButton.
public static final QStyle.ContentsType CT_ComboBox
A combo box, like QComboBox.
public static final QStyle.ContentsType CT_Splitter
A splitter, like QSplitter.
public static final QStyle.ContentsType CT_Q3DockWindow
A Q3DockWindow.
public static final QStyle.ContentsType CT_ProgressBar
A progress bar, like QProgressBar.
public static final QStyle.ContentsType CT_MenuItem
A menu item, like QMenuItem.
public static final QStyle.ContentsType CT_MenuBarItem
A menu bar item, like the buttons in a QMenuBar.
public static final QStyle.ContentsType CT_MenuBar
A menu bar, like QMenuBar.
public static final QStyle.ContentsType CT_Menu
A menu, like QMenu.
public static final QStyle.ContentsType CT_TabBarTab
A tab on a tab bar, like QTabBar.
public static final QStyle.ContentsType CT_Slider
A slider, like QSlider.
public static final QStyle.ContentsType CT_ScrollBar
A scroll bar, like QScrollBar.
public static final QStyle.ContentsType CT_Q3Header
A Qt 3 header section, like Q3Header.
public static final QStyle.ContentsType CT_LineEdit
A line edit, like QLineEdit.
public static final QStyle.ContentsType CT_SpinBox
A spin box, like QSpinBox.
public static final QStyle.ContentsType CT_SizeGrip
A size grip, like QSizeGrip.
public static final QStyle.ContentsType CT_TabWidget
A tab widget, like QTabWidget.
public static final QStyle.ContentsType CT_DialogButtons
public static final QStyle.ContentsType CT_HeaderSection
A header section, like QHeader.
public static final QStyle.ContentsType CT_GroupBox
A group box, like QGroupBox.
public static final QStyle.ContentsType CT_MdiControls
The minimize, normal, and close button in the menu bar for a maximized MDI subwindow.
public static final QStyle.ContentsType CT_CustomBase
Base value for custom contents types. Custom values must be greater than this value.
public static final QStyle.ContentsType CustomEnum
Method Detail |
---|
public static final QStyle.ContentsType[] values()
for(QStyle.ContentsType c : QStyle.ContentsType.values()) System.out.println(c);
public static QStyle.ContentsType 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 namepublic int value()
value
in interface QtEnumerator
public static QStyle.ContentsType resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |