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/tqwidget.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/tqwidget.3qt')
-rw-r--r-- | doc/man/man3/tqwidget.3qt | 238 |
1 files changed, 119 insertions, 119 deletions
diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index df77229c4..bc612f78d 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and TQPaintDevice. .PP -Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, QDesktopWidget, QDial, QDockArea, QGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, QScrollBar, TQSizeGrip, QSlider, QSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. +Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, QDesktopWidget, QDial, QDockArea, TQGLWidget, QHeader, TQMainWindow, QMotifWidget, QNPWidget, QScrollBar, TQSizeGrip, QSlider, QSpinBox, QSplashScreen, TQStatusBar, QTabBar, QTabWidget, TQWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c @@ -60,10 +60,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool isEnabledToTLW () const \fI(obsolete)\fR" .br .ti -1c -.BI "QRect \fBframeGeometry\fR () const" +.BI "TQRect \fBframeGeometry\fR () const" .br .ti -1c -.BI "const QRect & \fBgeometry\fR () const" +.BI "const TQRect & \fBgeometry\fR () const" .br .ti -1c .BI "int \fBx\fR () const" @@ -72,7 +72,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "int \fBy\fR () const" .br .ti -1c -.BI "QPoint \fBpos\fR () const" +.BI "TQPoint \fBpos\fR () const" .br .ti -1c .BI "TQSize \fBframeSize\fR () const" @@ -87,13 +87,13 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "int \fBheight\fR () const" .br .ti -1c -.BI "QRect \fBrect\fR () const" +.BI "TQRect \fBrect\fR () const" .br .ti -1c -.BI "QRect \fBchildrenRect\fR () const" +.BI "TQRect \fBchildrenRect\fR () const" .br .ti -1c -.BI "QRegion \fBchildrenRegion\fR () const" +.BI "TQRegion \fBchildrenRegion\fR () const" .br .ti -1c .BI "TQSize \fBminimumSize\fR () const" @@ -168,22 +168,22 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBsetFixedHeight\fR ( int h )" .br .ti -1c -.BI "QPoint \fBmapToGlobal\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapToGlobal\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapFromGlobal\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapFromGlobal\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapToParent\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapToParent\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapFromParent\fR ( const QPoint & pos ) const" +.BI "TQPoint \fBmapFromParent\fR ( const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapTo\fR ( TQWidget * parent, const QPoint & pos ) const" +.BI "TQPoint \fBmapTo\fR ( TQWidget * parent, const TQPoint & pos ) const" .br .ti -1c -.BI "QPoint \fBmapFrom\fR ( TQWidget * parent, const QPoint & pos ) const" +.BI "TQPoint \fBmapFrom\fR ( TQWidget * parent, const TQPoint & pos ) const" .br .ti -1c .BI "TQWidget * \fBtopLevelWidget\fR () const" @@ -207,22 +207,22 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetEraseColor\fR ( const TQColor & color )" .br .ti -1c -.BI "const QPixmap * \fBerasePixmap\fR () const" +.BI "const TQPixmap * \fBerasePixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetErasePixmap\fR ( const QPixmap & pixmap )" +.BI "virtual void \fBsetErasePixmap\fR ( const TQPixmap & pixmap )" .br .ti -1c .BI "const TQColorGroup & \fBcolorGroup\fR () const" .br .ti -1c -.BI "const QPalette & \fBpalette\fR () const" +.BI "const TQPalette & \fBpalette\fR () const" .br .ti -1c .BI "bool \fBownPalette\fR () const" .br .ti -1c -.BI "virtual void \fBsetPalette\fR ( const QPalette & )" +.BI "virtual void \fBsetPalette\fR ( const TQPalette & )" .br .ti -1c .BI "void \fBunsetPalette\fR ()" @@ -240,10 +240,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetPaletteBackgroundColor\fR ( const TQColor & )" .br .ti -1c -.BI "const QPixmap * \fBpaletteBackgroundPixmap\fR () const" +.BI "const TQPixmap * \fBpaletteBackgroundPixmap\fR () const" .br .ti -1c -.BI "virtual void \fBsetPaletteBackgroundPixmap\fR ( const QPixmap & )" +.BI "virtual void \fBsetPaletteBackgroundPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "const TQBrush & \fBbackgroundBrush\fR () const" @@ -282,7 +282,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQString \fBcaption\fR () const" .br .ti -1c -.BI "const QPixmap * \fBicon\fR () const" +.BI "const TQPixmap * \fBicon\fR () const" .br .ti -1c .BI "TQString \fBiconText\fR () const" @@ -297,7 +297,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetMask\fR ( const TQBitmap & bitmap )" .br .ti -1c -.BI "virtual void \fBsetMask\fR ( const QRegion & region )" +.BI "virtual void \fBsetMask\fR ( const TQRegion & region )" .br .ti -1c .BI "void \fBclearMask\fR ()" @@ -309,10 +309,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void setBackgroundColor ( const TQColor & c ) \fI(obsolete)\fR" .br .ti -1c -.BI "const QPixmap * backgroundPixmap () const \fI(obsolete)\fR" +.BI "const TQPixmap * backgroundPixmap () const \fI(obsolete)\fR" .br .ti -1c -.BI "virtual void setBackgroundPixmap ( const QPixmap & pm ) \fI(obsolete)\fR" +.BI "virtual void setBackgroundPixmap ( const TQPixmap & pm ) \fI(obsolete)\fR" .br .ti -1c .BI "enum \fBFocusPolicy\fR { NoFocus = 0, TabFocus = 0x1, ClickFocus = 0x2, StrongFocus = TabFocus | ClickFocus | 0x8, WheelFocus = StrongFocus | 0x4 }" @@ -378,7 +378,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool isVisibleToTLW () const \fI(obsolete)\fR" .br .ti -1c -.BI "QRect visibleRect () const \fI(obsolete)\fR" +.BI "TQRect visibleRect () const \fI(obsolete)\fR" .br .ti -1c .BI "bool \fBisHidden\fR () const" @@ -420,7 +420,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual int \fBheightForWidth\fR ( int w ) const" .br .ti -1c -.BI "QRegion \fBclipRegion\fR () const" +.BI "TQRegion \fBclipRegion\fR () const" .br .ti -1c .BI "QLayout * \fBlayout\fR () const" @@ -429,13 +429,13 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBupdateGeometry\fR ()" .br .ti -1c -.BI "virtual void \fBreparent\fR ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE )" +.BI "virtual void \fBreparent\fR ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE )" .br .ti -1c -.BI "void \fBreparent\fR ( TQWidget * parent, const QPoint & p, bool showIt = FALSE )" +.BI "void \fBreparent\fR ( TQWidget * parent, const TQPoint & p, bool showIt = FALSE )" .br .ti -1c -.BI "void recreate ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE ) \fI(obsolete)\fR" +.BI "void recreate ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE ) \fI(obsolete)\fR" .br .ti -1c .BI "void \fBerase\fR ()" @@ -444,28 +444,28 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBerase\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBerase\fR ( const QRect & r )" +.BI "void \fBerase\fR ( const TQRect & r )" .br .ti -1c -.BI "void \fBerase\fR ( const QRegion & reg )" +.BI "void \fBerase\fR ( const TQRegion & reg )" .br .ti -1c .BI "void \fBscroll\fR ( int dx, int dy )" .br .ti -1c -.BI "void \fBscroll\fR ( int dx, int dy, const QRect & r )" +.BI "void \fBscroll\fR ( int dx, int dy, const TQRect & r )" .br .ti -1c .BI "void \fBdrawText\fR ( int x, int y, const TQString & str )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QPoint & pos, const TQString & str )" +.BI "void \fBdrawText\fR ( const TQPoint & pos, const TQString & str )" .br .ti -1c .BI "TQWidget * \fBfocusWidget\fR () const" .br .ti -1c -.BI "QRect \fBmicroFocusHint\fR () const" +.BI "TQRect \fBmicroFocusHint\fR () const" .br .ti -1c .BI "bool \fBacceptDrops\fR () const" @@ -501,7 +501,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQWidget * \fBchildAt\fR ( int x, int y, bool includeThis = FALSE ) const" .br .ti -1c -.BI "TQWidget * \fBchildAt\fR ( const QPoint & p, bool includeThis = FALSE ) const" +.BI "TQWidget * \fBchildAt\fR ( const TQPoint & p, bool includeThis = FALSE ) const" .br .ti -1c .BI "void \fBsetWindowOpacity\fR ( double level )" @@ -510,7 +510,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "double \fBwindowOpacity\fR () const" .br .ti -1c -.BI "void setPalette ( const QPalette & p, bool ) \fI(obsolete)\fR" +.BI "void setPalette ( const TQPalette & p, bool ) \fI(obsolete)\fR" .br .ti -1c .BI "void setFont ( const TQFont & f, bool ) \fI(obsolete)\fR" @@ -528,7 +528,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetCaption\fR ( const TQString & )" .br .ti -1c -.BI "virtual void \fBsetIcon\fR ( const QPixmap & )" +.BI "virtual void \fBsetIcon\fR ( const TQPixmap & )" .br .ti -1c .BI "virtual void \fBsetIconText\fR ( const TQString & )" @@ -552,7 +552,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBupdate\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBupdate\fR ( const QRect & r )" +.BI "void \fBupdate\fR ( const TQRect & r )" .br .ti -1c .BI "void \fBrepaint\fR ()" @@ -564,10 +564,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "void \fBrepaint\fR ( int x, int y, int w, int h, bool erase = TRUE )" .br .ti -1c -.BI "void \fBrepaint\fR ( const QRect & r, bool erase = TRUE )" +.BI "void \fBrepaint\fR ( const TQRect & r, bool erase = TRUE )" .br .ti -1c -.BI "void \fBrepaint\fR ( const QRegion & reg, bool erase = TRUE )" +.BI "void \fBrepaint\fR ( const TQRegion & reg, bool erase = TRUE )" .br .ti -1c .BI "virtual void \fBshow\fR ()" @@ -618,7 +618,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBmove\fR ( int x, int y )" .br .ti -1c -.BI "void \fBmove\fR ( const QPoint & )" +.BI "void \fBmove\fR ( const TQPoint & )" .br .ti -1c .BI "virtual void \fBresize\fR ( int w, int h )" @@ -630,7 +630,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBsetGeometry\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "virtual void \fBsetGeometry\fR ( const QRect & )" +.BI "virtual void \fBsetGeometry\fR ( const TQRect & )" .br .ti -1c .BI "virtual void \fBadjustSize\fR ()" @@ -675,10 +675,10 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQString \fBcaption\fR - the window caption (title)" .br .ti -1c -.BI "QRect \fBchildrenRect\fR - the bounding rectangle of the widget's children \fI(read " "only" ")\fR" +.BI "TQRect \fBchildrenRect\fR - the bounding rectangle of the widget's children \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRegion \fBchildrenRegion\fR - the combined region occupied by the widget's children \fI(read " "only" ")\fR" +.BI "TQRegion \fBchildrenRegion\fR - the combined region occupied by the widget's children \fI(read " "only" ")\fR" .br .ti -1c .BI "TQColorGroup \fBcolorGroup\fR - the current color group of the widget palette \fI(read " "only" ")\fR" @@ -705,7 +705,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "TQFont \fBfont\fR - the font currently set for the widget" .br .ti -1c -.BI "QRect \fBframeGeometry\fR - geometry of the widget relative to its parent including any window frame \fI(read " "only" ")\fR" +.BI "TQRect \fBframeGeometry\fR - geometry of the widget relative to its parent including any window frame \fI(read " "only" ")\fR" .br .ti -1c .BI "TQSize \fBframeSize\fR - the size of the widget including any window frame \fI(read " "only" ")\fR" @@ -714,7 +714,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBfullScreen\fR - whether the widget is full screen \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRect \fBgeometry\fR - the geometry of the widget relative to its parent and excluding the window frame" +.BI "TQRect \fBgeometry\fR - the geometry of the widget relative to its parent and excluding the window frame" .br .ti -1c .BI "int \fBheight\fR - the height of the widget excluding any window frame \fI(read " "only" ")\fR" @@ -723,7 +723,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBhidden\fR - whether the widget is explicitly hidden" .br .ti -1c -.BI "QPixmap \fBicon\fR - the widget's icon" +.BI "TQPixmap \fBicon\fR - the widget's icon" .br .ti -1c .BI "TQString \fBiconText\fR - the widget's icon text" @@ -762,7 +762,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "int \fBmaximumWidth\fR - the widget's maximum width" .br .ti -1c -.BI "QRect \fBmicroFocusHint\fR - the currently set micro focus hint for this widget \fI(read " "only" ")\fR" +.BI "TQRect \fBmicroFocusHint\fR - the currently set micro focus hint for this widget \fI(read " "only" ")\fR" .br .ti -1c .BI "bool \fBminimized\fR - whether this widget is minimized (iconified) \fI(read " "only" ")\fR" @@ -792,22 +792,22 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBownPalette\fR - whether the widget uses its own palette \fI(read " "only" ")\fR" .br .ti -1c -.BI "QPalette \fBpalette\fR - the widget's palette" +.BI "TQPalette \fBpalette\fR - the widget's palette" .br .ti -1c .BI "TQColor \fBpaletteBackgroundColor\fR - the background color of the widget" .br .ti -1c -.BI "QPixmap \fBpaletteBackgroundPixmap\fR - the background pixmap of the widget" +.BI "TQPixmap \fBpaletteBackgroundPixmap\fR - the background pixmap of the widget" .br .ti -1c .BI "TQColor \fBpaletteForegroundColor\fR - the foreground color of the widget" .br .ti -1c -.BI "QPoint \fBpos\fR - the position of the widget within its parent widget" +.BI "TQPoint \fBpos\fR - the position of the widget within its parent widget" .br .ti -1c -.BI "QRect \fBrect\fR - the internal geometry of the widget excluding any window frame \fI(read " "only" ")\fR" +.BI "TQRect \fBrect\fR - the internal geometry of the widget excluding any window frame \fI(read " "only" ")\fR" .br .ti -1c .BI "bool \fBshown\fR - whether the widget is shown" @@ -834,7 +834,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "bool \fBvisible\fR - whether the widget is visible \fI(read " "only" ")\fR" .br .ti -1c -.BI "QRect visibleRect - the visible rectangle \fI(read " "only" ")\fR \fI(obsolete)\fR" +.BI "TQRect visibleRect - the visible rectangle \fI(read " "only" ")\fR \fI(obsolete)\fR" .br .ti -1c .BI "int \fBwidth\fR - the width of the widget excluding any window frame \fI(read " "only" ")\fR" @@ -951,7 +951,7 @@ Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQD .BI "virtual void \fBenabledChange\fR ( bool oldEnabled )" .br .ti -1c -.BI "virtual void \fBpaletteChange\fR ( const QPalette & oldPalette )" +.BI "virtual void \fBpaletteChange\fR ( const TQPalette & oldPalette )" .br .ti -1c .BI "virtual void \fBfontChange\fR ( const TQFont & oldFont )" @@ -1177,7 +1177,7 @@ Returns the widget's background brush. See the "backgroundBrush" property for de Returns the color role used for painting the background of the widget. See the "backgroundMode" property for details. .SH "BackgroundOrigin TQWidget::backgroundOrigin () const" Returns the origin of the widget's background. See the "backgroundOrigin" property for details. -.SH "const QPixmap * TQWidget::backgroundPixmap () const" +.SH "const TQPixmap * TQWidget::backgroundPixmap () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use paletteBackgroundPixmap() or erasePixmap() instead. .PP Examples: @@ -1190,15 +1190,15 @@ Returns the window caption (title). See the "caption" property for details. Returns the visible child widget at pixel position \fI(x, y)\fR in the widget's own coordinate system. .PP If \fIincludeThis\fR is TRUE, and there is no child visible at \fI(x, y)\fR, the widget itself is returned. -.SH "TQWidget * TQWidget::childAt ( const QPoint & p, bool includeThis = FALSE ) const" +.SH "TQWidget * TQWidget::childAt ( const TQPoint & p, bool includeThis = FALSE ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the visible child widget at point \fIp\fR in the widget's own coordinate system. .PP If \fIincludeThis\fR is TRUE, and there is no child visible at \fIp\fR, the widget itself is returned. -.SH "QRect TQWidget::childrenRect () const" +.SH "TQRect TQWidget::childrenRect () const" Returns the bounding rectangle of the widget's children. See the "childrenRect" property for details. -.SH "QRegion TQWidget::childrenRegion () const" +.SH "TQRegion TQWidget::childrenRegion () const" Returns the combined region occupied by the widget's children. See the "childrenRegion" property for details. .SH "void TQWidget::clearFocus ()\fC [slot]\fR" Takes keyboard input focus from the widget. @@ -1218,7 +1218,7 @@ Clears the widget flags \fIf\fR. Widget flags are a combination of TQt::WidgetFlags. .PP See also testWFlags(), getWFlags(), and setWFlags(). -.SH "QRegion TQWidget::clipRegion () const" +.SH "TQRegion TQWidget::clipRegion () const" Returns the unobscured region where paint events can occur. .PP For visible widgets, this is an approximation of the area not covered by other widgets; otherwise, this is an empty region. @@ -1318,7 +1318,7 @@ The \fIy\fR position is the base line position of the text. The text is drawn us This function is provided for convenience. You will generally get more flexible results and often higher speed by using a a painter instead. .PP See also font, foregroundColor(), and TQPainter::drawText(). -.SH "void TQWidget::drawText ( const QPoint & pos, const TQString & str )" +.SH "void TQWidget::drawText ( const TQPoint & pos, const TQString & str )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the string \fIstr\fR at position \fIpos\fR. @@ -1356,11 +1356,11 @@ See also repaint(). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version erases the entire widget. -.SH "void TQWidget::erase ( const QRect & r )" +.SH "void TQWidget::erase ( const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Erases the specified area \fIr\fR in the widget without generating a paint event. -.SH "void TQWidget::erase ( const QRegion & reg )" +.SH "void TQWidget::erase ( const TQRegion & reg )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Erases the area defined by \fIreg\fR, without generating a paint event. @@ -1370,7 +1370,7 @@ Child widgets are not affected. Returns the erase color of the widget. .PP See also setEraseColor(), setErasePixmap(), and backgroundColor(). -.SH "const QPixmap * TQWidget::erasePixmap () const" +.SH "const TQPixmap * TQWidget::erasePixmap () const" Returns the widget's erase pixmap. .PP See also setErasePixmap() and eraseColor(). @@ -1457,11 +1457,11 @@ Examples: .)l drawdemo/drawdemo.cpp and qmag/qmag.cpp. .SH "const TQColor & TQWidget::foregroundColor () const" Same as paletteForegroundColor() -.SH "QRect TQWidget::frameGeometry () const" +.SH "TQRect TQWidget::frameGeometry () const" Returns geometry of the widget relative to its parent including any window frame. See the "frameGeometry" property for details. .SH "TQSize TQWidget::frameSize () const" Returns the size of the widget including any window frame. See the "frameSize" property for details. -.SH "const QRect & TQWidget::geometry () const" +.SH "const TQRect & TQWidget::geometry () const" Returns the geometry of the widget relative to its parent and excluding the window frame. See the "geometry" property for details. .SH "WFlags TQWidget::getWFlags () const\fC [protected]\fR" Returns the widget flags for this this widget. @@ -1534,7 +1534,7 @@ Hide events are sent to widgets immediately after they have been hidden. See also event() and QHideEvent. .PP Reimplemented in QScrollBar. -.SH "const QPixmap * TQWidget::icon () const" +.SH "const TQPixmap * TQWidget::icon () const" Returns the widget's icon. See the "icon" property for details. .SH "TQString TQWidget::iconText () const" Returns the widget's icon text. See the "iconText" property for details. @@ -1675,31 +1675,31 @@ In your reimplementation of this function, if you want to stop the event being h \fBWarning:\fR This function is not portable. .PP See also QApplication::macEventFilter(). -.SH "QPoint TQWidget::mapFrom ( TQWidget * parent, const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapFrom ( TQWidget * parent, const TQPoint & pos ) const" Translates the widget coordinate \fIpos\fR from the coordinate system of \fIparent\fR to this widget's coordinate system. The \fIparent\fR must not be 0 and must be a parent of the calling widget. .PP See also mapTo(), mapFromParent(), mapFromGlobal(), and underMouse. -.SH "QPoint TQWidget::mapFromGlobal ( const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapFromGlobal ( const TQPoint & pos ) const" Translates the global screen coordinate \fIpos\fR to widget coordinates. .PP See also mapToGlobal(), mapFrom(), and mapFromParent(). -.SH "QPoint TQWidget::mapFromParent ( const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapFromParent ( const TQPoint & pos ) const" Translates the parent widget coordinate \fIpos\fR to widget coordinates. .PP Same as mapFromGlobal() if the widget has no parent. .PP See also mapToParent(), mapFrom(), mapFromGlobal(), and underMouse. -.SH "QPoint TQWidget::mapTo ( TQWidget * parent, const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapTo ( TQWidget * parent, const TQPoint & pos ) const" Translates the widget coordinate \fIpos\fR to the coordinate system of \fIparent\fR. The \fIparent\fR must not be 0 and must be a parent of the calling widget. .PP See also mapFrom(), mapToParent(), mapToGlobal(), and underMouse. -.SH "QPoint TQWidget::mapToGlobal ( const QPoint & pos ) const" -Translates the widget coordinate \fIpos\fR to global screen coordinates. For example, \fCmapToGlobal(QPoint(0,0))\fR would give the global coordinates of the top-left pixel of the widget. +.SH "TQPoint TQWidget::mapToGlobal ( const TQPoint & pos ) const" +Translates the widget coordinate \fIpos\fR to global screen coordinates. For example, \fCmapToGlobal(TQPoint(0,0))\fR would give the global coordinates of the top-left pixel of the widget. .PP See also mapFromGlobal(), mapTo(), and mapToParent(). .PP Example: scribble/scribble.cpp. -.SH "QPoint TQWidget::mapToParent ( const QPoint & pos ) const" +.SH "TQPoint TQWidget::mapToParent ( const TQPoint & pos ) const" Translates the widget coordinate \fIpos\fR to a coordinate in the parent widget. .PP Same as mapToGlobal() if the widget has no parent. @@ -1717,7 +1717,7 @@ Internal implementation of the virtual TQPaintDevice::metric() function. Use the TQPaintDeviceMetrics class instead. .PP \fIm\fR is the metric to get. -.SH "QRect TQWidget::microFocusHint () const" +.SH "TQRect TQWidget::microFocusHint () const" Returns the currently set micro focus hint for this widget. See the "microFocusHint" property for details. .SH "int TQWidget::minimumHeight () const" Returns the widget's minimum height. See the "minimumHeight" property for details. @@ -1776,12 +1776,12 @@ See also mouseDoubleClickEvent(), mouseMoveEvent(), event(), and QMouseEvent. .PP Examples: .)l drawlines/connect.cpp, hello/hello.cpp, popup/popup.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, and t14/cannon.cpp. -.SH "void TQWidget::move ( const QPoint & )\fC [slot]\fR" +.SH "void TQWidget::move ( const TQPoint & )\fC [slot]\fR" Sets the position of the widget within its parent widget. See the "pos" property for details. .SH "void TQWidget::move ( int x, int y )\fC [virtual slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This corresponds to move( QPoint(\fIx\fR, \fIy\fR) ). +This corresponds to move( TQPoint(\fIx\fR, \fIy\fR) ). .SH "void TQWidget::moveEvent ( QMoveEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive widget move events. When the widget receives this event, it is already at the new position. .PP @@ -1801,25 +1801,25 @@ A paint event is a request to repaint all or part of the widget. It can happen a .PP Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the requested region: TQPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. QListView and TQCanvas do this, for example. .PP -Qt also tries to speed up painting by merging multiple paint events into one. When update() is called several times or the window system sends several paint events, TQt merges these events into one event with a larger region (see QRegion::unite()). repaint() does not permit this optimization, so we suggest using update() when possible. +Qt also tries to speed up painting by merging multiple paint events into one. When update() is called several times or the window system sends several paint events, TQt merges these events into one event with a larger region (see TQRegion::unite()). repaint() does not permit this optimization, so we suggest using update() when possible. .PP When the paint event occurs, the update region has normally been erased, so that you're painting on the widget's background. There are a couple of exceptions and TQPaintEvent::erased() tells you whether the widget has been erased or not. .PP The background can be set using setBackgroundMode(), setPaletteBackgroundColor() or setBackgroundPixmap(). The documentation for setBackgroundMode() elaborates on the background; we recommend reading it. .PP -See also event(), repaint(), update(), TQPainter, QPixmap, and TQPaintEvent. +See also event(), repaint(), update(), TQPainter, TQPixmap, and TQPaintEvent. .PP Examples: .)l drawlines/connect.cpp, forever/forever.cpp, qmag/qmag.cpp, scribble/scribble.cpp, splitter/splitter.cpp, t8/cannon.cpp, and t9/cannon.cpp. .PP -Reimplemented in QButton, QFrame, QGLWidget, TQSizeGrip, TQStatusBar, and QTabBar. -.SH "const QPalette & TQWidget::palette () const" +Reimplemented in QButton, QFrame, TQGLWidget, TQSizeGrip, TQStatusBar, and QTabBar. +.SH "const TQPalette & TQWidget::palette () const" Returns the widget's palette. See the "palette" property for details. .SH "const TQColor & TQWidget::paletteBackgroundColor () const" Returns the background color of the widget. See the "paletteBackgroundColor" property for details. -.SH "const QPixmap * TQWidget::paletteBackgroundPixmap () const" +.SH "const TQPixmap * TQWidget::paletteBackgroundPixmap () const" Returns the background pixmap of the widget. See the "paletteBackgroundPixmap" property for details. -.SH "void TQWidget::paletteChange ( const QPalette & oldPalette )\fC [virtual protected]\fR" +.SH "void TQWidget::paletteChange ( const TQPalette & oldPalette )\fC [virtual protected]\fR" This virtual function is called from setPalette(). \fIoldPalette\fR is the previous palette; you can get the new palette from palette(). .PP Reimplement this function if your widget needs to know when its palette changes. @@ -1845,7 +1845,7 @@ Remember to call TQWidget's implementation first when reimplementing this functi See also constPolish() and QApplication::polish(). .PP Example: menu/menu.cpp. -.SH "QPoint TQWidget::pos () const" +.SH "TQPoint TQWidget::pos () const" Returns the position of the widget within its parent widget. See the "pos" property for details. .SH "void TQWidget::raise ()\fC [slot]\fR" Raises this widget to the top of the parent widget's stack. @@ -1855,11 +1855,11 @@ After this call the widget will be visually in front of any overlapping sibling See also lower() and stackUnder(). .PP Example: showimg/showimg.cpp. -.SH "void TQWidget::recreate ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE )" +.SH "void TQWidget::recreate ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This method is provided to aid porting from TQt 1.0 to 2.0. It has been renamed reparent() in TQt 2.0. -.SH "QRect TQWidget::rect () const" +.SH "TQRect TQWidget::rect () const" Returns the internal geometry of the widget excluding any window frame. See the "rect" property for details. .SH "void TQWidget::releaseKeyboard ()" Releases the keyboard grab. @@ -1891,13 +1891,13 @@ This version erases and repaints the entire widget. This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version repaints the entire widget. -.SH "void TQWidget::repaint ( const QRect & r, bool erase = TRUE )\fC [slot]\fR" +.SH "void TQWidget::repaint ( const TQRect & r, bool erase = TRUE )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Repaints the widget directly by calling paintEvent() directly, unless updates are disabled or the widget is hidden. .PP Erases the widget region \fIr\fR if \fIerase\fR is TRUE. -.SH "void TQWidget::repaint ( const QRegion & reg, bool erase = TRUE )\fC [slot]\fR" +.SH "void TQWidget::repaint ( const TQRegion & reg, bool erase = TRUE )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Repaints the widget directly by calling paintEvent() directly, unless updates are disabled or the widget is hidden. @@ -1909,7 +1909,7 @@ Only use repaint if your widget needs to be repainted immediately, for example w \fBWarning:\fR If you call repaint() in a function which may itself be called from paintEvent(), you may get infinite recursion. The update() function never causes recursion. .PP See also update(), paintEvent(), updatesEnabled, and erase(). -.SH "void TQWidget::reparent ( TQWidget * parent, WFlags f, const QPoint & p, bool showIt = FALSE )\fC [virtual]\fR" +.SH "void TQWidget::reparent ( TQWidget * parent, WFlags f, const TQPoint & p, bool showIt = FALSE )\fC [virtual]\fR" Reparents the widget. The widget gets a new \fIparent\fR, new widget flags (\fIf\fR, but as usual, use 0) at a new position in its new parent (\fIp\fR). .PP If \fIshowIt\fR is TRUE, show() is called once the widget has been reparented. @@ -1923,7 +1923,7 @@ If the new parent widget is in the same top-level widget as the old parent, repa See also getWFlags(). .PP Example: toplevel/options.ui.h. -.SH "void TQWidget::reparent ( TQWidget * parent, const QPoint & p, bool showIt = FALSE )" +.SH "void TQWidget::reparent ( TQWidget * parent, const TQPoint & p, bool showIt = FALSE )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP A convenience version of reparent that does not take widget flags as argument. @@ -1951,14 +1951,14 @@ See also moveEvent(), event(), size, QResizeEvent, and paintEvent(). Examples: .)l drawdemo/drawdemo.cpp, menu/menu.cpp, qmag/qmag.cpp, scribble/scribble.cpp, showimg/showimg.cpp, tooltip/tooltip.cpp, and xform/xform.cpp. .PP -Reimplemented in QFrame and QGLWidget. +Reimplemented in QFrame and TQGLWidget. .SH "void TQWidget::scroll ( int dx, int dy )" Scrolls the widget including its children \fIdx\fR pixels to the right and \fIdy\fR downwards. Both \fIdx\fR and \fIdy\fR may be negative. .PP After scrolling, scroll() sends a paint event for the the part that is read but not written. For example, when scrolling 10 pixels rightwards, the leftmost ten pixels of the widget need repainting. The paint event may be delivered immediately or later, depending on some heuristics (note that you might have to force processing of paint events using QApplication::sendPostedEvents() when using scroll() and move() in combination). .PP See also QScrollView, erase(), and bitBlt(). -.SH "void TQWidget::scroll ( int dx, int dy, const QRect & r )" +.SH "void TQWidget::scroll ( int dx, int dy, const TQRect & r )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version only scrolls \fIr\fR and does not move the children of the widget. @@ -1997,7 +1997,7 @@ Sets the widget's own background mode to \fIm\fR and the visual background mode For complex controls, the logical background mode sometimes differs from a widget's own background mode. A spinbox for example has PaletteBackground as background mode (typically dark gray), while it's embedded lineedit control uses PaletteBase (typically white). Since the lineedit covers most of the visual area of a spinbox, it defines PaletteBase to be its \fIvisual\fR background mode. Changing the \fCbackgroundColor\fR property thus changes the lineedit control's background, which is exactly what the user expects in \fIQt Designer\fR. .SH "void TQWidget::setBackgroundOrigin ( BackgroundOrigin )\fC [virtual]\fR" Sets the origin of the widget's background. See the "backgroundOrigin" property for details. -.SH "void TQWidget::setBackgroundPixmap ( const QPixmap & pm )\fC [virtual]\fR" +.SH "void TQWidget::setBackgroundPixmap ( const TQPixmap & pm )\fC [virtual]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use setPaletteBackgroundPixmap() or setErasePixmap() instead. .PP Example: desktop/desktop.cpp. @@ -2025,7 +2025,7 @@ Sets the erase color of the widget to \fIcolor\fR. The erase color is the color the widget is to be cleared to before paintEvent() is called. If there is an erase pixmap (set using setErasePixmap()), then this property has an indeterminate value. .PP See also erasePixmap(), backgroundColor(), backgroundMode, and palette. -.SH "void TQWidget::setErasePixmap ( const QPixmap & pixmap )\fC [virtual]\fR" +.SH "void TQWidget::setErasePixmap ( const TQPixmap & pixmap )\fC [virtual]\fR" Sets the widget's erase pixmap to \fIpixmap\fR. .PP This pixmap is used to clear the widget before paintEvent() is called. @@ -2084,15 +2084,15 @@ Reimplemented in QComboBox, QLabel, and QTabDialog. \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use setFont(const TQFont& font) instead. -.SH "void TQWidget::setGeometry ( const QRect & )\fC [virtual slot]\fR" +.SH "void TQWidget::setGeometry ( const TQRect & )\fC [virtual slot]\fR" Sets the geometry of the widget relative to its parent and excluding the window frame. See the "geometry" property for details. .SH "void TQWidget::setGeometry ( int x, int y, int w, int h )\fC [virtual slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -This corresponds to setGeometry( QRect(\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) ). +This corresponds to setGeometry( TQRect(\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) ). .SH "void TQWidget::setHidden ( bool hide )\fC [slot]\fR" Sets whether the widget is explicitly hidden to \fIhide\fR. See the "hidden" property for details. -.SH "void TQWidget::setIcon ( const QPixmap & )\fC [virtual slot]\fR" +.SH "void TQWidget::setIcon ( const TQPixmap & )\fC [virtual slot]\fR" Sets the widget's icon. See the "icon" property for details. .SH "void TQWidget::setIconText ( const TQString & )\fC [virtual slot]\fR" Sets the widget's icon text. See the "iconText" property for details. @@ -2122,7 +2122,7 @@ Note that this effect can be slow if the region is particularly complex. See \fCexamples/tux\fR for an example of masking for transparency. .PP See also clearMask(). -.SH "void TQWidget::setMask ( const QRegion & region )\fC [virtual]\fR" +.SH "void TQWidget::setMask ( const TQRegion & region )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Causes only the parts of the widget which overlap \fIregion\fR to be visible. If the region includes pixels outside the rect() of the widget, window system controls in that area may or may not be visible, depending on the platform. @@ -2164,17 +2164,17 @@ This function corresponds to setMinimumSize( TQSize(minw, minh) ). Sets the mini Sets the widget's minimum width to \fIminw\fR. See the "minimumWidth" property for details. .SH "void TQWidget::setMouseTracking ( bool enable )\fC [virtual slot]\fR" Sets whether mouse tracking is enabled for the widget to \fIenable\fR. See the "mouseTracking" property for details. -.SH "void TQWidget::setPalette ( const QPalette & )\fC [virtual]\fR" +.SH "void TQWidget::setPalette ( const TQPalette & )\fC [virtual]\fR" Sets the widget's palette. See the "palette" property for details. .PP Reimplemented in QComboBox, QScrollBar, and QSlider. -.SH "void TQWidget::setPalette ( const QPalette & p, bool )" +.SH "void TQWidget::setPalette ( const TQPalette & p, bool )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP -Use setPalette( const QPalette& p ) instead. +Use setPalette( const TQPalette& p ) instead. .SH "void TQWidget::setPaletteBackgroundColor ( const TQColor & )\fC [virtual]\fR" Sets the background color of the widget. See the "paletteBackgroundColor" property for details. -.SH "void TQWidget::setPaletteBackgroundPixmap ( const QPixmap & )\fC [virtual]\fR" +.SH "void TQWidget::setPaletteBackgroundPixmap ( const TQPixmap & )\fC [virtual]\fR" Sets the background pixmap of the widget. See the "paletteBackgroundPixmap" property for details. .SH "void TQWidget::setPaletteForegroundColor ( const TQColor & )" Sets the foreground color of the widget. See the "paletteForegroundColor" property for details. @@ -2440,7 +2440,7 @@ If \fIw\fR is negative, it is replaced with \fCwidth() - x\fR. If \fIh\fR is neg Qt normally erases the specified area before the paintEvent() call. If the WRepaintNoErase widget flag is set, the widget is responsible for painting all its pixels itself. .PP See also repaint(), paintEvent(), updatesEnabled, and erase(). -.SH "void TQWidget::update ( const QRect & r )\fC [slot]\fR" +.SH "void TQWidget::update ( const TQRect & r )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Updates a rectangle \fIr\fR inside the widget unless updates are disabled or the widget is hidden. @@ -2458,7 +2458,7 @@ For explicitly hidden widgets, updateGeometry() is a no-op. The layout system wi This function can be reimplemented in a subclass to support transparent widgets. It should be called whenever a widget changes state in a way that means that the shape mask must be recalculated. .PP See also autoMask, setMask(), and clearMask(). -.SH "QRect TQWidget::visibleRect () const" +.SH "TQRect TQWidget::visibleRect () const" Returns the visible rectangle. See the "visibleRect" property for details. .SH "void TQWidget::wheelEvent ( QWheelEvent * e )\fC [virtual protected]\fR" This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive wheel events for the widget. @@ -2599,7 +2599,7 @@ This property only makes sense for top-level widgets. If no caption has been set See also icon and iconText. .PP Set this property's value with setCaption() and get this property's value with caption(). -.SH "QRect childrenRect" +.SH "TQRect childrenRect" This property holds the bounding rectangle of the widget's children. .PP Hidden children are excluded. @@ -2607,7 +2607,7 @@ Hidden children are excluded. See also childrenRegion and geometry. .PP Get this property's value with childrenRect(). -.SH "QRegion childrenRegion" +.SH "TQRegion childrenRegion" This property holds the combined region occupied by the widget's children. .PP Hidden children are excluded. @@ -2618,7 +2618,7 @@ Get this property's value with childrenRegion(). .SH "TQColorGroup colorGroup" This property holds the current color group of the widget palette. .PP -The color group is determined by the state of the widget. A disabled widget has the QPalette::disabled() color group, a widget with keyboard focus has the QPalette::active() color group, and an inactive widget has the QPalette::inactive() color group. +The color group is determined by the state of the widget. A disabled widget has the TQPalette::disabled() color group, a widget with keyboard focus has the TQPalette::active() color group, and an inactive widget has the TQPalette::inactive() color group. .PP See also palette. .PP @@ -2715,7 +2715,7 @@ In addition to setting the font, setFont() informs all children about the change See also fontChange(), fontInfo(), fontMetrics(), and ownFont. .PP Set this property's value with setFont(), get this property's value with font(), and reset this property's value with unsetFont(). -.SH "QRect frameGeometry" +.SH "TQRect frameGeometry" This property holds geometry of the widget relative to its parent including any window frame. .PP See the Window Geometry documentation for an overview of geometry issues with top-level widgets. @@ -2733,7 +2733,7 @@ This property holds whether the widget is full screen. Get this property's value with isFullScreen(). .PP See also windowState(), minimized, and maximized. -.SH "QRect geometry" +.SH "TQRect geometry" This property holds the geometry of the widget relative to its parent and excluding the window frame. .PP When changing the geometry, the widget, if visible, receives a move event (moveEvent()) and/or a resize event (resizeEvent()) immediately. If the widget is not currently visible, it is guaranteed to receive appropriate events before it is shown. @@ -2765,7 +2765,7 @@ If FALSE, the widget is visible or would become visible if all its ancestors bec See also hide(), show(), visible, isVisibleTo(), and shown. .PP Set this property's value with setHidden() and get this property's value with isHidden(). -.SH "QPixmap icon" +.SH "TQPixmap icon" This property holds the widget's icon. .PP This property only makes sense for top-level widgets. If no icon has been set, icon() returns 0. @@ -2877,7 +2877,7 @@ This property corresponds to maximumSize().width(). See also maximumSize and maximumHeight. .PP Set this property's value with setMaximumWidth() and get this property's value with maximumWidth(). -.SH "QRect microFocusHint" +.SH "TQRect microFocusHint" This property holds the currently set micro focus hint for this widget. .PP See the documentation of setMicroFocusHint() for more information. @@ -2963,7 +2963,7 @@ If FALSE, the widget uses its parent widget's palette. See also palette. .PP Get this property's value with ownPalette(). -.SH "QPalette palette" +.SH "TQPalette palette" This property holds the widget's palette. .PP As long as no special palette has been set, or after unsetPalette() has been called, this is either a special palette for the widget class, the parent's palette or (if this widget is a top level widget), the default application palette. @@ -2976,17 +2976,17 @@ Set this property's value with setPalette(), get this property's value with pale .SH "TQColor paletteBackgroundColor" This property holds the background color of the widget. .PP -The palette background color is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundColor(). setPaletteBackgroundColor() is a convenience function that creates and sets a modified QPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the color used for the palette's TQColorGroup::Button color entry is set. +The palette background color is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundColor(). setPaletteBackgroundColor() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the color used for the palette's TQColorGroup::Button color entry is set. .PP If there is a background pixmap (set using setPaletteBackgroundPixmap()), then the return value of this function is indeterminate. .PP See also paletteBackgroundPixmap, paletteForegroundColor, palette, and colorGroup. .PP Set this property's value with setPaletteBackgroundColor(), get this property's value with paletteBackgroundColor(), and reset this property's value with unsetPalette(). -.SH "QPixmap paletteBackgroundPixmap" +.SH "TQPixmap paletteBackgroundPixmap" This property holds the background pixmap of the widget. .PP -The palette background pixmap is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundPixmap(). setPaletteBackgroundPixmap() is a convenience function that creates and sets a modified QPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the pixmap used for the palette's TQColorGroup::Button color entry is set. +The palette background pixmap is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by setPaletteBackgroundPixmap(). setPaletteBackgroundPixmap() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the pixmap used for the palette's TQColorGroup::Button color entry is set. .PP If there is a plain background color (set using setPaletteBackgroundColor()), then this function returns 0. .PP @@ -2996,12 +2996,12 @@ Set this property's value with setPaletteBackgroundPixmap(), get this property's .SH "TQColor paletteForegroundColor" This property holds the foreground color of the widget. .PP -setPaletteForegroundColor() is a convenience function that creates and sets a modified QPalette with setPalette(). The palette is modified according to the widget's \fIbackground mode\fR. For example, if the background mode is PaletteButton the palette entry TQColorGroup::ButtonText is set to color. +setPaletteForegroundColor() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's \fIbackground mode\fR. For example, if the background mode is PaletteButton the palette entry TQColorGroup::ButtonText is set to color. .PP See also palette, QApplication::setPalette(), backgroundMode, foregroundColor(), backgroundMode, and setEraseColor(). .PP Set this property's value with setPaletteForegroundColor(), get this property's value with paletteForegroundColor(), and reset this property's value with unsetPalette(). -.SH "QPoint pos" +.SH "TQPoint pos" This property holds the position of the widget within its parent widget. .PP If the widget is a top-level widget, the position is that of the widget on the desktop, including its frame. @@ -3017,10 +3017,10 @@ See the Window Geometry documentation for an overview of top-level widget geomet See also frameGeometry, size, x, and y. .PP Set this property's value with move() and get this property's value with pos(). -.SH "QRect rect" +.SH "TQRect rect" This property holds the internal geometry of the widget excluding any window frame. .PP -The rect property equals QRect(0, 0, width(), height()). +The rect property equals TQRect(0, 0, width(), height()). .PP See the Window Geometry documentation for an overview of top-level widget geometry. .PP @@ -3137,7 +3137,7 @@ A widget that happens to be obscured by other windows on the screen is considere See also show(), hide(), hidden, isVisibleTo(), minimized, showEvent(), and hideEvent(). .PP Get this property's value with isVisible(). -.SH "QRect visibleRect" +.SH "TQRect visibleRect" This property holds the visible rectangle. .PP \fBThis property is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. @@ -3162,7 +3162,7 @@ By default the value of this property is 1.0. .PP This feature is only present on Mac OS X and Windows 2000 and up. .PP -\fBWarning:\fR Changing this property from opaque to transparent might issue a paint event that needs to be processed before the window is displayed correctly. This affects mainly the use of QPixmap::grabWindow(). Also note that semi-transparent windows update and resize significantely slower than opaque windows. +\fBWarning:\fR Changing this property from opaque to transparent might issue a paint event that needs to be processed before the window is displayed correctly. This affects mainly the use of TQPixmap::grabWindow(). Also note that semi-transparent windows update and resize significantely slower than opaque windows. .PP Set this property's value with setWindowOpacity() and get this property's value with windowOpacity(). .SH "int x" |