summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstyle.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqstyle.3qt')
-rw-r--r--doc/man/man3/tqstyle.3qt722
1 files changed, 361 insertions, 361 deletions
diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt
index 1f6790589..d975ad6f0 100644
--- a/doc/man/man3/tqstyle.3qt
+++ b/doc/man/man3/tqstyle.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QStyle 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQStyle 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,9 +7,9 @@
.ad l
.nh
.SH NAME
-QStyle \- The look and feel of a GUI
+TQStyle \- The look and feel of a GUI
.SH SYNOPSIS
-\fC#include <ntqstyle.h>\fR
+\fC#include <tqstyle.h>\fR
.PP
Inherits TQObject.
.PP
@@ -18,10 +18,10 @@ Inherited by QCommonStyle.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQStyle\fR ()"
+.BI "\fBTQStyle\fR ()"
.br
.ti -1c
-.BI "virtual \fB~QStyle\fR ()"
+.BI "virtual \fB~TQStyle\fR ()"
.br
.ti -1c
.BI "virtual void \fBpolish\fR ( TQWidget * )"
@@ -54,16 +54,16 @@ Inherited by QCommonStyle.
.BI "enum \fBStyleFlags\fR { Style_Default = 0x00000000, Style_Enabled = 0x00000001, Style_Raised = 0x00000002, Style_Sunken = 0x00000004, Style_Off = 0x00000008, Style_NoChange = 0x00000010, Style_On = 0x00000020, Style_Down = 0x00000040, Style_Horizontal = 0x00000080, Style_HasFocus = 0x00000100, Style_Top = 0x00000200, Style_Bottom = 0x00000400, Style_FocusAtBorder = 0x00000800, Style_AutoRaise = 0x00001000, Style_MouseOver = 0x00002000, Style_Up = 0x00004000, Style_Selected = 0x00008000, Style_Active = 0x00010000, Style_ButtonDefault = 0x00020000 }"
.br
.ti -1c
-.BI "virtual void \fBdrawPrimitive\fR ( PrimitiveElement pe, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual void \fBdrawPrimitive\fR ( PrimitiveElement pe, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
.BI "enum \fBControlElement\fR { CE_PushButton, CE_PushButtonLabel, CE_CheckBox, CE_CheckBoxLabel, CE_RadioButton, CE_RadioButtonLabel, CE_TabBarTab, CE_TabBarLabel, CE_ProgressBarGroove, CE_ProgressBarContents, CE_ProgressBarLabel, CE_PopupMenuItem, CE_MenuBarItem, CE_ToolButtonLabel, CE_MenuBarEmptyArea, CE_PopupMenuScroller, CE_DockWindowEmptyArea, CE_PopupMenuVerticalExtra, CE_PopupMenuHorizontalExtra, CE_ToolBoxTab, CE_HeaderLabel, CE_CustomBase = 0xf0000000 }"
.br
.ti -1c
-.BI "virtual void \fBdrawControl\fR ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual void \fBdrawControl\fR ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
-.BI "virtual void \fBdrawControlMask\fR ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual void \fBdrawControlMask\fR ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
.BI "enum \fBSubRect\fR { SR_PushButtonContents, SR_PushButtonFocusRect, SR_CheckBoxIndicator, SR_CheckBoxContents, SR_CheckBoxFocusRect, SR_RadioButtonIndicator, SR_RadioButtonContents, SR_RadioButtonFocusRect, SR_ComboBoxFocusRect, SR_SliderFocusRect, SR_DockWindowHandleRect, SR_ProgressBarGroove, SR_ProgressBarContents, SR_ProgressBarLabel, SR_ToolButtonContents, SR_DialogButtonAccept, SR_DialogButtonReject, SR_DialogButtonApply, SR_DialogButtonHelp, SR_DialogButtonAll, SR_DialogButtonAbort, SR_DialogButtonIgnore, SR_DialogButtonRetry, SR_DialogButtonCustom, SR_ToolBoxTabContents, SR_CustomBase = 0xf0000000 }"
@@ -78,16 +78,16 @@ Inherited by QCommonStyle.
.BI "enum \fBSubControl\fR { SC_None = 0x00000000, SC_ScrollBarAddLine = 0x00000001, SC_ScrollBarSubLine = 0x00000002, SC_ScrollBarAddPage = 0x00000004, SC_ScrollBarSubPage = 0x00000008, SC_ScrollBarFirst = 0x00000010, SC_ScrollBarLast = 0x00000020, SC_ScrollBarSlider = 0x00000040, SC_ScrollBarGroove = 0x00000080, SC_SpinWidgetUp = 0x00000001, SC_SpinWidgetDown = 0x00000002, SC_SpinWidgetFrame = 0x00000004, SC_SpinWidgetEditField = 0x00000008, SC_SpinWidgetButtonField = 0x00000010, SC_ComboBoxFrame = 0x00000001, SC_ComboBoxEditField = 0x00000002, SC_ComboBoxArrow = 0x00000004, SC_ComboBoxListBoxPopup = 0x00000008, SC_SliderGroove = 0x00000001, SC_SliderHandle = 0x00000002, SC_SliderTickmarks = 0x00000004, SC_ToolButton = 0x00000001, SC_ToolButtonMenu = 0x00000002, SC_TitleBarLabel = 0x00000001, SC_TitleBarSysMenu = 0x00000002, SC_TitleBarMinButton = 0x00000004, SC_TitleBarMaxButton = 0x00000008, SC_TitleBarCloseButton = 0x00000010, SC_TitleBarNormalButton = 0x00000020, SC_TitleBarShadeButton = 0x00000040, SC_TitleBarUnshadeButton = 0x00000080, SC_ListView = 0x00000001, SC_ListViewBranch = 0x00000002, SC_ListViewExpand = 0x00000004, SC_All = 0xffffffff }"
.br
.ti -1c
-.BI "virtual void \fBdrawComplexControl\fR ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual void \fBdrawComplexControl\fR ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
-.BI "virtual void \fBdrawComplexControlMask\fR ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual void \fBdrawComplexControlMask\fR ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
-.BI "virtual QRect \fBquerySubControlMetrics\fR ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual QRect \fBquerySubControlMetrics\fR ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
-.BI "virtual SubControl \fBquerySubControl\fR ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual SubControl \fBquerySubControl\fR ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
.BI "enum \fBPixelMetric\fR { PM_ButtonMargin, PM_ButtonDefaultIndicator, PM_MenuButtonIndicator, PM_ButtonShiftHorizontal, PM_ButtonShiftVertical, PM_DefaultFrameWidth, PM_SpinBoxFrameWidth, PM_MaximumDragDistance, PM_ScrollBarExtent, PM_ScrollBarSliderMin, PM_SliderThickness, PM_SliderControlThickness, PM_SliderLength, PM_SliderTickmarkOffset, PM_SliderSpaceAvailable, PM_DockWindowSeparatorExtent, PM_DockWindowHandleExtent, PM_DockWindowFrameWidth, PM_MenuBarFrameWidth, PM_TabBarTabOverlap, PM_TabBarTabHSpace, PM_TabBarTabVSpace, PM_TabBarBaseHeight, PM_TabBarBaseOverlap, PM_ProgressBarChunkWidth, PM_SplitterWidth, PM_TitleBarHeight, PM_IndicatorWidth, PM_IndicatorHeight, PM_ExclusiveIndicatorWidth, PM_ExclusiveIndicatorHeight, PM_PopupMenuScrollerHeight, PM_CheckListButtonSize, PM_CheckListControllerSize, PM_PopupMenuFrameHorizontalExtra, PM_PopupMenuFrameVerticalExtra, PM_DialogButtonsSeparator, PM_DialogButtonsButtonWidth, PM_DialogButtonsButtonHeight, PM_MDIFrameWidth, PM_MDIMinimizedWidth, PM_HeaderMargin, PM_HeaderMarkSize, PM_HeaderGripMargin, PM_TabBarTabShiftHorizontal, PM_TabBarTabShiftVertical, PM_TabBarScrollButtonWidth, PM_MenuBarItemSpacing, PM_ToolBarItemSpacing, PM_CustomBase = 0xf0000000 }"
@@ -99,19 +99,19 @@ Inherited by QCommonStyle.
.BI "enum \fBContentsType\fR { CT_PushButton, CT_CheckBox, CT_RadioButton, CT_ToolButton, CT_ComboBox, CT_Splitter, CT_DockWindow, CT_ProgressBar, CT_PopupMenuItem, CT_TabBarTab, CT_Slider, CT_Header, CT_LineEdit, CT_MenuBar, CT_SpinBox, CT_SizeGrip, CT_TabWidget, CT_DialogButtons, CT_CustomBase = 0xf0000000 }"
.br
.ti -1c
-.BI "virtual QSize \fBsizeFromContents\fR ( ContentsType contents, const TQWidget * widget, const QSize & contentsSize, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual QSize \fBsizeFromContents\fR ( ContentsType contents, const TQWidget * widget, const QSize & contentsSize, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
.BI "enum \fBStyleHint\fR { SH_EtchDisabledText, SH_GUIStyle, SH_ScrollBar_BackgroundMode, SH_ScrollBar_MiddleClickAbsolutePosition, SH_ScrollBar_ScrollWhenPointerLeavesControl, SH_TabBar_SelectMouseType, SH_TabBar_Alignment, SH_Header_ArrowAlignment, SH_Slider_SnapToValue, SH_Slider_SloppyKeyEvents, SH_ProgressDialog_CenterCancelButton, SH_ProgressDialog_TextLabelAlignment, SH_PrintDialog_RightAlignButtons, SH_MainWindow_SpaceBelowMenuBar, SH_FontDialog_SelectAssociatedText, SH_PopupMenu_AllowActiveAndDisabled, SH_PopupMenu_SpaceActivatesItem, SH_PopupMenu_SubMenuPopupDelay, SH_ScrollView_FrameOnlyAroundContents, SH_MenuBar_AltKeyNavigation, SH_ComboBox_ListMouseTracking, SH_PopupMenu_MouseTracking, SH_MenuBar_MouseTracking, SH_ItemView_ChangeHighlightOnFocus, SH_Widget_ShareActivation, SH_Workspace_FillSpaceOnMaximize, SH_ComboBox_Popup, SH_TitleBar_NoBorder, SH_ScrollBar_StopMouseOverSlider, SH_BlinkCursorWhenTextSelected, SH_RichText_FullWidthSelection, SH_PopupMenu_Scrollable, SH_GroupBox_TextLabelVerticalAlignment, SH_GroupBox_TextLabelColor, SH_PopupMenu_SloppySubMenus, SH_Table_GridLineColor, SH_LineEdit_PasswordCharacter, SH_DialogButtons_DefaultButton, SH_ToolBox_SelectedPageTitleBold, SH_TabBar_PreferNoArrows, SH_ScrollBar_LeftClickAbsolutePosition, SH_ListViewExpand_SelectMouseType, SH_UnderlineAccelerator, SH_ToolButton_Uses3D, SH_CustomBase = 0xf0000000 }"
.br
.ti -1c
-.BI "virtual int \fBstyleHint\fR ( StyleHint stylehint, const TQWidget * widget = 0, const QStyleOption & opt = QStyleOption::Default, QStyleHintReturn * returnData = 0 ) const = 0"
+.BI "virtual int \fBstyleHint\fR ( StyleHint stylehint, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default, TQStyleHintReturn * returnData = 0 ) const = 0"
.br
.ti -1c
.BI "enum \fBStylePixmap\fR { SP_TitleBarMinButton, SP_TitleBarMaxButton, SP_TitleBarCloseButton, SP_TitleBarNormalButton, SP_TitleBarShadeButton, SP_TitleBarUnshadeButton, SP_DockWindowCloseButton, SP_MessageBoxInformation, SP_MessageBoxWarning, SP_MessageBoxCritical, SP_MessageBoxQuestion, SP_CustomBase = 0xf0000000 }"
.br
.ti -1c
-.BI "virtual QPixmap \fBstylePixmap\fR ( StylePixmap stylepixmap, const TQWidget * widget = 0, const QStyleOption & opt = QStyleOption::Default ) const = 0"
+.BI "virtual QPixmap \fBstylePixmap\fR ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const = 0"
.br
.ti -1c
.BI "int defaultFrameWidth () const \fI(obsolete)\fR"
@@ -133,11 +133,11 @@ Inherited by QCommonStyle.
.br
.in -1c
.SH DESCRIPTION
-The QStyle class specifies the look and feel of a GUI.
+The TQStyle class specifies the look and feel of a GUI.
.PP
-A large number of GUI elements are common to many widgets. The QStyle class allows the look of these elements to be modified across all widgets that use the QStyle functions. It also provides two feel options: Motif and Windows.
+A large number of GUI elements are common to many widgets. The TQStyle class allows the look of these elements to be modified across all widgets that use the TQStyle functions. It also provides two feel options: Motif and Windows.
.PP
-Although it is not possible to fully enumerate the look of graphical elements and the feel of widgets in a GUI, QStyle provides a considerable amount of control and customisability.
+Although it is not possible to fully enumerate the look of graphical elements and the feel of widgets in a GUI, TQStyle provides a considerable amount of control and customisability.
.PP
In TQt 1.x the look and feel option for widgets was specified by a single value: the GUIStyle. Starting with TQt 2.0, this notion was expanded to allow the look to be specified by virtual drawing functions.
.PP
@@ -145,7 +145,7 @@ Derived classes may reimplement some or all of the drawing functions to modify t
.PP
Languages written from right to left (such as Arabic and Hebrew) usually also mirror the whole layout of widgets. If you design a style, you should take special care when drawing asymmetric elements to make sure that they also look correct in a mirrored layout. You can start your application with \fC-reverse\fR to check the mirrored layout. Also notice, that for a reversed layout, the light usually comes from top right instead of top left.
.PP
-The actual reverse layout is performed automatically when possible. However, for the sake of flexibility, the translation cannot be performed everywhere. The documentation for each function in the QStyle API states whether the function expects/returns logical or screen coordinates. Using logical coordinates (in ComplexControls, for example) provides great flexibility in controlling the look of a widget. Use visualRect() when necessary to translate logical coordinates into screen coordinates for drawing.
+The actual reverse layout is performed automatically when possible. However, for the sake of flexibility, the translation cannot be performed everywhere. The documentation for each function in the TQStyle API states whether the function expects/returns logical or screen coordinates. Using logical coordinates (in ComplexControls, for example) provides great flexibility in controlling the look of a widget. Use visualRect() when necessary to translate logical coordinates into screen coordinates for drawing.
.PP
In TQt versions prior to 3.0, if you wanted a low level route into changing the appearance of a widget, you would reimplement polish(). With the new 3.0 style engine the recommended approach is to reimplement the draw functions, for example drawItem(), drawPrimitive(), drawControl(), drawControlMask(), drawComplexControl() and drawComplexControlMask(). Each of these functions is called with a range of parameters that provide information that you can use to determine how to draw them, e.g. style flags, rectangle, color group, etc.
.PP
@@ -155,632 +155,632 @@ Styles can also be created as plugins.
.PP
See also Widget Appearance and Style.
.SS "Member Type Documentation"
-.SH "QStyle::ComplexControl"
+.SH "TQStyle::ComplexControl"
This enum represents a ComplexControl. ComplexControls have different behaviour depending upon where the user clicks on them or which keys are pressed.
.TP
-\fCQStyle::CC_SpinWidget\fR
+\fCTQStyle::CC_SpinWidget\fR
.TP
-\fCQStyle::CC_ComboBox\fR
+\fCTQStyle::CC_ComboBox\fR
.TP
-\fCQStyle::CC_ScrollBar\fR
+\fCTQStyle::CC_ScrollBar\fR
.TP
-\fCQStyle::CC_Slider\fR
+\fCTQStyle::CC_Slider\fR
.TP
-\fCQStyle::CC_ToolButton\fR
+\fCTQStyle::CC_ToolButton\fR
.TP
-\fCQStyle::CC_TitleBar\fR
+\fCTQStyle::CC_TitleBar\fR
.TP
-\fCQStyle::CC_ListView\fR
+\fCTQStyle::CC_ListView\fR
.TP
-\fCQStyle::CC_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.
+\fCTQStyle::CC_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.
.PP
See also SubControl and drawComplexControl().
-.SH "QStyle::ContentsType"
+.SH "TQStyle::ContentsType"
This enum represents a ContentsType. It is used to calculate sizes for the contents of various widgets.
.TP
-\fCQStyle::CT_PushButton\fR
+\fCTQStyle::CT_PushButton\fR
.TP
-\fCQStyle::CT_CheckBox\fR
+\fCTQStyle::CT_CheckBox\fR
.TP
-\fCQStyle::CT_RadioButton\fR
+\fCTQStyle::CT_RadioButton\fR
.TP
-\fCQStyle::CT_ToolButton\fR
+\fCTQStyle::CT_ToolButton\fR
.TP
-\fCQStyle::CT_ComboBox\fR
+\fCTQStyle::CT_ComboBox\fR
.TP
-\fCQStyle::CT_Splitter\fR
+\fCTQStyle::CT_Splitter\fR
.TP
-\fCQStyle::CT_DockWindow\fR
+\fCTQStyle::CT_DockWindow\fR
.TP
-\fCQStyle::CT_ProgressBar\fR
+\fCTQStyle::CT_ProgressBar\fR
.TP
-\fCQStyle::CT_PopupMenuItem\fR
+\fCTQStyle::CT_PopupMenuItem\fR
.TP
-\fCQStyle::CT_TabBarTab\fR
+\fCTQStyle::CT_TabBarTab\fR
.TP
-\fCQStyle::CT_Slider\fR
+\fCTQStyle::CT_Slider\fR
.TP
-\fCQStyle::CT_Header\fR
+\fCTQStyle::CT_Header\fR
.TP
-\fCQStyle::CT_LineEdit\fR
+\fCTQStyle::CT_LineEdit\fR
.TP
-\fCQStyle::CT_MenuBar\fR
+\fCTQStyle::CT_MenuBar\fR
.TP
-\fCQStyle::CT_SpinBox\fR
+\fCTQStyle::CT_SpinBox\fR
.TP
-\fCQStyle::CT_SizeGrip\fR
+\fCTQStyle::CT_SizeGrip\fR
.TP
-\fCQStyle::CT_TabWidget\fR
+\fCTQStyle::CT_TabWidget\fR
.TP
-\fCQStyle::CT_DialogButtons\fR
+\fCTQStyle::CT_DialogButtons\fR
.TP
-\fCQStyle::CT_CustomBase\fR - base value for custom ControlElements. All values above this are reserved for custom use. Custom values must be greater than this value.
+\fCTQStyle::CT_CustomBase\fR - base value for custom ControlElements. All values above this are reserved for custom use. Custom values must be greater than this value.
.PP
See also sizeFromContents().
-.SH "QStyle::ControlElement"
+.SH "TQStyle::ControlElement"
This enum represents a ControlElement. A ControlElement is part of a widget that performs some action or displays information to the user.
.TP
-\fCQStyle::CE_PushButton\fR - the bevel and default indicator of a QPushButton.
+\fCTQStyle::CE_PushButton\fR - the bevel and default indicator of a QPushButton.
.TP
-\fCQStyle::CE_PushButtonLabel\fR - the label (iconset with text or pixmap) of a QPushButton.
+\fCTQStyle::CE_PushButtonLabel\fR - the label (iconset with text or pixmap) of a QPushButton.
.TP
-\fCQStyle::CE_CheckBox\fR - the indicator of a QCheckBox.
+\fCTQStyle::CE_CheckBox\fR - the indicator of a QCheckBox.
.TP
-\fCQStyle::CE_CheckBoxLabel\fR - the label (text or pixmap) of a QCheckBox.
+\fCTQStyle::CE_CheckBoxLabel\fR - the label (text or pixmap) of a QCheckBox.
.TP
-\fCQStyle::CE_RadioButton\fR - the indicator of a QRadioButton.
+\fCTQStyle::CE_RadioButton\fR - the indicator of a QRadioButton.
.TP
-\fCQStyle::CE_RadioButtonLabel\fR - the label (text or pixmap) of a QRadioButton.
+\fCTQStyle::CE_RadioButtonLabel\fR - the label (text or pixmap) of a QRadioButton.
.TP
-\fCQStyle::CE_TabBarTab\fR - the tab within a QTabBar (a QTab).
+\fCTQStyle::CE_TabBarTab\fR - the tab within a QTabBar (a QTab).
.TP
-\fCQStyle::CE_TabBarLabel\fR - the label within a QTab.
+\fCTQStyle::CE_TabBarLabel\fR - the label within a QTab.
.TP
-\fCQStyle::CE_ProgressBarGroove\fR - the groove where the progress indicator is drawn in a QProgressBar.
+\fCTQStyle::CE_ProgressBarGroove\fR - the groove where the progress indicator is drawn in a QProgressBar.
.TP
-\fCQStyle::CE_ProgressBarContents\fR - the progress indicator of a QProgressBar.
+\fCTQStyle::CE_ProgressBarContents\fR - the progress indicator of a QProgressBar.
.TP
-\fCQStyle::CE_ProgressBarLabel\fR - the text label of a QProgressBar.
+\fCTQStyle::CE_ProgressBarLabel\fR - the text label of a QProgressBar.
.TP
-\fCQStyle::CE_PopupMenuItem\fR - a menu item in a QPopupMenu.
+\fCTQStyle::CE_PopupMenuItem\fR - a menu item in a QPopupMenu.
.TP
-\fCQStyle::CE_PopupMenuScroller\fR - scrolling areas in a popumenu when the style supports scrolling.
+\fCTQStyle::CE_PopupMenuScroller\fR - scrolling areas in a popumenu when the style supports scrolling.
.TP
-\fCQStyle::CE_PopupMenuHorizontalExtra\fR - extra frame area set aside with PM_PopupMenuFrameHorizontalExtra
+\fCTQStyle::CE_PopupMenuHorizontalExtra\fR - extra frame area set aside with PM_PopupMenuFrameHorizontalExtra
.TP
-\fCQStyle::CE_PopupMenuVerticalExtra\fR - extra frame area set aside with PM_PopupMenuFrameVerticalExtra
+\fCTQStyle::CE_PopupMenuVerticalExtra\fR - extra frame area set aside with PM_PopupMenuFrameVerticalExtra
.TP
-\fCQStyle::CE_MenuBarItem\fR - a menu item in a QMenuBar.
+\fCTQStyle::CE_MenuBarItem\fR - a menu item in a QMenuBar.
.TP
-\fCQStyle::CE_ToolButtonLabel\fR - a tool button's label.
+\fCTQStyle::CE_ToolButtonLabel\fR - a tool button's label.
.TP
-\fCQStyle::CE_MenuBarEmptyArea\fR - the empty area of a QMenuBar.
+\fCTQStyle::CE_MenuBarEmptyArea\fR - the empty area of a QMenuBar.
.TP
-\fCQStyle::CE_DockWindowEmptyArea\fR - the empty area of a QDockWindow.
+\fCTQStyle::CE_DockWindowEmptyArea\fR - the empty area of a QDockWindow.
.TP
-\fCQStyle::CE_ToolBoxTab\fR - the toolbox's tab area
+\fCTQStyle::CE_ToolBoxTab\fR - the toolbox's tab area
.TP
-\fCQStyle::CE_HeaderLabel\fR - the header's label
+\fCTQStyle::CE_HeaderLabel\fR - the header's label
.TP
-\fCQStyle::CE_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.
+\fCTQStyle::CE_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.
.PP
See also drawControl().
-.SH "QStyle::PixelMetric"
+.SH "TQStyle::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.
+\fCTQStyle::PM_ButtonMargin\fR - amount of whitespace between pushbutton labels and the frame.
.TP
-\fCQStyle::PM_ButtonDefaultIndicator\fR - width of the default-button indicator frame.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PM_ButtonShiftVertical\fR - vertical contents shift of a button when the button is down.
.TP
-\fCQStyle::PM_DefaultFrameWidth\fR - default frame width, usually 2.
+\fCTQStyle::PM_DefaultFrameWidth\fR - default frame width, usually 2.
.TP
-\fCQStyle::PM_SpinBoxFrameWidth\fR - frame width of a spin box.
+\fCTQStyle::PM_SpinBoxFrameWidth\fR - frame width of a spin box.
.TP
-\fCQStyle::PM_MDIFrameWidth\fR - frame width of an MDI window.
+\fCTQStyle::PM_MDIFrameWidth\fR - frame width of an MDI window.
.TP
-\fCQStyle::PM_MDIMinimizedWidth\fR - width of a minimized MSI window.
+\fCTQStyle::PM_MDIMinimizedWidth\fR - width of a minimized MSI window.
.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.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PM_SliderThickness\fR - total slider thickness.
.TP
-\fCQStyle::PM_SliderControlThickness\fR - thickness of the slider handle.
+\fCTQStyle::PM_SliderControlThickness\fR - thickness of the slider handle.
.TP
-\fCQStyle::PM_SliderLength\fR - length of the slider.
+\fCTQStyle::PM_SliderLength\fR - length of the slider.
.TP
-\fCQStyle::PM_SliderTickmarkOffset\fR - the offset between the tickmarks and the slider.
+\fCTQStyle::PM_SliderTickmarkOffset\fR - the offset between the tickmarks and the slider.
.TP
-\fCQStyle::PM_SliderSpaceAvailable\fR - the available space for the slider to move.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PM_DockWindowFrameWidth\fR - frame width of a dock window.
.TP
-\fCQStyle::PM_MenuBarFrameWidth\fR - frame width of a menubar.
+\fCTQStyle::PM_MenuBarFrameWidth\fR - frame width of a menubar.
.TP
-\fCQStyle::PM_MenuBarItemSpacing\fR - spacing between menubar items.
+\fCTQStyle::PM_MenuBarItemSpacing\fR - spacing between menubar items.
.TP
-\fCQStyle::PM_ToolBarItemSpacing\fR - spacing between toolbar items.
+\fCTQStyle::PM_ToolBarItemSpacing\fR - spacing between toolbar items.
.TP
-\fCQStyle::PM_TabBarTabOverlap\fR - number of pixels the tabs should overlap.
+\fCTQStyle::PM_TabBarTabOverlap\fR - number of pixels the tabs should overlap.
.TP
-\fCQStyle::PM_TabBarTabHSpace\fR - extra space added to the tab width.
+\fCTQStyle::PM_TabBarTabHSpace\fR - extra space added to the tab width.
.TP
-\fCQStyle::PM_TabBarTabVSpace\fR - extra space added to the tab height.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PM_TabBarBaseOverlap\fR - number of pixels the tab bar overlaps the tab bar base.
.TP
-\fCQStyle::PM_TabBarScrollButtonWidth\fR
+\fCTQStyle::PM_TabBarScrollButtonWidth\fR
.TP
-\fCQStyle::PM_TabBarTabShiftHorizontal\fR - horizontal pixel shift when a tab is selected.
+\fCTQStyle::PM_TabBarTabShiftHorizontal\fR - horizontal pixel shift when a tab is selected.
.TP
-\fCQStyle::PM_TabBarTabShiftVertical\fR - vertical pixel shift when a tab is selected.
+\fCTQStyle::PM_TabBarTabShiftVertical\fR - vertical pixel shift when a tab is selected.
.TP
-\fCQStyle::PM_ProgressBarChunkWidth\fR - width of a chunk in a progress bar indicator.
+\fCTQStyle::PM_ProgressBarChunkWidth\fR - width of a chunk in a progress bar indicator.
.TP
-\fCQStyle::PM_SplitterWidth\fR - width of a splitter.
+\fCTQStyle::PM_SplitterWidth\fR - width of a splitter.
.TP
-\fCQStyle::PM_TitleBarHeight\fR - height of the title bar.
+\fCTQStyle::PM_TitleBarHeight\fR - height of the title bar.
.TP
-\fCQStyle::PM_PopupMenuFrameHorizontalExtra\fR - additional border, e.g. for panels
+\fCTQStyle::PM_PopupMenuFrameHorizontalExtra\fR - additional border, e.g. for panels
.TP
-\fCQStyle::PM_PopupMenuFrameVerticalExtra\fR - additional border, e.g. for panels
+\fCTQStyle::PM_PopupMenuFrameVerticalExtra\fR - additional border, e.g. for panels
.TP
-\fCQStyle::PM_IndicatorWidth\fR - width of a check box indicator.
+\fCTQStyle::PM_IndicatorWidth\fR - width of a check box indicator.
.TP
-\fCQStyle::PM_IndicatorHeight\fR - height of a checkbox indicator.
+\fCTQStyle::PM_IndicatorHeight\fR - height of a checkbox indicator.
.TP
-\fCQStyle::PM_ExclusiveIndicatorWidth\fR - width of a radio button indicator.
+\fCTQStyle::PM_ExclusiveIndicatorWidth\fR - width of a radio button indicator.
.TP
-\fCQStyle::PM_ExclusiveIndicatorHeight\fR - height of a radio button indicator.
+\fCTQStyle::PM_ExclusiveIndicatorHeight\fR - height of a radio button indicator.
.TP
-\fCQStyle::PM_PopupMenuScrollerHeight\fR - height of the scroller area in a popupmenu.
+\fCTQStyle::PM_PopupMenuScrollerHeight\fR - height of the scroller area in a popupmenu.
.TP
-\fCQStyle::PM_PopupMenuScrollerHeight\fR - height of the scroller area in a popupmenu.
+\fCTQStyle::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
+\fCTQStyle::PM_CheckListButtonSize\fR - area (width/height) of the checkbox/radiobutton in a QCheckListItem
.TP
-\fCQStyle::PM_CheckListControllerSize\fR - area (width/height) of the controller in a QCheckListItem
+\fCTQStyle::PM_CheckListControllerSize\fR - area (width/height) of the controller in a QCheckListItem
.TP
-\fCQStyle::PM_DialogButtonsSeparator\fR - distance between buttons in a dialog buttons widget.
+\fCTQStyle::PM_DialogButtonsSeparator\fR - distance between buttons in a dialog buttons widget.
.TP
-\fCQStyle::PM_DialogButtonsButtonWidth\fR - minimum width of a button in a dialog buttons widget.
+\fCTQStyle::PM_DialogButtonsButtonWidth\fR - minimum width of a button in a dialog buttons widget.
.TP
-\fCQStyle::PM_DialogButtonsButtonHeight\fR - minimum height of a button in a dialog buttons widget.
+\fCTQStyle::PM_DialogButtonsButtonHeight\fR - minimum height of a button in a dialog buttons widget.
.TP
-\fCQStyle::PM_HeaderMarkSize\fR
+\fCTQStyle::PM_HeaderMarkSize\fR
.TP
-\fCQStyle::PM_HeaderGripMargin\fR
+\fCTQStyle::PM_HeaderGripMargin\fR
.TP
-\fCQStyle::PM_HeaderMargin\fR
+\fCTQStyle::PM_HeaderMargin\fR
.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.
+\fCTQStyle::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.
.PP
See also pixelMetric().
-.SH "QStyle::PrimitiveElement"
+.SH "TQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PE_ButtonDefault\fR - this button is the default button, e.g. in a dialog.
.TP
-\fCQStyle::PE_ButtonBevel\fR - generic button bevel.
+\fCTQStyle::PE_ButtonBevel\fR - generic button bevel.
.TP
-\fCQStyle::PE_ButtonTool\fR - tool button, for example, a QToolButton.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PE_FocusRect\fR - generic focus indicator.
.TP
-\fCQStyle::PE_ArrowUp\fR - up arrow.
+\fCTQStyle::PE_ArrowUp\fR - up arrow.
.TP
-\fCQStyle::PE_ArrowDown\fR - down arrow.
+\fCTQStyle::PE_ArrowDown\fR - down arrow.
.TP
-\fCQStyle::PE_ArrowRight\fR - right arrow.
+\fCTQStyle::PE_ArrowRight\fR - right arrow.
.TP
-\fCQStyle::PE_ArrowLeft\fR - left arrow.
+\fCTQStyle::PE_ArrowLeft\fR - left arrow.
.TP
-\fCQStyle::PE_SpinWidgetUp\fR - up symbol for a spin widget, for example a QSpinBox.
+\fCTQStyle::PE_SpinWidgetUp\fR - up symbol for a spin widget, for example a QSpinBox.
.TP
-\fCQStyle::PE_SpinWidgetDown\fR - down symbol for a spin widget.
+\fCTQStyle::PE_SpinWidgetDown\fR - down symbol for a spin widget.
.TP
-\fCQStyle::PE_SpinWidgetPlus\fR - increase symbol for a spin widget.
+\fCTQStyle::PE_SpinWidgetPlus\fR - increase symbol for a spin widget.
.TP
-\fCQStyle::PE_SpinWidgetMinus\fR - decrease symbol for a spin widget.
+\fCTQStyle::PE_SpinWidgetMinus\fR - decrease symbol for a spin widget.
.TP
-\fCQStyle::PE_Indicator\fR - on/off indicator, for example, a QCheckBox.
+\fCTQStyle::PE_Indicator\fR - on/off indicator, for example, a QCheckBox.
.TP
-\fCQStyle::PE_IndicatorMask\fR - bitmap mask for an indicator.
+\fCTQStyle::PE_IndicatorMask\fR - bitmap mask for an indicator.
.TP
-\fCQStyle::PE_ExclusiveIndicator\fR - exclusive on/off indicator, for example, a QRadioButton.
+\fCTQStyle::PE_ExclusiveIndicator\fR - exclusive on/off indicator, for example, a QRadioButton.
.TP
-\fCQStyle::PE_ExclusiveIndicatorMask\fR - bitmap mask for an exclusive indicator.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::PE_DockWindowSeparator\fR - item separator for dock window and toolbar contents.
.TP
-\fCQStyle::PE_DockWindowResizeHandle\fR - resize handle for dock windows.
+\fCTQStyle::PE_DockWindowResizeHandle\fR - resize handle for dock windows.
.TP
-\fCQStyle::PE_Splitter\fR - splitter handle; see also QSplitter.
+\fCTQStyle::PE_Splitter\fR - splitter handle; see also QSplitter.
.TP
-\fCQStyle::PE_Panel\fR - generic panel frame; see also QFrame.
+\fCTQStyle::PE_Panel\fR - generic panel frame; see also QFrame.
.TP
-\fCQStyle::PE_PanelPopup\fR - panel frame for popup windows/menus; see also QPopupMenu.
+\fCTQStyle::PE_PanelPopup\fR - panel frame for popup windows/menus; see also QPopupMenu.
.TP
-\fCQStyle::PE_PanelMenuBar\fR - panel frame for menu bars.
+\fCTQStyle::PE_PanelMenuBar\fR - panel frame for menu bars.
.TP
-\fCQStyle::PE_PanelDockWindow\fR - panel frame for dock windows and toolbars.
+\fCTQStyle::PE_PanelDockWindow\fR - panel frame for dock windows and toolbars.
.TP
-\fCQStyle::PE_PanelTabWidget\fR - panel frame for tab widgets.
+\fCTQStyle::PE_PanelTabWidget\fR - panel frame for tab widgets.
.TP
-\fCQStyle::PE_PanelLineEdit\fR - panel frame for line edits.
+\fCTQStyle::PE_PanelLineEdit\fR - panel frame for line edits.
.TP
-\fCQStyle::PE_PanelGroupBox\fR - panel frame for group boxes.
+\fCTQStyle::PE_PanelGroupBox\fR - panel frame for group boxes.
.TP
-\fCQStyle::PE_TabBarBase\fR - area below tabs in a tab widget, for example, QTab.
+\fCTQStyle::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.
+\fCTQStyle::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
+\fCTQStyle::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.
+\fCTQStyle::PE_StatusBarSection\fR - section of a status bar; see also QStatusBar.
.TP
-\fCQStyle::PE_GroupBoxFrame\fR - frame around a group box; see also QGroupBox.
+\fCTQStyle::PE_GroupBoxFrame\fR - frame around a group box; see also QGroupBox.
.TP
-\fCQStyle::PE_WindowFrame\fR - frame around a MDI window or a docking window
+\fCTQStyle::PE_WindowFrame\fR - frame around a MDI window or a docking window
.TP
-\fCQStyle::PE_Separator\fR - generic separator.
+\fCTQStyle::PE_Separator\fR - generic separator.
.TP
-\fCQStyle::PE_SizeGrip\fR - window resize handle; see also QSizeGrip.
+\fCTQStyle::PE_SizeGrip\fR - window resize handle; see also QSizeGrip.
.TP
-\fCQStyle::PE_CheckMark\fR - generic check mark; see also QCheckBox.
+\fCTQStyle::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.
+\fCTQStyle::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).
+\fCTQStyle::PE_ScrollBarSubLine\fR - scrollbar line decrease indicator (i.e. scroll up).
.TP
-\fCQStyle::PE_ScrollBarAddPage\fR - scolllbar page increase indicator (i.e. page down).
+\fCTQStyle::PE_ScrollBarAddPage\fR - scolllbar page increase indicator (i.e. page down).
.TP
-\fCQStyle::PE_ScrollBarSubPage\fR - scrollbar page decrease indicator (i.e. page up).
+\fCTQStyle::PE_ScrollBarSubPage\fR - scrollbar page decrease indicator (i.e. page up).
.TP
-\fCQStyle::PE_ScrollBarSlider\fR - scrollbar slider
+\fCTQStyle::PE_ScrollBarSlider\fR - scrollbar slider
.TP
-\fCQStyle::PE_ScrollBarFirst\fR - scrollbar first line indicator (i.e. home).
+\fCTQStyle::PE_ScrollBarFirst\fR - scrollbar first line indicator (i.e. home).
.TP
-\fCQStyle::PE_ScrollBarLast\fR - scrollbar last line indicator (i.e. end).
+\fCTQStyle::PE_ScrollBarLast\fR - scrollbar last line indicator (i.e. end).
.TP
-\fCQStyle::PE_ProgressBarChunk\fR - section of a progress bar indicator; see also QProgressBar.
+\fCTQStyle::PE_ProgressBarChunk\fR - section of a progress bar indicator; see also QProgressBar.
.TP
-\fCQStyle::PE_CheckListController\fR - controller part of a listview item
+\fCTQStyle::PE_CheckListController\fR - controller part of a listview item
.TP
-\fCQStyle::PE_CheckListIndicator\fR - checkbox part of a listview item
+\fCTQStyle::PE_CheckListIndicator\fR - checkbox part of a listview item
.TP
-\fCQStyle::PE_CheckListExclusiveIndicator\fR - radiobutton part of a listview item
+\fCTQStyle::PE_CheckListExclusiveIndicator\fR - radiobutton part of a listview item
.TP
-\fCQStyle::PE_RubberBand\fR - rubber band used in such things as iconview
+\fCTQStyle::PE_RubberBand\fR - rubber band used in such things as iconview
.TP
-\fCQStyle::PE_CustomBase\fR - base value for custom PrimitiveElements. All values above this are reserved for custom use. Custom values must be greater than this value.
+\fCTQStyle::PE_CustomBase\fR - base value for custom PrimitiveElements. All values above this are reserved for custom use. Custom values must be greater than this value.
.PP
See also drawPrimitive().
-.SH "QStyle::StyleFlags"
+.SH "TQStyle::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
+\fCTQStyle::Style_Default\fR
.TP
-\fCQStyle::Style_Enabled\fR
+\fCTQStyle::Style_Enabled\fR
.TP
-\fCQStyle::Style_Raised\fR
+\fCTQStyle::Style_Raised\fR
.TP
-\fCQStyle::Style_Sunken\fR
+\fCTQStyle::Style_Sunken\fR
.TP
-\fCQStyle::Style_Off\fR
+\fCTQStyle::Style_Off\fR
.TP
-\fCQStyle::Style_NoChange\fR
+\fCTQStyle::Style_NoChange\fR
.TP
-\fCQStyle::Style_On\fR
+\fCTQStyle::Style_On\fR
.TP
-\fCQStyle::Style_Down\fR
+\fCTQStyle::Style_Down\fR
.TP
-\fCQStyle::Style_Horizontal\fR
+\fCTQStyle::Style_Horizontal\fR
.TP
-\fCQStyle::Style_HasFocus\fR
+\fCTQStyle::Style_HasFocus\fR
.TP
-\fCQStyle::Style_Top\fR
+\fCTQStyle::Style_Top\fR
.TP
-\fCQStyle::Style_Bottom\fR
+\fCTQStyle::Style_Bottom\fR
.TP
-\fCQStyle::Style_FocusAtBorder\fR
+\fCTQStyle::Style_FocusAtBorder\fR
.TP
-\fCQStyle::Style_AutoRaise\fR
+\fCTQStyle::Style_AutoRaise\fR
.TP
-\fCQStyle::Style_MouseOver\fR
+\fCTQStyle::Style_MouseOver\fR
.TP
-\fCQStyle::Style_Up\fR
+\fCTQStyle::Style_Up\fR
.TP
-\fCQStyle::Style_Selected\fR
+\fCTQStyle::Style_Selected\fR
.TP
-\fCQStyle::Style_HasFocus\fR
+\fCTQStyle::Style_HasFocus\fR
.TP
-\fCQStyle::Style_Active\fR
+\fCTQStyle::Style_Active\fR
.TP
-\fCQStyle::Style_ButtonDefault\fR
+\fCTQStyle::Style_ButtonDefault\fR
.PP
See also drawPrimitive().
-.SH "QStyle::StyleHint"
+.SH "TQStyle::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.
+\fCTQStyle::SH_EtchDisabledText\fR - disabled text is "etched" like Windows.
.TP
-\fCQStyle::SH_GUIStyle\fR - the GUI style to use.
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::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_LeftClickAbsolutePosition\fR - a boolean value. If TRUE, left clicking on a scrollbar causes the slider to jump to that position. If FALSE, the left clicking will behave as appropriate for each control.
+\fCTQStyle::SH_ScrollBar_LeftClickAbsolutePosition\fR - a boolean value. If TRUE, left clicking on a scrollbar causes the slider to jump to that position. If FALSE, the left clicking will behave as appropriate for each control.
.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.
+\fCTQStyle::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 TQt::AlignLeft, TQt::AlignCenter and TQt::AlignRight.
+\fCTQStyle::SH_TabBar_Alignment\fR - the alignment for tabs in a QTabWidget. Possible values are TQt::AlignLeft, TQt::AlignCenter and TQt::AlignRight.
.TP
-\fCQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are TQt::Left or TQt::Right.
+\fCTQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are TQt::Left or TQt::Right.
.TP
-\fCQStyle::SH_Slider_SnapToValue\fR - sliders snap to values while moving, like Windows
+\fCTQStyle::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.
+\fCTQStyle::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.
+\fCTQStyle::SH_ProgressDialog_CenterCancelButton\fR - center button on progress dialogs, like Motif, otherwise right aligned.
.TP
-\fCQStyle::SH_ProgressDialog_TextLabelAlignment\fR - TQt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise.
+\fCTQStyle::SH_ProgressDialog_TextLabelAlignment\fR - TQt::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.
+\fCTQStyle::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.
+\fCTQStyle::SH_MainWindow_SpaceBelowMenuBar\fR - 1 or 2 pixel space between the menubar and the dockarea, like Windows.
.TP
-\fCQStyle::SH_FontDialog_SelectAssociatedText\fR - select the text in the line edit, or when selecting an item from the listbox, or when the line edit receives focus, like Windows.
+\fCTQStyle::SH_FontDialog_SelectAssociatedText\fR - select the text in the line edit, or when selecting an item from the listbox, or when the line edit receives focus, like Windows.
.TP
-\fCQStyle::SH_PopupMenu_AllowActiveAndDisabled\fR - allows disabled menu items to be active.
+\fCTQStyle::SH_PopupMenu_AllowActiveAndDisabled\fR - allows disabled menu items to be active.
.TP
-\fCQStyle::SH_PopupMenu_SpaceActivatesItem\fR - pressing Space activates the item, like Motif.
+\fCTQStyle::SH_PopupMenu_SpaceActivatesItem\fR - pressing Space activates the item, like Motif.
.TP
-\fCQStyle::SH_PopupMenu_SubMenuPopupDelay\fR - the number of milliseconds to wait before opening a submenu; 256 on windows, 96 on Motif.
+\fCTQStyle::SH_PopupMenu_SubMenuPopupDelay\fR - the number of milliseconds to wait before opening a submenu; 256 on windows, 96 on Motif.
.TP
-\fCQStyle::SH_PopupMenu_Scrollable\fR - whether popupmenu's must support scrolling.
+\fCTQStyle::SH_PopupMenu_Scrollable\fR - whether popupmenu's must support scrolling.
.TP
-\fCQStyle::SH_PopupMenu_SloppySubMenus\fR - whether popupmenu's must support sloppy submenu; as implemented on Mac OS.
+\fCTQStyle::SH_PopupMenu_SloppySubMenus\fR - whether popupmenu's must support sloppy submenu; as implemented on Mac OS.
.TP
-\fCQStyle::SH_ScrollView_FrameOnlyAroundContents\fR - whether scrollviews draw their frame only around contents (like Motif), or around contents, scrollbars and corner widgets (like Windows).
+\fCTQStyle::SH_ScrollView_FrameOnlyAroundContents\fR - whether scrollviews draw their frame only around contents (like Motif), or around contents, scrollbars and corner widgets (like Windows).
.TP
-\fCQStyle::SH_MenuBar_AltKeyNavigation\fR - menubars items are navigable by pressing Alt, followed by using the arrow keys to select the desired item.
+\fCTQStyle::SH_MenuBar_AltKeyNavigation\fR - menubars items are navigable by pressing Alt, followed by using the arrow keys to select the desired item.
.TP
-\fCQStyle::SH_ComboBox_ListMouseTracking\fR - mouse tracking in combobox dropdown lists.
+\fCTQStyle::SH_ComboBox_ListMouseTracking\fR - mouse tracking in combobox dropdown lists.
.TP
-\fCQStyle::SH_PopupMenu_MouseTracking\fR - mouse tracking in popup menus.
+\fCTQStyle::SH_PopupMenu_MouseTracking\fR - mouse tracking in popup menus.
.TP
-\fCQStyle::SH_MenuBar_MouseTracking\fR - mouse tracking in menubars.
+\fCTQStyle::SH_MenuBar_MouseTracking\fR - mouse tracking in menubars.
.TP
-\fCQStyle::SH_ItemView_ChangeHighlightOnFocus\fR - gray out selected items when losing focus.
+\fCTQStyle::SH_ItemView_ChangeHighlightOnFocus\fR - gray out selected items when losing focus.
.TP
-\fCQStyle::SH_Widget_ShareActivation\fR - turn on sharing activation with floating modeless dialogs.
+\fCTQStyle::SH_Widget_ShareActivation\fR - turn on sharing activation with floating modeless dialogs.
.TP
-\fCQStyle::SH_TabBar_SelectMouseType\fR - which type of mouse event should cause a tab to be selected.
+\fCTQStyle::SH_TabBar_SelectMouseType\fR - which type of mouse event should cause a tab to be selected.
.TP
-\fCQStyle::SH_ListViewExpand_SelectMouseType\fR - which type of mouse event should cause a listview expansion to be selected.
+\fCTQStyle::SH_ListViewExpand_SelectMouseType\fR - which type of mouse event should cause a listview expansion to be selected.
.TP
-\fCQStyle::SH_TabBar_PreferNoArrows\fR - whether a tabbar should suggest a size to prevent scoll arrows.
+\fCTQStyle::SH_TabBar_PreferNoArrows\fR - whether a tabbar should suggest a size to prevent scoll arrows.
.TP
-\fCQStyle::SH_ComboBox_Popup\fR - allows popups as a combobox dropdown menu.
+\fCTQStyle::SH_ComboBox_Popup\fR - allows popups as a combobox dropdown menu.
.TP
-\fCQStyle::SH_Workspace_FillSpaceOnMaximize\fR - the workspace should maximize the client area.
+\fCTQStyle::SH_Workspace_FillSpaceOnMaximize\fR - the workspace should maximize the client area.
.TP
-\fCQStyle::SH_TitleBar_NoBorder\fR - the titlebar has no border
+\fCTQStyle::SH_TitleBar_NoBorder\fR - the titlebar has no border
.TP
-\fCQStyle::SH_ScrollBar_StopMouseOverSlider\fR - stops autorepeat when slider reaches mouse
+\fCTQStyle::SH_ScrollBar_StopMouseOverSlider\fR - stops autorepeat when slider reaches mouse
.TP
-\fCQStyle::SH_BlinkCursorWhenTextSelected\fR - whether cursor should blink when text is selected
+\fCTQStyle::SH_BlinkCursorWhenTextSelected\fR - whether cursor should blink when text is selected
.TP
-\fCQStyle::SH_RichText_FullWidthSelection\fR - whether richtext selections should extend the full width of the document.
+\fCTQStyle::SH_RichText_FullWidthSelection\fR - whether richtext selections should extend the full width of the document.
.TP
-\fCQStyle::SH_GroupBox_TextLabelVerticalAlignment\fR - how to vertically align a groupbox's text label.
+\fCTQStyle::SH_GroupBox_TextLabelVerticalAlignment\fR - how to vertically align a groupbox's text label.
.TP
-\fCQStyle::SH_GroupBox_TextLabelColor\fR - how to paint a groupbox's text label.
+\fCTQStyle::SH_GroupBox_TextLabelColor\fR - how to paint a groupbox's text label.
.TP
-\fCQStyle::SH_DialogButtons_DefaultButton\fR - which buttons gets the default status in a dialog's button widget.
+\fCTQStyle::SH_DialogButtons_DefaultButton\fR - which buttons gets the default status in a dialog's button widget.
.TP
-\fCQStyle::SH_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.
+\fCTQStyle::SH_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.
.TP
-\fCQStyle::SH_ToolButton_Uses3D\fR - indicates whether QToolButtons should use a 3D frame when the mouse is over them
+\fCTQStyle::SH_ToolButton_Uses3D\fR - indicates whether QToolButtons should use a 3D frame when the mouse is over them
.TP
-\fCQStyle::SH_ToolBox_SelectedPageTitleBold\fR - Boldness of the selected page title in a QToolBox.
+\fCTQStyle::SH_ToolBox_SelectedPageTitleBold\fR - Boldness of the selected page title in a QToolBox.
.TP
-\fCQStyle::SH_LineEdit_PasswordCharacter\fR - The TQChar Unicode character to be used for passwords.
+\fCTQStyle::SH_LineEdit_PasswordCharacter\fR - The TQChar Unicode character to be used for passwords.
.TP
-\fCQStyle::SH_Table_GridLineColor\fR
+\fCTQStyle::SH_Table_GridLineColor\fR
.TP
-\fCQStyle::SH_UnderlineAccelerator\fR - whether accelerators are underlined
+\fCTQStyle::SH_UnderlineAccelerator\fR - whether accelerators are underlined
.PP
See also styleHint().
-.SH "QStyle::StylePixmap"
+.SH "TQStyle::StylePixmap"
This enum represents a StylePixmap. A StylePixmap is a pixmap that can follow some existing GUI style or guideline.
.TP
-\fCQStyle::SP_TitleBarMinButton\fR - minimize button on titlebars. For example, in a QWorkspace.
+\fCTQStyle::SP_TitleBarMinButton\fR - minimize button on titlebars. For example, in a QWorkspace.
.TP
-\fCQStyle::SP_TitleBarMaxButton\fR - maximize button on titlebars.
+\fCTQStyle::SP_TitleBarMaxButton\fR - maximize button on titlebars.
.TP
-\fCQStyle::SP_TitleBarCloseButton\fR - close button on titlebars.
+\fCTQStyle::SP_TitleBarCloseButton\fR - close button on titlebars.
.TP
-\fCQStyle::SP_TitleBarNormalButton\fR - normal (restore) button on titlebars.
+\fCTQStyle::SP_TitleBarNormalButton\fR - normal (restore) button on titlebars.
.TP
-\fCQStyle::SP_TitleBarShadeButton\fR - shade button on titlebars.
+\fCTQStyle::SP_TitleBarShadeButton\fR - shade button on titlebars.
.TP
-\fCQStyle::SP_TitleBarUnshadeButton\fR - unshade button on titlebars.
+\fCTQStyle::SP_TitleBarUnshadeButton\fR - unshade button on titlebars.
.TP
-\fCQStyle::SP_MessageBoxInformation\fR - the 'information' icon.
+\fCTQStyle::SP_MessageBoxInformation\fR - the 'information' icon.
.TP
-\fCQStyle::SP_MessageBoxWarning\fR - the 'warning' icon.
+\fCTQStyle::SP_MessageBoxWarning\fR - the 'warning' icon.
.TP
-\fCQStyle::SP_MessageBoxCritical\fR - the 'critical' icon.
+\fCTQStyle::SP_MessageBoxCritical\fR - the 'critical' icon.
.TP
-\fCQStyle::SP_MessageBoxQuestion\fR - the 'question' icon.
+\fCTQStyle::SP_MessageBoxQuestion\fR - the 'question' icon.
.TP
-\fCQStyle::SP_DockWindowCloseButton\fR - close button on dock windows; see also QDockWindow.
+\fCTQStyle::SP_DockWindowCloseButton\fR - close button on dock windows; see also QDockWindow.
.TP
-\fCQStyle::SP_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.
+\fCTQStyle::SP_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.
.PP
See also stylePixmap().
-.SH "QStyle::SubControl"
+.SH "TQStyle::SubControl"
This enum represents a SubControl within a ComplexControl.
.TP
-\fCQStyle::SC_None\fR - special value that matches no other SubControl.
+\fCTQStyle::SC_None\fR - special value that matches no other SubControl.
.TP
-\fCQStyle::SC_ScrollBarAddLine\fR - scrollbar add line (i.e. down/right arrow); see also QScrollbar.
+\fCTQStyle::SC_ScrollBarAddLine\fR - scrollbar add line (i.e. down/right arrow); see also QScrollbar.
.TP
-\fCQStyle::SC_ScrollBarSubLine\fR - scrollbar sub line (i.e. up/left arrow).
+\fCTQStyle::SC_ScrollBarSubLine\fR - scrollbar sub line (i.e. up/left arrow).
.TP
-\fCQStyle::SC_ScrollBarAddPage\fR - scrollbar add page (i.e. page down).
+\fCTQStyle::SC_ScrollBarAddPage\fR - scrollbar add page (i.e. page down).
.TP
-\fCQStyle::SC_ScrollBarSubPage\fR - scrollbar sub page (i.e. page up).
+\fCTQStyle::SC_ScrollBarSubPage\fR - scrollbar sub page (i.e. page up).
.TP
-\fCQStyle::SC_ScrollBarFirst\fR - scrollbar first line (i.e. home).
+\fCTQStyle::SC_ScrollBarFirst\fR - scrollbar first line (i.e. home).
.TP
-\fCQStyle::SC_ScrollBarLast\fR - scrollbar last line (i.e. end).
+\fCTQStyle::SC_ScrollBarLast\fR - scrollbar last line (i.e. end).
.TP
-\fCQStyle::SC_ScrollBarSlider\fR - scrollbar slider handle.
+\fCTQStyle::SC_ScrollBarSlider\fR - scrollbar slider handle.
.TP
-\fCQStyle::SC_ScrollBarGroove\fR - special subcontrol which contains the area in which the slider handle may move.
+\fCTQStyle::SC_ScrollBarGroove\fR - special subcontrol which contains the area in which the slider handle may move.
.TP
-\fCQStyle::SC_SpinWidgetUp\fR - spinwidget up/increase; see also QSpinBox.
+\fCTQStyle::SC_SpinWidgetUp\fR - spinwidget up/increase; see also QSpinBox.
.TP
-\fCQStyle::SC_SpinWidgetDown\fR - spinwidget down/decrease.
+\fCTQStyle::SC_SpinWidgetDown\fR - spinwidget down/decrease.
.TP
-\fCQStyle::SC_SpinWidgetFrame\fR - spinwidget frame.
+\fCTQStyle::SC_SpinWidgetFrame\fR - spinwidget frame.
.TP
-\fCQStyle::SC_SpinWidgetEditField\fR - spinwidget edit field.
+\fCTQStyle::SC_SpinWidgetEditField\fR - spinwidget edit field.
.TP
-\fCQStyle::SC_SpinWidgetButtonField\fR - spinwidget button field.
+\fCTQStyle::SC_SpinWidgetButtonField\fR - spinwidget button field.
.TP
-\fCQStyle::SC_ComboBoxEditField\fR - combobox edit field; see also QComboBox.
+\fCTQStyle::SC_ComboBoxEditField\fR - combobox edit field; see also QComboBox.
.TP
-\fCQStyle::SC_ComboBoxArrow\fR - combobox arrow
+\fCTQStyle::SC_ComboBoxArrow\fR - combobox arrow
.TP
-\fCQStyle::SC_ComboBoxFrame\fR - combobox frame
+\fCTQStyle::SC_ComboBoxFrame\fR - combobox frame
.TP
-\fCQStyle::SC_ComboBoxListBoxPopup\fR - combobox list box
+\fCTQStyle::SC_ComboBoxListBoxPopup\fR - combobox list box
.TP
-\fCQStyle::SC_SliderGroove\fR - special subcontrol which contains the area in which the slider handle may move.
+\fCTQStyle::SC_SliderGroove\fR - special subcontrol which contains the area in which the slider handle may move.
.TP
-\fCQStyle::SC_SliderHandle\fR - slider handle.
+\fCTQStyle::SC_SliderHandle\fR - slider handle.
.TP
-\fCQStyle::SC_SliderTickmarks\fR - slider tickmarks.
+\fCTQStyle::SC_SliderTickmarks\fR - slider tickmarks.
.TP
-\fCQStyle::SC_ToolButton\fR - tool button; see also QToolbutton.
+\fCTQStyle::SC_ToolButton\fR - tool button; see also QToolbutton.
.TP
-\fCQStyle::SC_ToolButtonMenu\fR - subcontrol for opening a popup menu in a tool button; see also QPopupMenu.
+\fCTQStyle::SC_ToolButtonMenu\fR - subcontrol for opening a popup menu in a tool button; see also QPopupMenu.
.TP
-\fCQStyle::SC_TitleBarSysMenu\fR - system menu button (i.e. restore, close, etc.).
+\fCTQStyle::SC_TitleBarSysMenu\fR - system menu button (i.e. restore, close, etc.).
.TP
-\fCQStyle::SC_TitleBarMinButton\fR - minimize button.
+\fCTQStyle::SC_TitleBarMinButton\fR - minimize button.
.TP
-\fCQStyle::SC_TitleBarMaxButton\fR - maximize button.
+\fCTQStyle::SC_TitleBarMaxButton\fR - maximize button.
.TP
-\fCQStyle::SC_TitleBarCloseButton\fR - close button.
+\fCTQStyle::SC_TitleBarCloseButton\fR - close button.
.TP
-\fCQStyle::SC_TitleBarLabel\fR - window title label.
+\fCTQStyle::SC_TitleBarLabel\fR - window title label.
.TP
-\fCQStyle::SC_TitleBarNormalButton\fR - normal (restore) button.
+\fCTQStyle::SC_TitleBarNormalButton\fR - normal (restore) button.
.TP
-\fCQStyle::SC_TitleBarShadeButton\fR - shade button.
+\fCTQStyle::SC_TitleBarShadeButton\fR - shade button.
.TP
-\fCQStyle::SC_TitleBarUnshadeButton\fR - unshade button.
+\fCTQStyle::SC_TitleBarUnshadeButton\fR - unshade button.
.TP
-\fCQStyle::SC_ListView\fR - the list view area.
+\fCTQStyle::SC_ListView\fR - the list view area.
.TP
-\fCQStyle::SC_ListViewBranch\fR - (internal)
+\fCTQStyle::SC_ListViewBranch\fR - (internal)
.TP
-\fCQStyle::SC_ListViewExpand\fR - expand item (i.e. show/hide child items).
+\fCTQStyle::SC_ListViewExpand\fR - expand item (i.e. show/hide child items).
.TP
-\fCQStyle::SC_All\fR - special value that matches all SubControls.
+\fCTQStyle::SC_All\fR - special value that matches all SubControls.
.PP
See also ComplexControl.
-.SH "QStyle::SubRect"
+.SH "TQStyle::SubRect"
This enum represents a sub-area of a widget. Style implementations would use these areas to draw the different parts of a widget.
.TP
-\fCQStyle::SR_PushButtonContents\fR - area containing the label (iconset with text or pixmap).
+\fCTQStyle::SR_PushButtonContents\fR - area containing the label (iconset with text or pixmap).
.TP
-\fCQStyle::SR_PushButtonFocusRect\fR - area for the focus rect (usually larger than the contents rect).
+\fCTQStyle::SR_PushButtonFocusRect\fR - area for the focus rect (usually larger than the contents rect).
.TP
-\fCQStyle::SR_CheckBoxIndicator\fR - area for the state indicator (e.g. check mark).
+\fCTQStyle::SR_CheckBoxIndicator\fR - area for the state indicator (e.g. check mark).
.TP
-\fCQStyle::SR_CheckBoxContents\fR - area for the label (text or pixmap).
+\fCTQStyle::SR_CheckBoxContents\fR - area for the label (text or pixmap).
.TP
-\fCQStyle::SR_CheckBoxFocusRect\fR - area for the focus indicator.
+\fCTQStyle::SR_CheckBoxFocusRect\fR - area for the focus indicator.
.TP
-\fCQStyle::SR_RadioButtonIndicator\fR - area for the state indicator.
+\fCTQStyle::SR_RadioButtonIndicator\fR - area for the state indicator.
.TP
-\fCQStyle::SR_RadioButtonContents\fR - area for the label.
+\fCTQStyle::SR_RadioButtonContents\fR - area for the label.
.TP
-\fCQStyle::SR_RadioButtonFocusRect\fR - area for the focus indicator.
+\fCTQStyle::SR_RadioButtonFocusRect\fR - area for the focus indicator.
.TP
-\fCQStyle::SR_ComboBoxFocusRect\fR - area for the focus indicator.
+\fCTQStyle::SR_ComboBoxFocusRect\fR - area for the focus indicator.
.TP
-\fCQStyle::SR_SliderFocusRect\fR - area for the focus indicator.
+\fCTQStyle::SR_SliderFocusRect\fR - area for the focus indicator.
.TP
-\fCQStyle::SR_DockWindowHandleRect\fR - area for the tear-off handle.
+\fCTQStyle::SR_DockWindowHandleRect\fR - area for the tear-off handle.
.TP
-\fCQStyle::SR_ProgressBarGroove\fR - area for the groove.
+\fCTQStyle::SR_ProgressBarGroove\fR - area for the groove.
.TP
-\fCQStyle::SR_ProgressBarContents\fR - area for the progress indicator.
+\fCTQStyle::SR_ProgressBarContents\fR - area for the progress indicator.
.TP
-\fCQStyle::SR_ProgressBarLabel\fR - area for the text label.
+\fCTQStyle::SR_ProgressBarLabel\fR - area for the text label.
.TP
-\fCQStyle::SR_ToolButtonContents\fR - area for the tool button's label.
+\fCTQStyle::SR_ToolButtonContents\fR - area for the tool button's label.
.TP
-\fCQStyle::SR_DialogButtonAccept\fR - area for a dialog's accept button.
+\fCTQStyle::SR_DialogButtonAccept\fR - area for a dialog's accept button.
.TP
-\fCQStyle::SR_DialogButtonReject\fR - area for a dialog's reject button.
+\fCTQStyle::SR_DialogButtonReject\fR - area for a dialog's reject button.
.TP
-\fCQStyle::SR_DialogButtonApply\fR - area for a dialog's apply button.
+\fCTQStyle::SR_DialogButtonApply\fR - area for a dialog's apply button.
.TP
-\fCQStyle::SR_DialogButtonHelp\fR - area for a dialog's help button.
+\fCTQStyle::SR_DialogButtonHelp\fR - area for a dialog's help button.
.TP
-\fCQStyle::SR_DialogButtonAll\fR - area for a dialog's all button.
+\fCTQStyle::SR_DialogButtonAll\fR - area for a dialog's all button.
.TP
-\fCQStyle::SR_DialogButtonRetry\fR - area for a dialog's retry button.
+\fCTQStyle::SR_DialogButtonRetry\fR - area for a dialog's retry button.
.TP
-\fCQStyle::SR_DialogButtonAbort\fR - area for a dialog's abort button.
+\fCTQStyle::SR_DialogButtonAbort\fR - area for a dialog's abort button.
.TP
-\fCQStyle::SR_DialogButtonIgnore\fR - area for a dialog's ignore button.
+\fCTQStyle::SR_DialogButtonIgnore\fR - area for a dialog's ignore button.
.TP
-\fCQStyle::SR_DialogButtonCustom\fR - area for a dialog's custom widget area (in button row).
+\fCTQStyle::SR_DialogButtonCustom\fR - area for a dialog's custom widget area (in button row).
.TP
-\fCQStyle::SR_ToolBoxTabContents\fR - area for a toolbox tab's icon and label
+\fCTQStyle::SR_ToolBoxTabContents\fR - area for a toolbox tab's icon and label
.TP
-\fCQStyle::SR_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.
+\fCTQStyle::SR_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.
.PP
See also subRect().
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QStyle::QStyle ()"
-Constructs a QStyle.
-.SH "QStyle::~QStyle ()\fC [virtual]\fR"
+.SH "TQStyle::TQStyle ()"
+Constructs a TQStyle.
+.SH "TQStyle::~TQStyle ()\fC [virtual]\fR"
Destroys the style and frees all allocated resources.
-.SH "int QStyle::defaultFrameWidth () const"
+.SH "int TQStyle::defaultFrameWidth () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
-.SH "void QStyle::drawComplexControl ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "void TQStyle::drawComplexControl ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Draws the ComplexControl \fIcontrol\fR using the painter \fIp\fR in the area \fIr\fR. Colors are used from the color group \fIcg\fR. The \fIsub\fR argument specifies which SubControls to draw. Multiple SubControls can be OR'ed together. The \fIsubActive\fR argument specifies which SubControl is active.
.PP
The rect \fIr\fR should be in logical coordinates. Reimplementations of this function should use visualRect() to change the logical coordinates into screen coordinates when using drawPrimitive() and drawControl().
@@ -793,9 +793,9 @@ The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. T
.TS
l - l. ComplexControl
.br
-& Widget Cast Style Flags Notes Options Notes CC_SpinWidget(const QSpinWidget *) Style_Enabled Set if the spinwidget is enabled. Unused. Style_HasFocus Set if the spinwidget has input focus. CC_ComboBox(const QComboBox *) Style_Enabled Set if the combobox is enabled. Unused. Style_HasFocus Set if the combobox has input focus. CC_ScrollBar(const QScrollBar *) Style_Enabled Set if the scrollbar is enabled. Unused. Style_HasFocus Set if the scrollbar has input focus. CC_Slider(const QSlider *) Style_Enabled Set if the slider is enabled. Unused. Style_HasFocus Set if the slider has input focus. CC_ToolButton(const QToolButton *) Style_Enabled Set if the toolbutton is enabled. QStyleOption ( ArrowType t )
+& Widget Cast Style Flags Notes Options Notes CC_SpinWidget(const QSpinWidget *) Style_Enabled Set if the spinwidget is enabled. Unused. Style_HasFocus Set if the spinwidget has input focus. CC_ComboBox(const QComboBox *) Style_Enabled Set if the combobox is enabled. Unused. Style_HasFocus Set if the combobox has input focus. CC_ScrollBar(const QScrollBar *) Style_Enabled Set if the scrollbar is enabled. Unused. Style_HasFocus Set if the scrollbar has input focus. CC_Slider(const QSlider *) Style_Enabled Set if the slider is enabled. Unused. Style_HasFocus Set if the slider has input focus. CC_ToolButton(const QToolButton *) Style_Enabled Set if the toolbutton is enabled. TQStyleOption ( ArrowType t )
.TP
-opt.arrowType() When the tool button only contains an arrow, \fIt\fR is the arrow's type. Style_HasFocus Set if the toolbutton has input focus. Style_Down Set if the toolbutton is down (ie. mouse button or space pressed). Style_On Set if the toolbutton is a toggle button and is toggled on. Style_AutoRaise Set if the toolbutton has auto-raise enabled. Style_Raised Set if the button is not down, not on and doesn't contain the mouse when auto-raise is enabled. CC_TitleBar(const TQWidget *) Style_Enabled Set if the titlebar is enabled. Unused. CC_ListView(const QListView *) Style_Enabled Set if the titlebar is enabled. QStyleOption ( QListViewItem *item )
+opt.arrowType() When the tool button only contains an arrow, \fIt\fR is the arrow's type. Style_HasFocus Set if the toolbutton has input focus. Style_Down Set if the toolbutton is down (ie. mouse button or space pressed). Style_On Set if the toolbutton is a toggle button and is toggled on. Style_AutoRaise Set if the toolbutton has auto-raise enabled. Style_Raised Set if the button is not down, not on and doesn't contain the mouse when auto-raise is enabled. CC_TitleBar(const TQWidget *) Style_Enabled Set if the titlebar is enabled. Unused. CC_ListView(const QListView *) Style_Enabled Set if the titlebar is enabled. TQStyleOption ( QListViewItem *item )
.TP
opt.listViewItem()
.TE
@@ -803,13 +803,13 @@ opt.listViewItem()
</center>
.PP
See also ComplexControl and SubControl.
-.SH "void QStyle::drawComplexControlMask ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "void TQStyle::drawComplexControlMask ( ComplexControl control, QPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Draw a bitmask for the ComplexControl \fIcontrol\fR using the painter \fIp\fR in the area \fIr\fR. See drawComplexControl() for an explanation of the use of the \fIwidget\fR and \fIopt\fR arguments.
.PP
The rect \fIr\fR should be in logical coordinates. Reimplementations of this function should use visualRect() to change the logical corrdinates into screen coordinates when using drawPrimitive() and drawControl().
.PP
See also drawComplexControl() and ComplexControl.
-.SH "void QStyle::drawControl ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "void TQStyle::drawControl ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const QColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Draws the ControlElement \fIelement\fR using the painter \fIp\fR in the area \fIr\fR. Colors are used from the color group \fIcg\fR.
.PP
The rect \fIr\fR should be in screen coordinates.
@@ -841,7 +841,7 @@ CE_RadioButtonLabel(const QRadioButton *) Style_Enabled Set if the radiobutton i
and
.PP
CE_TabBarLabel(const QTabBar *)
-.PP Style_Enabled Set if the tabbar and tab is enabled. QStyleOption ( QTab *t )
+.PP Style_Enabled Set if the tabbar and tab is enabled. TQStyleOption ( QTab *t )
.TP
opt.tab() \fIt\fR is the QTab being drawn. Style_Selected Set if the tab is the current tab. CE_ProgressBarGroove(const QProgressBar *)
.PP
@@ -853,15 +853,15 @@ and
.PP
CE_ProgressBarLabel(const QProgressBar *)
.PP Style_Enabled Set if the progressbar is enabled. Unused.
-Style_HasFocus Set if the progressbar has input focus. CE_PopupMenuItem(const QPopupMenu *) Style_Enabled Set if the menuitem is enabled. QStyleOption ( QMenuItem *mi, int tabwidth, int maxpmwidth )
+Style_HasFocus Set if the progressbar has input focus. CE_PopupMenuItem(const QPopupMenu *) Style_Enabled Set if the menuitem is enabled. TQStyleOption ( QMenuItem *mi, int tabwidth, int maxpmwidth )
.TP
opt.menuItem()
.TP
opt.tabWidth()
.TP
-opt.maxIconWidth() \fImi\fR is the menu item being drawn. QMenuItem is currently an internal class. Style_Active Set if the menuitem is the current item. \fItabwidth\fR is the width of the tab column where key accelerators are drawn. Style_Down Set if the menuitem is down (i.e., the mouse button or space bar is pressed). \fImaxpmwidth\fR is the maximum width of the check column where checkmarks and iconsets are drawn. CE_MenuBarItem(const QMenuBar *) Style_Enabled Set if the menuitem is enabled QStyleOption ( QMenuItem *mi )
+opt.maxIconWidth() \fImi\fR is the menu item being drawn. QMenuItem is currently an internal class. Style_Active Set if the menuitem is the current item. \fItabwidth\fR is the width of the tab column where key accelerators are drawn. Style_Down Set if the menuitem is down (i.e., the mouse button or space bar is pressed). \fImaxpmwidth\fR is the maximum width of the check column where checkmarks and iconsets are drawn. CE_MenuBarItem(const QMenuBar *) Style_Enabled Set if the menuitem is enabled TQStyleOption ( QMenuItem *mi )
.TP
-opt.menuItem() \fImi\fR is the menu item being drawn. Style_Active Set if the menuitem is the current item. Style_Down Set if the menuitem is down (i.e., a mouse button or the space bar is pressed). Style_HasFocus Set if the menubar has input focus. CE_ToolButtonLabel(const QToolButton *) Style_Enabled Set if the toolbutton is enabled. QStyleOption ( ArrowType t )
+opt.menuItem() \fImi\fR is the menu item being drawn. Style_Active Set if the menuitem is the current item. Style_Down Set if the menuitem is down (i.e., a mouse button or the space bar is pressed). Style_HasFocus Set if the menubar has input focus. CE_ToolButtonLabel(const QToolButton *) Style_Enabled Set if the toolbutton is enabled. TQStyleOption ( ArrowType t )
.TP
opt.arrowType() When the tool button only contains an arrow, \fIt\fR is the arrow's type. Style_HasFocus Set if the toolbutton has input focus. Style_Down Set if the toolbutton is down (i.e., a mouse button or the space is pressed). Style_On Set if the toolbutton is a toggle button and is toggled on. Style_AutoRaise Set if the toolbutton has auto-raise enabled. Style_MouseOver Set if the mouse pointer is over the toolbutton. Style_Raised
.TE
@@ -869,17 +869,17 @@ opt.arrowType() When the tool button only contains an arrow, \fIt\fR is the arro
</center>
.PP
See also ControlElement and StyleFlags.
-.SH "void QStyle::drawControlMask ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "void TQStyle::drawControlMask ( ControlElement element, QPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Draw a bitmask for the ControlElement \fIelement\fR using the painter \fIp\fR in the area \fIr\fR. See drawControl() for an explanation of the use of the \fIwidget\fR and \fIopt\fR arguments.
.PP
The rect \fIr\fR should be in screen coordinates.
.PP
See also drawControl() and ControlElement.
-.SH "void QStyle::drawItem ( QPainter * p, const QRect & r, int flags, const QColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const\fC [virtual]\fR"
+.SH "void TQStyle::drawItem ( QPainter * p, const QRect & r, int flags, const QColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const\fC [virtual]\fR"
Draws the \fItext\fR or \fIpixmap\fR in rectangle \fIr\fR using painter \fIp\fR and color group \fIg\fR. The pen color is specified with \fIpenColor\fR. The \fIenabled\fR bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned and wrapped according to the alignment \fIflags\fR (see TQt::AlignmentFlags).
.PP
By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored.
-.SH "void QStyle::drawPrimitive ( PrimitiveElement pe, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "void TQStyle::drawPrimitive ( PrimitiveElement pe, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Draws the style PrimitiveElement \fIpe\fR using the painter \fIp\fR in the area \fIr\fR. Colors are used from the color group \fIcg\fR.
.PP
The rect \fIr\fR should be in screen coordinates.
@@ -892,25 +892,25 @@ The \fIopt\fR argument can be used to control how various PrimitiveElements are
.PP
<center>.nf
.TS
-l - l. PrimitiveElement Options Notes PE_FocusRect QStyleOption ( const TQColor & bg )
+l - l. PrimitiveElement Options Notes PE_FocusRect TQStyleOption ( const TQColor & bg )
.TP
-opt.color() \fIbg\fR is the background color on which the focus rect is being drawn. PE_Panel QStyleOption ( int linewidth, int midlinewidth )
+opt.color() \fIbg\fR is the background color on which the focus rect is being drawn. PE_Panel TQStyleOption ( int linewidth, int midlinewidth )
.TP
opt.lineWidth()
.TP
-opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_PanelPopup QStyleOption ( int linewidth, int midlinewidth )
+opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_PanelPopup TQStyleOption ( int linewidth, int midlinewidth )
.TP
opt.lineWidth()
.TP
-opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_PanelMenuBar QStyleOption ( int linewidth, int midlinewidth )
+opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_PanelMenuBar TQStyleOption ( int linewidth, int midlinewidth )
.TP
opt.lineWidth()
.TP
-opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_PanelDockWindow QStyleOption ( int linewidth, int midlinewidth )
+opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_PanelDockWindow TQStyleOption ( int linewidth, int midlinewidth )
.TP
opt.lineWidth()
.TP
-opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_GroupBoxFrame QStyleOption ( int linewidth, int midlinewidth, int shape, int shadow )
+opt.midLineWidth() \fIlinewidth\fR is the line width for drawing the panel. \fImidlinewidth\fR is the mid-line width for drawing the panel. PE_GroupBoxFrame TQStyleOption ( int linewidth, int midlinewidth, int shape, int shadow )
.TP
opt.lineWidth()
.TP
@@ -928,13 +928,13 @@ For all other PrimitiveElements, \fIopt\fR is unused.
See also StyleFlags.
.PP
Example: themes/wood.cpp.
-.SH "QRect QStyle::itemRect ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR"
+.SH "QRect TQStyle::itemRect ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR"
Returns the appropriate area (see below) within rectangle \fIr\fR in which to draw the \fItext\fR or \fIpixmap\fR using painter \fIp\fR. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned in accordance with the alignment \fIflags\fR (see TQt::AlignmentFlags). The \fIenabled\fR bool indicates whether or not the item is enabled.
.PP
If \fIr\fR is larger than the area needed to render the \fItext\fR the rectangle that is returned will be offset within \fIr\fR in accordance with the alignment \fIflags\fR. For example if \fIflags\fR is AlignCenter the returned rectangle will be centered within \fIr\fR. If \fIr\fR is smaller than the area needed the rectangle that is returned will be \fIlarger\fR than \fIr\fR (the smallest rectangle large enough to render the \fItext\fR or \fIpixmap\fR).
.PP
By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored.
-.SH "int QStyle::pixelMetric ( PixelMetric metric, const TQWidget * widget = 0 ) const\fC [pure virtual]\fR"
+.SH "int TQStyle::pixelMetric ( PixelMetric metric, const TQWidget * widget = 0 ) const\fC [pure virtual]\fR"
Returns the pixel metric for \fImetric\fR. The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fImetric\fR. Note that \fIwidget\fR may be zero even for PixelMetrics that can make use of \fIwidget\fR. See the table below for the appropriate \fIwidget\fR casts:
.PP
<center>.nf
@@ -943,62 +943,62 @@ l - l. PixelMetric Widget Cast PM_SliderControlThickness (const QSlider *) PM_Sl
.TE
.fi
</center>
-.SH "void QStyle::polish ( TQWidget * )\fC [virtual]\fR"
+.SH "void TQStyle::polish ( TQWidget * )\fC [virtual]\fR"
Initializes the appearance of a widget.
.PP
This function is called for every widget at some point after it has been fully created but just \fIbefore\fR it is shown the very first time.
.PP
Reasonable actions in this function might be to call TQWidget::setBackgroundMode() for the widget. An example of highly unreasonable use would be setting the geometry! Reimplementing this function gives you a back-door through which you can change the appearance of a widget. With TQt 3.0's style engine you will rarely need to write your own polish(); instead reimplement drawItem(), drawPrimitive(), etc.
.PP
-The TQWidget::inherits() function may provide enough information to allow class-specific customizations. But be careful not to hard-code things too much because new QStyle subclasses are expected to work reasonably with all current and \fIfuture\fR widgets.
+The TQWidget::inherits() function may provide enough information to allow class-specific customizations. But be careful not to hard-code things too much because new TQStyle subclasses are expected to work reasonably with all current and \fIfuture\fR widgets.
.PP
See also unPolish().
-.SH "void QStyle::polish ( QApplication * )\fC [virtual]\fR"
+.SH "void TQStyle::polish ( QApplication * )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Late initialization of the QApplication object.
.PP
See also unPolish().
-.SH "void QStyle::polish ( QPalette & )\fC [virtual]\fR"
+.SH "void TQStyle::polish ( QPalette & )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
The style may have certain requirements for color palettes. In this function it has the chance to change the palette according to these requirements.
.PP
See also QPalette and QApplication::setPalette().
-.SH "void QStyle::polishPopupMenu ( QPopupMenu * )\fC [pure virtual]\fR"
+.SH "void TQStyle::polishPopupMenu ( QPopupMenu * )\fC [pure virtual]\fR"
Polishes the popup menu according to the GUI style. This usually means setting the mouse tracking (QPopupMenu::setMouseTracking()) and whether the menu is checkable by default (QPopupMenu::setCheckable()).
-.SH "SubControl QStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Returns the SubControl for \fIwidget\fR at the point \fIpos\fR. The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIcontrol\fR. The \fIopt\fR argument can be used to pass extra information required when drawing the ComplexControl. Note that \fIopt\fR may be the default value even for ComplexControls that can make use of the extra options. See drawComplexControl() for an explanation of the \fIwidget\fR and \fIopt\fR arguments.
.PP
Note that \fIpos\fR is passed in screen coordinates. When using querySubControlMetrics() to check for hits and misses, use visualRect() to change the logical coordinates into screen coordinates.
.PP
See also drawComplexControl(), ComplexControl, SubControl, and querySubControlMetrics().
-.SH "QRect QStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "QRect TQStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Returns the rect for the SubControl \fIsubcontrol\fR for \fIwidget\fR in logical coordinates.
.PP
The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIcontrol\fR. The \fIopt\fR argument can be used to pass extra information required when drawing the ComplexControl. Note that \fIopt\fR may be the default value even for ComplexControls that can make use of the extra options. See drawComplexControl() for an explanation of the \fIwidget\fR and \fIopt\fR arguments.
.PP
See also drawComplexControl(), ComplexControl, and SubControl.
-.SH "QSize QStyle::scrollBarExtent () const"
+.SH "QSize TQStyle::scrollBarExtent () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
-.SH "QSize QStyle::sizeFromContents ( ContentsType contents, const TQWidget * widget, const QSize & contentsSize, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "QSize TQStyle::sizeFromContents ( ContentsType contents, const TQWidget * widget, const QSize & contentsSize, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Returns the size of \fIwidget\fR based on the contents size \fIcontentsSize\fR.
.PP
The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIcontents\fR. The \fIopt\fR argument can be used to pass extra information required when calculating the size. Note that \fIopt\fR may be the default value even for ContentsTypes that can make use of the extra options. See the table below for the appropriate \fIwidget\fR and \fIopt\fR usage:
.PP
<center>.nf
.TS
-l - l. ContentsType Widget Cast Options Notes CT_PushButton (const QPushButton *) Unused. CT_CheckBox (const QCheckBox *) Unused. CT_RadioButton (const QRadioButton *) Unused. CT_ToolButton (const QToolButton *) Unused. CT_ComboBox (const QComboBox *) Unused. CT_Splitter (const QSplitter *) Unused. CT_DockWindow (const QDockWindow *) Unused. CT_ProgressBar (const QProgressBar *) Unused. CT_PopupMenuItem (const QPopupMenu *) QStyleOption ( QMenuItem *mi )
+l - l. ContentsType Widget Cast Options Notes CT_PushButton (const QPushButton *) Unused. CT_CheckBox (const QCheckBox *) Unused. CT_RadioButton (const QRadioButton *) Unused. CT_ToolButton (const QToolButton *) Unused. CT_ComboBox (const QComboBox *) Unused. CT_Splitter (const QSplitter *) Unused. CT_DockWindow (const QDockWindow *) Unused. CT_ProgressBar (const QProgressBar *) Unused. CT_PopupMenuItem (const QPopupMenu *) TQStyleOption ( QMenuItem *mi )
.TP
opt.menuItem()
.TE
.fi
</center>
-.SH "int QStyle::styleHint ( StyleHint stylehint, const TQWidget * widget = 0, const QStyleOption & opt = QStyleOption::Default, QStyleHintReturn * returnData = 0 ) const\fC [pure virtual]\fR"
+.SH "int TQStyle::styleHint ( StyleHint stylehint, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default, TQStyleHintReturn * returnData = 0 ) const\fC [pure virtual]\fR"
Returns the style hint \fIstylehint\fR for \fIwidget\fR. Currently, \fIwidget\fR, \fIopt\fR, and \fIreturnData\fR are unused; they're included to allow for future enhancements.
.PP
For an explanation of the return value see StyleHint.
-.SH "QPixmap QStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
+.SH "QPixmap TQStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR"
Returns a pixmap for \fIstylepixmap\fR.
.PP
The \fIopt\fR argument can be used to pass extra information required when drawing the ControlElement. Note that \fIopt\fR may be the default value even for StylePixmaps that can make use of the extra options. Currently, the \fIopt\fR argument is unused.
@@ -1013,7 +1013,7 @@ l - l. StylePixmap Widget Cast SP_TitleBarMinButton (const TQWidget *) SP_TitleB
</center>
.PP
See also StylePixmap.
-.SH "QRect QStyle::subRect ( SubRect subrect, const TQWidget * widget ) const\fC [pure virtual]\fR"
+.SH "QRect TQStyle::subRect ( SubRect subrect, const TQWidget * widget ) const\fC [pure virtual]\fR"
Returns the sub-area \fIsubrect\fR for the \fIwidget\fR in logical coordinates.
.PP
The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. The widget can be cast to the appropriate type based on the value of \fIsubrect\fR. See the table below for the appropriate \fIwidget\fR casts:
@@ -1038,25 +1038,25 @@ The tear-off handle (SR_DockWindowHandleRect) for QDockWindow is a private class
.fi
.PP
See also SubRect.
-.SH "void QStyle::tabbarMetrics ( const TQWidget * t, int & hf, int & vf, int & ov ) const"
+.SH "void TQStyle::tabbarMetrics ( const TQWidget * t, int & hf, int & vf, int & ov ) const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
-.SH "void QStyle::unPolish ( TQWidget * )\fC [virtual]\fR"
+.SH "void TQStyle::unPolish ( TQWidget * )\fC [virtual]\fR"
Undoes the initialization of a widget's appearance.
.PP
This function is the counterpart to polish. It is called for every polished widget when the style is dynamically changed. The former style has to unpolish its settings before the new style can polish them again.
.PP
See also polish().
-.SH "void QStyle::unPolish ( QApplication * )\fC [virtual]\fR"
+.SH "void TQStyle::unPolish ( QApplication * )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Undoes the application polish.
.PP
See also polish().
-.SH "QRect QStyle::visualRect ( const QRect & logical, const TQWidget * w )\fC [static]\fR"
+.SH "QRect TQStyle::visualRect ( const QRect & logical, const TQWidget * w )\fC [static]\fR"
Returns the rect \fIlogical\fR in screen coordinates. The bounding rect for widget \fIw\fR is used to perform the translation. This function is provided to aid style implementors in supporting right-to-left mode.
.PP
See also QApplication::reverseLayout().
-.SH "QRect QStyle::visualRect ( const QRect & logical, const QRect & bounding )\fC [static]\fR"
+.SH "QRect TQStyle::visualRect ( const QRect & logical, const QRect & bounding )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the rect \fIlogical\fR in screen coordinates. The rect \fIbounding\fR is used to perform the translation. This function is provided to aid style implementors in supporting right-to-left mode.
@@ -1064,7 +1064,7 @@ Returns the rect \fIlogical\fR in screen coordinates. The rect \fIbounding\fR is
See also QApplication::reverseLayout().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqstyle.html
+.BR http://doc.trolltech.com/tqstyle.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the