diff options
Diffstat (limited to 'doc/man/man3/tqstyle.3qt')
-rw-r--r-- | doc/man/man3/tqstyle.3qt | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt index d975ad6f0..1204c089c 100644 --- a/doc/man/man3/tqstyle.3qt +++ b/doc/man/man3/tqstyle.3qt @@ -39,7 +39,7 @@ Inherited by QCommonStyle. .BI "virtual void \fBpolish\fR ( QPalette & )" .br .ti -1c -.BI "virtual void \fBpolishPopupMenu\fR ( QPopupMenu * ) = 0" +.BI "virtual void \fBpolishPopupMenu\fR ( TQPopupMenu * ) = 0" .br .ti -1c .BI "virtual QRect \fBitemRect\fR ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const" @@ -99,7 +99,7 @@ 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 TQStyleOption & opt = TQStyleOption::Default ) const = 0" +.BI "virtual TQSize \fBsizeFromContents\fR ( ContentsType contents, const TQWidget * widget, const TQSize & 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 }" @@ -120,7 +120,7 @@ Inherited by QCommonStyle. .BI "void tabbarMetrics ( const TQWidget * t, int & hf, int & vf, int & ov ) const \fI(obsolete)\fR" .br .ti -1c -.BI "QSize scrollBarExtent () const \fI(obsolete)\fR" +.BI "TQSize scrollBarExtent () const \fI(obsolete)\fR" .br .in -1c .SS "Static Public Members" @@ -242,7 +242,7 @@ This enum represents a ControlElement. A ControlElement is part of a widget that .TP \fCTQStyle::CE_ProgressBarLabel\fR - the text label of a QProgressBar. .TP -\fCTQStyle::CE_PopupMenuItem\fR - a menu item in a QPopupMenu. +\fCTQStyle::CE_PopupMenuItem\fR - a menu item in a TQPopupMenu. .TP \fCTQStyle::CE_PopupMenuScroller\fR - scrolling areas in a popumenu when the style supports scrolling. .TP @@ -250,11 +250,11 @@ This enum represents a ControlElement. A ControlElement is part of a widget that .TP \fCTQStyle::CE_PopupMenuVerticalExtra\fR - extra frame area set aside with PM_PopupMenuFrameVerticalExtra .TP -\fCTQStyle::CE_MenuBarItem\fR - a menu item in a QMenuBar. +\fCTQStyle::CE_MenuBarItem\fR - a menu item in a TQMenuBar. .TP \fCTQStyle::CE_ToolButtonLabel\fR - a tool button's label. .TP -\fCTQStyle::CE_MenuBarEmptyArea\fR - the empty area of a QMenuBar. +\fCTQStyle::CE_MenuBarEmptyArea\fR - the empty area of a TQMenuBar. .TP \fCTQStyle::CE_DockWindowEmptyArea\fR - the empty area of a QDockWindow. .TP @@ -380,9 +380,9 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c .TP \fCTQStyle::PE_ButtonBevel\fR - generic button bevel. .TP -\fCTQStyle::PE_ButtonTool\fR - tool button, for example, a QToolButton. +\fCTQStyle::PE_ButtonTool\fR - tool button, for example, a TQToolButton. .TP -\fCTQStyle::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, TQPopupMenu. .TP \fCTQStyle::PE_FocusRect\fR - generic focus indicator. .TP @@ -410,7 +410,7 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c .TP \fCTQStyle::PE_ExclusiveIndicatorMask\fR - bitmap mask for an exclusive indicator. .TP -\fCTQStyle::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 TQToolBars. .TP \fCTQStyle::PE_DockWindowSeparator\fR - item separator for dock window and toolbar contents. .TP @@ -420,7 +420,7 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c .TP \fCTQStyle::PE_Panel\fR - generic panel frame; see also QFrame. .TP -\fCTQStyle::PE_PanelPopup\fR - panel frame for popup windows/menus; see also QPopupMenu. +\fCTQStyle::PE_PanelPopup\fR - panel frame for popup windows/menus; see also TQPopupMenu. .TP \fCTQStyle::PE_PanelMenuBar\fR - panel frame for menu bars. .TP @@ -438,7 +438,7 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c .TP \fCTQStyle::PE_HeaderArrow\fR - arrow used to indicate sorting on a list or table header .TP -\fCTQStyle::PE_StatusBarSection\fR - section of a status bar; see also QStatusBar. +\fCTQStyle::PE_StatusBarSection\fR - section of a status bar; see also TQStatusBar. .TP \fCTQStyle::PE_GroupBoxFrame\fR - frame around a group box; see also QGroupBox. .TP @@ -446,7 +446,7 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c .TP \fCTQStyle::PE_Separator\fR - generic separator. .TP -\fCTQStyle::PE_SizeGrip\fR - window resize handle; see also QSizeGrip. +\fCTQStyle::PE_SizeGrip\fR - window resize handle; see also TQSizeGrip. .TP \fCTQStyle::PE_CheckMark\fR - generic check mark; see also QCheckBox. .TP @@ -604,9 +604,9 @@ This enum represents a StyleHint. A StyleHint is a general look and/or feel hint .TP \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 -\fCTQStyle::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 TQToolButtons should use a 3D frame when the mouse is over them .TP -\fCTQStyle::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 TQToolBox. .TP \fCTQStyle::SH_LineEdit_PasswordCharacter\fR - The TQChar Unicode character to be used for passwords. .TP @@ -618,7 +618,7 @@ See also styleHint(). .SH "TQStyle::StylePixmap" This enum represents a StylePixmap. A StylePixmap is a pixmap that can follow some existing GUI style or guideline. .TP -\fCTQStyle::SP_TitleBarMinButton\fR - minimize button on titlebars. For example, in a QWorkspace. +\fCTQStyle::SP_TitleBarMinButton\fR - minimize button on titlebars. For example, in a TQWorkspace. .TP \fCTQStyle::SP_TitleBarMaxButton\fR - maximize button on titlebars. .TP @@ -688,9 +688,9 @@ This enum represents a SubControl within a ComplexControl. .TP \fCTQStyle::SC_SliderTickmarks\fR - slider tickmarks. .TP -\fCTQStyle::SC_ToolButton\fR - tool button; see also QToolbutton. +\fCTQStyle::SC_ToolButton\fR - tool button; see also TQToolbutton. .TP -\fCTQStyle::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 TQPopupMenu. .TP \fCTQStyle::SC_TitleBarSysMenu\fR - system menu button (i.e. restore, close, etc.). .TP @@ -793,7 +793,7 @@ 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. TQStyleOption ( 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 TQToolButton *) 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. TQStyleOption ( QListViewItem *item ) .TP @@ -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. TQStyleOption ( QMenuItem *mi, int tabwidth, int maxpmwidth ) +Style_HasFocus Set if the progressbar has input focus. CE_PopupMenuItem(const TQPopupMenu *) Style_Enabled Set if the menuitem is enabled. TQStyleOption ( TQMenuItem *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 TQStyleOption ( QMenuItem *mi ) +opt.maxIconWidth() \fImi\fR is the menu item being drawn. TQMenuItem 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 TQMenuBar *) Style_Enabled Set if the menuitem is enabled TQStyleOption ( TQMenuItem *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. TQStyleOption ( 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 TQToolButton *) 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 @@ -965,8 +965,8 @@ This is an overloaded member function, provided for convenience. It behaves esse 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 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 "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" 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 @@ -979,16 +979,16 @@ Returns the rect for the SubControl \fIsubcontrol\fR for \fIwidget\fR in logical 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 TQStyle::scrollBarExtent () const" +.SH "TQSize 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 TQStyle::sizeFromContents ( ContentsType contents, const TQWidget * widget, const QSize & contentsSize, const TQStyleOption & opt = TQStyleOption::Default ) const\fC [pure virtual]\fR" +.SH "TQSize TQStyle::sizeFromContents ( ContentsType contents, const TQWidget * widget, const TQSize & 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 *) TQStyleOption ( 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 TQToolButton *) Unused. CT_ComboBox (const QComboBox *) Unused. CT_Splitter (const QSplitter *) Unused. CT_DockWindow (const QDockWindow *) Unused. CT_ProgressBar (const QProgressBar *) Unused. CT_PopupMenuItem (const TQPopupMenu *) TQStyleOption ( TQMenuItem *mi ) .TP opt.menuItem() .TE |