|
|||||||||
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.QStyle.PixelMetric
public static final class QStyle.PixelMetric
This enum describes the various available pixel metrics. A pixel metric is a style dependent size represented by a single pixel value. The following values are obsolete:
pixelMetric()
.
Field Summary | |
---|---|
static QStyle.PixelMetric |
CustomEnum
|
static QStyle.PixelMetric |
PM_ButtonDefaultIndicator
Width of the default-button indicator frame. |
static QStyle.PixelMetric |
PM_ButtonIconSize
The default size of button icons |
static QStyle.PixelMetric |
PM_ButtonMargin
Amount of whitespace between push button labels and the frame. |
static QStyle.PixelMetric |
PM_ButtonShiftHorizontal
Horizontal contents shift of a button when the button is down. |
static QStyle.PixelMetric |
PM_ButtonShiftVertical
Vertical contents shift of a button when the button is down. |
static QStyle.PixelMetric |
PM_CheckBoxLabelSpacing
The spacing between a check box indicator and its label. |
static QStyle.PixelMetric |
PM_CheckListButtonSize
Area (width/height) of the checkbox/radio button in a Q3CheckListItem. |
static QStyle.PixelMetric |
PM_CheckListControllerSize
Area (width/height) of the controller in a Q3CheckListItem. |
static QStyle.PixelMetric |
PM_ComboBoxFrameWidth
Frame width of a combo box, defaults to PM_DefaultFrameWidth . |
static QStyle.PixelMetric |
PM_CustomBase
Base value for custom pixel metrics. |
static QStyle.PixelMetric |
PM_DefaultChildMargin
Use PM_LayoutLeftMargin , PM_LayoutTopMargin , PM_LayoutRightMargin , and PM_LayoutBottomMargin instead. |
static QStyle.PixelMetric |
PM_DefaultFrameWidth
Default frame width (usually 2). |
static QStyle.PixelMetric |
PM_DefaultLayoutSpacing
Use PM_LayoutHorizontalSpacing and PM_LayoutVerticalSpacing instead. |
static QStyle.PixelMetric |
PM_DefaultTopLevelMargin
Use PM_LayoutLeftMargin , PM_LayoutTopMargin , PM_LayoutRightMargin , and PM_LayoutBottomMargin instead. |
static QStyle.PixelMetric |
PM_DialogButtonsButtonHeight
Minimum height of a button in a dialog buttons widget. |
static QStyle.PixelMetric |
PM_DialogButtonsButtonWidth
Minimum width of a button in a dialog buttons widget. |
static QStyle.PixelMetric |
PM_DialogButtonsSeparator
Distance between buttons in a dialog buttons widget. |
static QStyle.PixelMetric |
PM_DockWidgetFrameWidth
Frame width of a dock window. |
static QStyle.PixelMetric |
PM_DockWidgetHandleExtent
Width of the handle in a horizontal dock window and the height of the handle in a vertical dock window. |
static QStyle.PixelMetric |
PM_DockWidgetSeparatorExtent
Width of a separator in a horizontal dock window and the height of a separator in a vertical dock window. |
static QStyle.PixelMetric |
PM_DockWidgetTitleBarButtonMargin
Amount of whitespace between dock widget's title bar button labels and the frame. |
static QStyle.PixelMetric |
PM_DockWidgetTitleMargin
Margin of the dock window title. |
static QStyle.PixelMetric |
PM_ExclusiveIndicatorHeight
Height of a radio button indicator. |
static QStyle.PixelMetric |
PM_ExclusiveIndicatorWidth
Width of a radio button indicator. |
static QStyle.PixelMetric |
PM_FocusFrameHMargin
Horizontal margin that the focus frame will outset the widget by. |
static QStyle.PixelMetric |
PM_FocusFrameVMargin
Vertical margin that the focus frame will outset the widget by. |
static QStyle.PixelMetric |
PM_HeaderGripMargin
The size of the resize grip in a header. |
static QStyle.PixelMetric |
PM_HeaderMargin
The size of the margin between the sort indicator and the text. |
static QStyle.PixelMetric |
PM_HeaderMarkSize
The size of the sort indicator in a header. |
static QStyle.PixelMetric |
PM_IconViewIconSize
The default size for icons in an icon view. |
static QStyle.PixelMetric |
PM_IndicatorHeight
Height of a checkbox indicator. |
static QStyle.PixelMetric |
PM_IndicatorWidth
Width of a check box indicator. |
static QStyle.PixelMetric |
PM_LargeIconSize
Default large icon size |
static QStyle.PixelMetric |
PM_LayoutBottomMargin
Default bottom margin for a QLayout . |
static QStyle.PixelMetric |
PM_LayoutHorizontalSpacing
Default horizontal spacing for a QLayout . |
static QStyle.PixelMetric |
PM_LayoutLeftMargin
Default left margin for a QLayout . |
static QStyle.PixelMetric |
PM_LayoutRightMargin
Default right margin for a QLayout . |
static QStyle.PixelMetric |
PM_LayoutTopMargin
Default top margin for a QLayout . |
static QStyle.PixelMetric |
PM_LayoutVerticalSpacing
Default vertical spacing for a QLayout . |
static QStyle.PixelMetric |
PM_ListViewIconSize
The default size for icons in a list view. |
static QStyle.PixelMetric |
PM_MaximumDragDistance
The maximum allowed distance between the mouse and a slider when dragging. |
static QStyle.PixelMetric |
PM_MdiSubWindowFrameWidth
Frame width of an MDI window. |
static QStyle.PixelMetric |
PM_MdiSubWindowMinimizedWidth
Width of a minimized MDI window. |
static QStyle.PixelMetric |
PM_MenuBarHMargin
Spacing between menu bar items and left/right of bar. |
static QStyle.PixelMetric |
PM_MenuBarItemSpacing
Spacing between menu bar items. |
static QStyle.PixelMetric |
PM_MenuBarPanelWidth
Frame width of a menu bar, defaults to PM_DefaultFrameWidth . |
static QStyle.PixelMetric |
PM_MenuBarVMargin
Spacing between menu bar items and top/bottom of bar. |
static QStyle.PixelMetric |
PM_MenuButtonIndicator
Width of the menu button indicator proportional to the widget height. |
static QStyle.PixelMetric |
PM_MenuDesktopFrameWidth
The frame width for the menu on the desktop. |
static QStyle.PixelMetric |
PM_MenuHMargin
Additional border (used on left and right) for a QMenu . |
static QStyle.PixelMetric |
PM_MenuPanelWidth
Border width (applied on all sides) for a QMenu . |
static QStyle.PixelMetric |
PM_MenuScrollerHeight
Height of the scroller area in a QMenu . |
static QStyle.PixelMetric |
PM_MenuTearoffHeight
Height of a tear off area in a QMenu . |
static QStyle.PixelMetric |
PM_MenuVMargin
Additional border (used for bottom and top) for a QMenu . |
static QStyle.PixelMetric |
PM_MessageBoxIconSize
The size of the standard icons in a message box |
static QStyle.PixelMetric |
PM_ProgressBarChunkWidth
Width of a chunk in a progress bar indicator. |
static QStyle.PixelMetric |
PM_RadioButtonLabelSpacing
The spacing between a radio button indicator and its label. |
static QStyle.PixelMetric |
PM_ScrollBarExtent
Width of a vertical scroll bar and the height of a horizontal scroll bar. |
static QStyle.PixelMetric |
PM_ScrollBarSliderMin
The minimum height of a vertical scroll bar's slider and the minimum width of a horizontal scroll bar's slider. |
static QStyle.PixelMetric |
PM_SizeGripSize
The size of a size grip. |
static QStyle.PixelMetric |
PM_SliderControlThickness
Thickness of the slider handle. |
static QStyle.PixelMetric |
PM_SliderLength
Length of the slider. |
static QStyle.PixelMetric |
PM_SliderSpaceAvailable
The available space for the slider to move. |
static QStyle.PixelMetric |
PM_SliderThickness
Total slider thickness. |
static QStyle.PixelMetric |
PM_SliderTickmarkOffset
The offset between the tickmarks and the slider. |
static QStyle.PixelMetric |
PM_SmallIconSize
Default small icon size |
static QStyle.PixelMetric |
PM_SpinBoxFrameWidth
Frame width of a spin box, defaults to PM_DefaultFrameWidth . |
static QStyle.PixelMetric |
PM_SpinBoxSliderHeight
The height of the optional spin box slider. |
static QStyle.PixelMetric |
PM_SplitterWidth
Width of a splitter. |
static QStyle.PixelMetric |
PM_TabBar_ScrollButtonOverlap
The distance between the left and right buttons in a tab bar. |
static QStyle.PixelMetric |
PM_TabBarBaseHeight
Height of the area between the tab bar and the tab pages. |
static QStyle.PixelMetric |
PM_TabBarBaseOverlap
Number of pixels the tab bar overlaps the tab bar base. |
static QStyle.PixelMetric |
PM_TabBarIconSize
The default icon size for a tab bar. |
static QStyle.PixelMetric |
PM_TabBarScrollButtonWidth
|
static QStyle.PixelMetric |
PM_TabBarTabHSpace
Extra space added to the tab width. |
static QStyle.PixelMetric |
PM_TabBarTabOverlap
Number of pixels the tabs should overlap. |
static QStyle.PixelMetric |
PM_TabBarTabShiftHorizontal
Horizontal pixel shift when a tab is selected. |
static QStyle.PixelMetric |
PM_TabBarTabShiftVertical
Vertical pixel shift when a tab is selected. |
static QStyle.PixelMetric |
PM_TabBarTabVSpace
Extra space added to the tab height. |
static QStyle.PixelMetric |
PM_TextCursorWidth
The width of the cursor in a line edit or text edit |
static QStyle.PixelMetric |
PM_TitleBarHeight
Height of the title bar. |
static QStyle.PixelMetric |
PM_ToolBarExtensionExtent
Width of a toolbar extension button in a horizontal toolbar and the height of the button in a vertical toolbar. |
static QStyle.PixelMetric |
PM_ToolBarFrameWidth
Width of the frame around toolbars. |
static QStyle.PixelMetric |
PM_ToolBarHandleExtent
Width of a toolbar handle in a horizontal toolbar and the height of the handle in a vertical toolbar. |
static QStyle.PixelMetric |
PM_ToolBarIconSize
Default tool bar icon size |
static QStyle.PixelMetric |
PM_ToolBarItemMargin
Spacing between the toolbar frame and the items. |
static QStyle.PixelMetric |
PM_ToolBarItemSpacing
Spacing between toolbar items. |
static QStyle.PixelMetric |
PM_ToolBarSeparatorExtent
Width of a toolbar separator in a horizontal toolbar and the height of a separator in a vertical toolbar. |
static QStyle.PixelMetric |
PM_ToolTipLabelFrameWidth
The frame width for a tool tip label. |
Method Summary | |
---|---|
static QStyle.PixelMetric |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QStyle.PixelMetric |
valueOf(java.lang.String name)
|
static QStyle.PixelMetric[] |
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 QStyle.PixelMetric PM_ButtonMargin
public static final QStyle.PixelMetric PM_ButtonDefaultIndicator
public static final QStyle.PixelMetric PM_MenuButtonIndicator
public static final QStyle.PixelMetric PM_ButtonShiftHorizontal
public static final QStyle.PixelMetric PM_ButtonShiftVertical
public static final QStyle.PixelMetric PM_DefaultFrameWidth
public static final QStyle.PixelMetric PM_SpinBoxFrameWidth
PM_DefaultFrameWidth
.
public static final QStyle.PixelMetric PM_ComboBoxFrameWidth
PM_DefaultFrameWidth
.
public static final QStyle.PixelMetric PM_MaximumDragDistance
public static final QStyle.PixelMetric PM_ScrollBarExtent
public static final QStyle.PixelMetric PM_ScrollBarSliderMin
public static final QStyle.PixelMetric PM_SliderThickness
public static final QStyle.PixelMetric PM_SliderControlThickness
public static final QStyle.PixelMetric PM_SliderLength
public static final QStyle.PixelMetric PM_SliderTickmarkOffset
public static final QStyle.PixelMetric PM_SliderSpaceAvailable
public static final QStyle.PixelMetric PM_DockWidgetSeparatorExtent
public static final QStyle.PixelMetric PM_DockWidgetHandleExtent
public static final QStyle.PixelMetric PM_DockWidgetFrameWidth
public static final QStyle.PixelMetric PM_TabBarTabOverlap
QTabBar
)
public static final QStyle.PixelMetric PM_TabBarTabHSpace
public static final QStyle.PixelMetric PM_TabBarTabVSpace
public static final QStyle.PixelMetric PM_TabBarBaseHeight
public static final QStyle.PixelMetric PM_TabBarBaseOverlap
public static final QStyle.PixelMetric PM_ProgressBarChunkWidth
public static final QStyle.PixelMetric PM_SplitterWidth
public static final QStyle.PixelMetric PM_TitleBarHeight
public static final QStyle.PixelMetric PM_MenuScrollerHeight
QMenu
.
public static final QStyle.PixelMetric PM_MenuHMargin
QMenu
.
public static final QStyle.PixelMetric PM_MenuVMargin
QMenu
.
public static final QStyle.PixelMetric PM_MenuPanelWidth
QMenu
.
public static final QStyle.PixelMetric PM_MenuTearoffHeight
QMenu
.
public static final QStyle.PixelMetric PM_MenuDesktopFrameWidth
public static final QStyle.PixelMetric PM_MenuBarPanelWidth
PM_DefaultFrameWidth
.
public static final QStyle.PixelMetric PM_MenuBarItemSpacing
public static final QStyle.PixelMetric PM_MenuBarVMargin
public static final QStyle.PixelMetric PM_MenuBarHMargin
public static final QStyle.PixelMetric PM_IndicatorWidth
public static final QStyle.PixelMetric PM_IndicatorHeight
public static final QStyle.PixelMetric PM_ExclusiveIndicatorWidth
public static final QStyle.PixelMetric PM_ExclusiveIndicatorHeight
public static final QStyle.PixelMetric PM_CheckListButtonSize
public static final QStyle.PixelMetric PM_CheckListControllerSize
public static final QStyle.PixelMetric PM_DialogButtonsSeparator
public static final QStyle.PixelMetric PM_DialogButtonsButtonWidth
public static final QStyle.PixelMetric PM_DialogButtonsButtonHeight
public static final QStyle.PixelMetric PM_MdiSubWindowFrameWidth
public static final QStyle.PixelMetric PM_MdiSubWindowMinimizedWidth
public static final QStyle.PixelMetric PM_HeaderMargin
public static final QStyle.PixelMetric PM_HeaderMarkSize
public static final QStyle.PixelMetric PM_HeaderGripMargin
public static final QStyle.PixelMetric PM_TabBarTabShiftHorizontal
public static final QStyle.PixelMetric PM_TabBarTabShiftVertical
public static final QStyle.PixelMetric PM_TabBarScrollButtonWidth
public static final QStyle.PixelMetric PM_ToolBarFrameWidth
public static final QStyle.PixelMetric PM_ToolBarHandleExtent
public static final QStyle.PixelMetric PM_ToolBarItemSpacing
public static final QStyle.PixelMetric PM_ToolBarItemMargin
public static final QStyle.PixelMetric PM_ToolBarSeparatorExtent
public static final QStyle.PixelMetric PM_ToolBarExtensionExtent
public static final QStyle.PixelMetric PM_SpinBoxSliderHeight
public static final QStyle.PixelMetric PM_DefaultTopLevelMargin
PM_LayoutLeftMargin
, PM_LayoutTopMargin
, PM_LayoutRightMargin
, and PM_LayoutBottomMargin
instead.
public static final QStyle.PixelMetric PM_DefaultChildMargin
PM_LayoutLeftMargin
, PM_LayoutTopMargin
, PM_LayoutRightMargin
, and PM_LayoutBottomMargin
instead.
public static final QStyle.PixelMetric PM_DefaultLayoutSpacing
PM_LayoutHorizontalSpacing
and PM_LayoutVerticalSpacing
instead.
public static final QStyle.PixelMetric PM_ToolBarIconSize
public static final QStyle.PixelMetric PM_ListViewIconSize
public static final QStyle.PixelMetric PM_IconViewIconSize
public static final QStyle.PixelMetric PM_SmallIconSize
public static final QStyle.PixelMetric PM_LargeIconSize
public static final QStyle.PixelMetric PM_FocusFrameVMargin
public static final QStyle.PixelMetric PM_FocusFrameHMargin
public static final QStyle.PixelMetric PM_ToolTipLabelFrameWidth
public static final QStyle.PixelMetric PM_CheckBoxLabelSpacing
public static final QStyle.PixelMetric PM_TabBarIconSize
public static final QStyle.PixelMetric PM_SizeGripSize
public static final QStyle.PixelMetric PM_DockWidgetTitleMargin
public static final QStyle.PixelMetric PM_MessageBoxIconSize
public static final QStyle.PixelMetric PM_ButtonIconSize
public static final QStyle.PixelMetric PM_DockWidgetTitleBarButtonMargin
public static final QStyle.PixelMetric PM_RadioButtonLabelSpacing
public static final QStyle.PixelMetric PM_LayoutLeftMargin
left margin
for a QLayout
.
public static final QStyle.PixelMetric PM_LayoutTopMargin
top margin
for a QLayout
.
public static final QStyle.PixelMetric PM_LayoutRightMargin
right margin
for a QLayout
.
public static final QStyle.PixelMetric PM_LayoutBottomMargin
bottom margin
for a QLayout
.
public static final QStyle.PixelMetric PM_LayoutHorizontalSpacing
QLayout
.
public static final QStyle.PixelMetric PM_LayoutVerticalSpacing
QLayout
.
public static final QStyle.PixelMetric PM_TabBar_ScrollButtonOverlap
public static final QStyle.PixelMetric PM_TextCursorWidth
public static final QStyle.PixelMetric PM_CustomBase
public static final QStyle.PixelMetric CustomEnum
Method Detail |
---|
public static QStyle.PixelMetric[] values()
public static QStyle.PixelMetric valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QStyle.PixelMetric resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |