diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-20 20:15:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-21 23:04:19 +0900 |
commit | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch) | |
tree | 5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/man/man3/tqstyle.3qt | |
parent | 14c414378d96f7463b989384f4a0e5dd76632b6d (diff) | |
download | tqt-1e9fa8e0.tar.gz tqt-1e9fa8e0.zip |
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqstyle.3qt')
-rw-r--r-- | doc/man/man3/tqstyle.3qt | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt index c4badfa90..8f2ccd002 100644 --- a/doc/man/man3/tqstyle.3qt +++ b/doc/man/man3/tqstyle.3qt @@ -36,16 +36,16 @@ Inherited by QCommonStyle. .BI "virtual void \fBunPolish\fR ( QApplication * )" .br .ti -1c -.BI "virtual void \fBpolish\fR ( QPalette & )" +.BI "virtual void \fBpolish\fR ( TQPalette & )" .br .ti -1c .BI "virtual void \fBpolishPopupMenu\fR ( TQPopupMenu * ) = 0" .br .ti -1c -.BI "virtual QRect \fBitemRect\fR ( TQPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const" +.BI "virtual TQRect \fBitemRect\fR ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const" .br .ti -1c -.BI "virtual void \fBdrawItem\fR ( TQPainter * p, const QRect & r, int flags, const TQColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const" +.BI "virtual void \fBdrawItem\fR ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const" .br .ti -1c .BI "enum \fBPrimitiveElement\fR { PE_ButtonCommand, PE_ButtonDefault, PE_ButtonBevel, PE_ButtonTool, PE_ButtonDropDown, PE_FocusRect, PE_ArrowUp, PE_ArrowDown, PE_ArrowRight, PE_ArrowLeft, PE_SpinWidgetUp, PE_SpinWidgetDown, PE_SpinWidgetPlus, PE_SpinWidgetMinus, PE_Indicator, PE_IndicatorMask, PE_ExclusiveIndicator, PE_ExclusiveIndicatorMask, PE_DockWindowHandle, PE_DockWindowSeparator, PE_DockWindowResizeHandle, PE_Splitter, PE_Panel, PE_PanelPopup, PE_PanelMenuBar, PE_PanelDockWindow, PE_TabBarBase, PE_HeaderSection, PE_HeaderArrow, PE_StatusBarSection, PE_GroupBoxFrame, PE_Separator, PE_SizeGrip, PE_CheckMark, PE_ScrollBarAddLine, PE_ScrollBarSubLine, PE_ScrollBarAddPage, PE_ScrollBarSubPage, PE_ScrollBarSlider, PE_ScrollBarFirst, PE_ScrollBarLast, PE_ProgressBarChunk, PE_PanelLineEdit, PE_PanelTabWidget, PE_WindowFrame, PE_CheckListController, PE_CheckListIndicator, PE_CheckListExclusiveIndicator, PE_PanelGroupBox, PE_RubberBand, PE_CustomBase = 0xf000000 }" @@ -54,22 +54,22 @@ 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, TQPainter * p, const QRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawPrimitive\fR ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & 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, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawControl\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c -.BI "virtual void \fBdrawControlMask\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawControlMask\fR ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & 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 }" .br .ti -1c -.BI "virtual QRect \fBsubRect\fR ( SubRect subrect, const TQWidget * widget ) const = 0" +.BI "virtual TQRect \fBsubRect\fR ( SubRect subrect, const TQWidget * widget ) const = 0" .br .ti -1c .BI "enum \fBComplexControl\fR { CC_SpinWidget, CC_ComboBox, CC_ScrollBar, CC_Slider, CC_ToolButton, CC_TitleBar, CC_ListView, CC_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, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawComplexControl\fR ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & 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, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual void \fBdrawComplexControlMask\fR ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" .br .ti -1c -.BI "virtual QRect \fBquerySubControlMetrics\fR ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual TQRect \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 TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual SubControl \fBquerySubControl\fR ( ComplexControl control, const TQWidget * widget, const TQPoint & 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 }" @@ -111,7 +111,7 @@ Inherited by QCommonStyle. .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 TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual TQPixmap \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" @@ -126,10 +126,10 @@ Inherited by QCommonStyle. .SS "Static Public Members" .in +1c .ti -1c -.BI "QRect \fBvisualRect\fR ( const QRect & logical, const TQWidget * w )" +.BI "TQRect \fBvisualRect\fR ( const TQRect & logical, const TQWidget * w )" .br .ti -1c -.BI "QRect \fBvisualRect\fR ( const QRect & logical, const QRect & bounding )" +.BI "TQRect \fBvisualRect\fR ( const TQRect & logical, const TQRect & bounding )" .br .in -1c .SH DESCRIPTION @@ -780,7 +780,7 @@ Constructs a TQStyle. Destroys the style and frees all allocated resources. .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 TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & 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(). @@ -803,13 +803,13 @@ opt.listViewItem() </center> .PP See also ComplexControl and SubControl. -.SH "void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & 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 TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & 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. @@ -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 TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const QRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & 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 TQStyle::drawItem ( TQPainter * p, const QRect & r, int flags, const TQColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const\fC [virtual]\fR" +.SH "void TQStyle::drawItem ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * 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 TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const QRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & 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. @@ -928,7 +928,7 @@ For all other PrimitiveElements, \fIopt\fR is unused. See also StyleFlags. .PP Example: themes/wood.cpp. -.SH "QRect TQStyle::itemRect ( TQPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR" +.SH "TQRect TQStyle::itemRect ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * 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). @@ -959,21 +959,21 @@ This is an overloaded member function, provided for convenience. It behaves esse Late initialization of the QApplication object. .PP See also unPolish(). -.SH "void TQStyle::polish ( QPalette & )\fC [virtual]\fR" +.SH "void TQStyle::polish ( TQPalette & )\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(). +See also TQPalette and QApplication::setPalette(). .SH "void TQStyle::polishPopupMenu ( TQPopupMenu * )\fC [pure virtual]\fR" Polishes the popup menu according to the GUI style. This usually means setting the mouse tracking (TQPopupMenu::setMouseTracking()) and whether the menu is checkable by default (TQPopupMenu::setCheckable()). -.SH "SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const QPoint & pos, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "SubControl TQStyle::querySubControl ( ComplexControl control, const TQWidget * widget, const TQPoint & 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 TQStyle::querySubControlMetrics ( ComplexControl control, const TQWidget * widget, SubControl subcontrol, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "TQRect 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. @@ -998,7 +998,7 @@ opt.menuItem() 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 TQStyle::stylePixmap ( StylePixmap stylepixmap, const TQWidget * widget = 0, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "TQPixmap 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 TQStyle::subRect ( SubRect subrect, const TQWidget * widget ) const\fC [pure virtual]\fR" +.SH "TQRect 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: @@ -1052,11 +1052,11 @@ This is an overloaded member function, provided for convenience. It behaves esse Undoes the application polish. .PP See also polish(). -.SH "QRect TQStyle::visualRect ( const QRect & logical, const TQWidget * w )\fC [static]\fR" +.SH "TQRect TQStyle::visualRect ( const TQRect & 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 TQStyle::visualRect ( const QRect & logical, const QRect & bounding )\fC [static]\fR" +.SH "TQRect TQStyle::visualRect ( const TQRect & logical, const TQRect & 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. |