⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qstyle.3qt

📁 Linux下的基于X11的图形开发环境。
💻 3QT
📖 第 1 页 / 共 4 页
字号:
See also drawControl()..SH "QStyle::PixelMetric"This enum represents a PixelMetric. A PixelMetric is a style dependent size represented as a single pixel value..TP\fCQStyle::PM_ButtonMargin\fR - amount of whitespace between pushbutton labels and the frame..TP\fCQStyle::PM_ButtonDefaultIndicator\fR - width of the default-button indicator frame..TP\fCQStyle::PM_MenuButtonIndicator\fR - width of the menu button indicator proportional to the widget height..TP\fCQStyle::PM_ButtonShiftHorizontal\fR - horizontal contents shift of a button when the button is down..TP\fCQStyle::PM_ButtonShiftVertical\fR - vertical contents shift of a button when the button is down..TP\fCQStyle::PM_DefaultFrameWidth\fR - default frame width, usually 2..TP\fCQStyle::PM_SpinBoxFrameWidth\fR - frame width of a spin box..TP\fCQStyle::PM_MaximumDragDistance\fR - Some feels require the scrollbar or other sliders to jump back to the original position when the mouse pointer is too far away while dragging. A value of -1 disables this behavior..TP\fCQStyle::PM_ScrollBarExtent\fR - width of a vertical scrollbar and the height of a horizontal scrollbar..TP\fCQStyle::PM_ScrollBarSliderMin\fR - the minimum height of a vertical scrollbar's slider and the minimum width of a horiztonal scrollbar slider..TP\fCQStyle::PM_SliderThickness\fR - total slider thickness..TP\fCQStyle::PM_SliderControlThickness\fR - thickness of the slider handle..TP\fCQStyle::PM_SliderLength\fR - length of the slider..TP\fCQStyle::PM_SliderTickmarkOffset\fR - the offset between the tickmarks and the slider..TP\fCQStyle::PM_SliderSpaceAvailable\fR - the available space for the slider to move..TP\fCQStyle::PM_DockWindowSeparatorExtent\fR - width of a separator in a horiztonal dock window and the height of a separator in a vertical dock window..TP\fCQStyle::PM_DockWindowHandleExtent\fR - width of the handle in a horizontal dock window and the height of the handle in a vertical dock window..TP\fCQStyle::PM_DockWindowFrameWidth\fR - frame width of a dock window..TP\fCQStyle::PM_MenuBarFrameWidth\fR - frame width of a menubar..TP\fCQStyle::PM_TabBarTabOverlap\fR - number of pixels the tabs should overlap..TP\fCQStyle::PM_TabBarTabHSpace\fR - extra space added to the tab width..TP\fCQStyle::PM_TabBarTabVSpace\fR - extra space added to the tab height..TP\fCQStyle::PM_TabBarBaseHeight\fR - height of the area between the tab bar and the tab pages..TP\fCQStyle::PM_TabBarBaseOverlap\fR - number of pixels the tab bar overlaps the tab bar base..TP\fCQStyle::PM_ProgressBarChunkWidth\fR - width of a chunk in a progress bar indicator..TP\fCQStyle::PM_SplitterWidth\fR - width of a splitter..TP\fCQStyle::PM_TitleBarHeight\fR - height of the title bar..TP\fCQStyle::PM_IndicatorWidth\fR - width of a check box indicator..TP\fCQStyle::PM_IndicatorHeight\fR - height of a checkbox indicator..TP\fCQStyle::PM_ExclusiveIndicatorWidth\fR - width of a radio button indicator..TP\fCQStyle::PM_ExclusiveIndicatorHeight\fR - height of a radio button indicator..TP\fCQStyle::PM_PopupMenuScrollerHeight\fR - height of the scroller area in a popupmenu..TP\fCQStyle::PM_PopupMenuScrollerHeight\fR - height of the scroller area in a popupmenu..TP\fCQStyle::PM_CheckListButtonSize\fR - area (width/height) of the checkbox/radiobutton in a QCheckListItem.TP\fCQStyle::PM_CustomBase\fR - base value for custom ControlElements. All values above this are reserved for custom use. Therefore, custom values must be greater than this value..PPSee also pixelMetric()..SH "QStyle::PrimitiveElement"This enum represents the PrimitiveElements of a style. A PrimitiveElement is a common GUI element, such as a checkbox indicator or pushbutton bevel..TP\fCQStyle::PE_ButtonCommand\fR - button used to initiate an action, for example, a QPushButton..TP\fCQStyle::PE_ButtonDefault\fR - this button is the default button, e.g. in a dialog..TP\fCQStyle::PE_ButtonBevel\fR - generic button bevel..TP\fCQStyle::PE_ButtonTool\fR - tool button, for example, a QToolButton..TP\fCQStyle::PE_ButtonDropDown\fR - drop down button, for example, a tool button that displays a popup menu, for example, QPopupMenu..TP\fCQStyle::PE_FocusRect\fR - generic focus indicator..TP\fCQStyle::PE_ArrowUp\fR - up arrow..TP\fCQStyle::PE_ArrowDown\fR - down arrow..TP\fCQStyle::PE_ArrowRight\fR - right arrow..TP\fCQStyle::PE_ArrowLeft\fR - left arrow..TP\fCQStyle::PE_SpinWidgetUp\fR - up symbol for a spin widget, for example a QSpinBox..TP\fCQStyle::PE_SpinWidgetDown\fR - down symbol for a spin widget..TP\fCQStyle::PE_SpinWidgetPlus\fR - increase symbol for a spin widget..TP\fCQStyle::PE_SpinWidgetMinus\fR - decrease symbol for a spin widget..TP\fCQStyle::PE_Indicator\fR - on/off indicator, for example, a QCheckBox..TP\fCQStyle::PE_IndicatorMask\fR - bitmap mask for an indicator..TP\fCQStyle::PE_ExclusiveIndicator\fR - exclusive on/off indicator, for example, a QRadioButton..TP\fCQStyle::PE_ExclusiveIndicatorMask\fR - bitmap mask for an exclusive indicator..TP\fCQStyle::PE_DockWindowHandle\fR - tear off handle for dock windows and toolbars, for example QDockWindows and QToolBars..TP\fCQStyle::PE_DockWindowSeparator\fR - item separator for dock window and toolbar contents..TP\fCQStyle::PE_DockWindowResizeHandle\fR - resize handle for dock windows..TP\fCQStyle::PE_Splitter\fR - splitter handle; see also QSplitter..TP\fCQStyle::PE_Panel\fR - generic panel frame; see also QFrame..TP\fCQStyle::PE_PanelPopup\fR - panel frame for popup windows/menus; see also QPopupMenu..TP\fCQStyle::PE_PanelMenuBar\fR - panel frame for menu bars..TP\fCQStyle::PE_PanelDockWindow\fR - panel frame for dock windows and toolbars..TP\fCQStyle::PE_PanelTabWidget\fR - panel frame for tab widgets..TP\fCQStyle::PE_PanelLineEdit\fR - panel frame for line edits..TP\fCQStyle::PE_PanelGroupBox\fR - panel frame for group boxes..TP\fCQStyle::PE_TabBarBase\fR - area below tabs in a tab widget, for example, QTab..TP\fCQStyle::PE_HeaderSection\fR - section of a list or table header; see also QHeader..TP\fCQStyle::PE_HeaderArrow\fR - arrow used to indicate sorting on a list or table header.TP\fCQStyle::PE_StatusBarSection\fR - section of a status bar; see also QStatusBar..TP\fCQStyle::PE_GroupBoxFrame\fR - frame around a group box; see also QGroupBox..TP\fCQStyle::PE_WindowFrame\fR - frame around a MDI or docking window.TP\fCQStyle::PE_Separator\fR - generic separator..TP\fCQStyle::PE_SizeGrip\fR - window resize handle; see also QSizeGrip..TP\fCQStyle::PE_CheckMark\fR - generic check mark; see also QCheckBox..TP\fCQStyle::PE_ScrollBarAddLine\fR - scrollbar line increase indicator (i.e. scroll down); see also QScrollBar..TP\fCQStyle::PE_ScrollBarSubLine\fR - scrollbar line decrease indicator (i.e. scroll up)..TP\fCQStyle::PE_ScrollBarAddPage\fR - scolllbar page increase indicator (i.e. page down)..TP\fCQStyle::PE_ScrollBarSubPage\fR - scrollbar page decrease indicator (i.e. page up)..TP\fCQStyle::PE_ScrollBarSlider\fR - scrollbar slider.TP\fCQStyle::PE_ScrollBarFirst\fR - scrollbar first line indicator (i.e. home)..TP\fCQStyle::PE_ScrollBarLast\fR - scrollbar last line indicator (i.e. end)..TP\fCQStyle::PE_ProgressBarChunk\fR - section of a progress bar indicator; see also QProgressBar..TP\fCQStyle::PE_CheckListController\fR - controller part of a listview item.TP\fCQStyle::PE_CheckListIndicator\fR - checkbox part of a listview item.TP\fCQStyle::PE_CheckListExclusiveIndicator\fR - radiobutton part of a listview item.TP\fCQStyle::PE_CustomBase\fR - base value for custom PrimitiveElements. All values above this are reserved for custom use. Therefore, custom values must be greater than this value..PPSee also drawPrimitive()..SH "QStyle::StyleFlags"This enum represents flags for drawing PrimitiveElements. Not all primitives use all of these flags. Note that these flags may mean different things to different primitives. For an explanation of the relationship between primitives and their flags, as well as the different meanings of the flags, see the Style overview..TP\fCQStyle::Style_Default\fR.TP\fCQStyle::Style_Enabled\fR.TP\fCQStyle::Style_Raised\fR.TP\fCQStyle::Style_Sunken\fR.TP\fCQStyle::Style_Off\fR.TP\fCQStyle::Style_NoChange\fR.TP\fCQStyle::Style_On\fR.TP\fCQStyle::Style_Down\fR.TP\fCQStyle::Style_Horizontal\fR.TP\fCQStyle::Style_HasFocus\fR.TP\fCQStyle::Style_Top\fR.TP\fCQStyle::Style_Bottom\fR.TP\fCQStyle::Style_FocusAtBorder\fR.TP\fCQStyle::Style_AutoRaise\fR.TP\fCQStyle::Style_MouseOver\fR.TP\fCQStyle::Style_Up\fR.TP\fCQStyle::Style_Selected\fR.TP\fCQStyle::Style_HasFocus\fR.TP\fCQStyle::Style_Active\fR.TP\fCQStyle::Style_ButtonDefault\fR.PPSee also drawPrimitive()..SH "QStyle::StyleHint"This enum represents a StyleHint. A StyleHint is a general look and/or feel hint..TP\fCQStyle::SH_EtchDisabledText\fR - disabled text is "etched" like Windows..TP\fCQStyle::SH_GUIStyle\fR - the GUI style to use..TP\fCQStyle::SH_ScrollBar_BackgroundMode\fR - the background mode for a QScrollBar. Possible values are any of those in the BackgroundMode enum..TP\fCQStyle::SH_ScrollBar_MiddleClickAbsolutePosition\fR - a boolean value. If TRUE, middle clicking on a scrollbar causes the slider to jump to that position. If FALSE, the middle clicking is ignored..TP\fCQStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl\fR - a boolean value. If TRUE, when clicking a scrollbar SubControl, holding the mouse button down and moving the pointer outside the SubControl, the scrollbar continues to scroll. If FALSE, the scollbar stops scrolling when the pointer leaves the SubControl..TP\fCQStyle::SH_TabBar_Alignment\fR - the alignment for tabs in a QTabWidget. Possible values are Qt::AlignLeft, Qt::AlignCenter and Qt::AlignRight..TP\fCQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are Qt::Left or Qt::Right..TP\fCQStyle::SH_Slider_SnapToValue\fR - sliders snap to values while moving, like Windows.TP\fCQStyle::SH_Slider_SloppyKeyEvents\fR - key presses handled in a sloppy manner, i.e. left on a vertical slider subtracts a line..TP\fCQStyle::SH_ProgressDialog_CenterCancelButton\fR - center button on progress dialogs, like Motif, otherwise right aligned..TP\fCQStyle::SH_ProgressDialog_TextLabelAlignment\fR - Qt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise..TP\fCQStyle::SH_PrintDialog_RightAlignButtons\fR - right align buttons in the print dialog, like Windows..TP\fCQStyle::SH_MainWindow_SpaceBelowMenuBar\fR - 1 or 2 pixel space between the menubar and the dockarea, like Windows..TP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -