diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-23 12:42:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-23 12:42:20 +0900 |
commit | b35e0845dc9b3c8b9a5e52a682c769f383933fae (patch) | |
tree | e4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqpainter.3qt | |
parent | 1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff) | |
download | tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqpainter.3qt')
-rw-r--r-- | doc/man/man3/tqpainter.3qt | 110 |
1 files changed, 55 insertions, 55 deletions
diff --git a/doc/man/man3/tqpainter.3qt b/doc/man/man3/tqpainter.3qt index 41ac5819a..7558fd0ff 100644 --- a/doc/man/man3/tqpainter.3qt +++ b/doc/man/man3/tqpainter.3qt @@ -27,7 +27,7 @@ Inherited by QDirectPainter. .BI "\fBQPainter\fR ( const QPaintDevice * pd, bool unclipped = FALSE )" .br .ti -1c -.BI "\fBQPainter\fR ( const QPaintDevice * pd, const QWidget * copyAttributes, bool unclipped = FALSE )" +.BI "\fBQPainter\fR ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" .br .ti -1c .BI "\fB~QPainter\fR ()" @@ -36,7 +36,7 @@ Inherited by QDirectPainter. .BI "bool \fBbegin\fR ( const QPaintDevice * pd, bool unclipped = FALSE )" .br .ti -1c -.BI "bool \fBbegin\fR ( const QPaintDevice * pd, const QWidget * copyAttributes, bool unclipped = FALSE )" +.BI "bool \fBbegin\fR ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" .br .ti -1c .BI "bool \fBend\fR ()" @@ -81,7 +81,7 @@ Inherited by QDirectPainter. .BI "void \fBsetPen\fR ( PenStyle style )" .br .ti -1c -.BI "void \fBsetPen\fR ( const QColor & color )" +.BI "void \fBsetPen\fR ( const TQColor & color )" .br .ti -1c .BI "const QBrush & \fBbrush\fR () const" @@ -93,16 +93,16 @@ Inherited by QDirectPainter. .BI "void \fBsetBrush\fR ( BrushStyle style )" .br .ti -1c -.BI "void \fBsetBrush\fR ( const QColor & color )" +.BI "void \fBsetBrush\fR ( const TQColor & color )" .br .ti -1c .BI "QPoint pos () const \fI(obsolete)\fR" .br .ti -1c -.BI "const QColor & \fBbackgroundColor\fR () const" +.BI "const TQColor & \fBbackgroundColor\fR () const" .br .ti -1c -.BI "void \fBsetBackgroundColor\fR ( const QColor & c )" +.BI "void \fBsetBackgroundColor\fR ( const TQColor & c )" .br .ti -1c .BI "BGMode \fBbackgroundMode\fR () const" @@ -261,13 +261,13 @@ Inherited by QDirectPainter. .BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h )" .br .ti -1c -.BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h, const QColor & bgColor )" +.BI "void \fBdrawWinFocusRect\fR ( int x, int y, int w, int h, const TQColor & bgColor )" .br .ti -1c .BI "void \fBdrawWinFocusRect\fR ( const QRect & r )" .br .ti -1c -.BI "void \fBdrawWinFocusRect\fR ( const QRect & r, const QColor & bgColor )" +.BI "void \fBdrawWinFocusRect\fR ( const QRect & r, const TQColor & bgColor )" .br .ti -1c .BI "void \fBdrawRoundRect\fR ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )" @@ -327,16 +327,16 @@ Inherited by QDirectPainter. .BI "void \fBdrawPixmap\fR ( const QRect & r, const QPixmap & pm )" .br .ti -1c -.BI "void \fBdrawImage\fR ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" +.BI "void \fBdrawImage\fR ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" .br .ti -1c -.BI "void \fBdrawImage\fR ( const QPoint &, const QImage &, const QRect & sr, int conversionFlags = 0 )" +.BI "void \fBdrawImage\fR ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )" .br .ti -1c -.BI "void \fBdrawImage\fR ( const QPoint & p, const QImage & i, int conversion_flags = 0 )" +.BI "void \fBdrawImage\fR ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )" .br .ti -1c -.BI "void \fBdrawImage\fR ( const QRect & r, const QImage & i )" +.BI "void \fBdrawImage\fR ( const QRect & r, const TQImage & i )" .br .ti -1c .BI "void \fBdrawTiledPixmap\fR ( int x, int y, int w, int h, const QPixmap & pixmap, int sx = 0, int sy = 0 )" @@ -372,28 +372,28 @@ Inherited by QDirectPainter. .BI "enum \fBTextDirection\fR { Auto, RTL, LTR }" .br .ti -1c -.BI "void \fBdrawText\fR ( int x, int y, const QString &, int len = -1, TextDirection dir = Auto )" +.BI "void \fBdrawText\fR ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QPoint &, const QString &, int len = -1, TextDirection dir = Auto )" +.BI "void \fBdrawText\fR ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( int x, int y, const QString &, int pos, int len, TextDirection dir = Auto )" +.BI "void \fBdrawText\fR ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QPoint & p, const QString &, int pos, int len, TextDirection dir = Auto )" +.BI "void \fBdrawText\fR ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" .br .ti -1c -.BI "void \fBdrawText\fR ( int x, int y, int w, int h, int flags, const QString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )" +.BI "void \fBdrawText\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )" .br .ti -1c -.BI "void \fBdrawText\fR ( const QRect & r, int tf, const QString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )" +.BI "void \fBdrawText\fR ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( int x, int y, int w, int h, int flags, const QString &, int len = -1, QTextParag ** intern = 0 )" +.BI "QRect \fBboundingRect\fR ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QTextParag ** intern = 0 )" .br .ti -1c -.BI "QRect \fBboundingRect\fR ( const QRect & r, int flags, const QString & str, int len = -1, QTextParag ** internal = 0 )" +.BI "QRect \fBboundingRect\fR ( const QRect & r, int flags, const TQString & str, int len = -1, QTextParag ** internal = 0 )" .br .ti -1c .BI "int \fBtabStops\fR () const" @@ -435,7 +435,7 @@ Inherited by QDirectPainter. .BI "void \fBqDrawWinPanel\fR ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" .br .ti -1c -.BI "void \fBqDrawPlainRect\fR ( QPainter * p, int x, int y, int w, int h, const QColor & c, int lineWidth, const QBrush * fill )" +.BI "void \fBqDrawPlainRect\fR ( QPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const QBrush * fill )" .br .in -1c .SH DESCRIPTION @@ -453,7 +453,7 @@ Draw. .TP Destroy the painter. .PP -Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use is in a reimplementation of QWidget::paintEvent(), and the painter is heavily optimized for such use.) Here's one very simple example: +Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use is in a reimplementation of TQWidget::paintEvent(), and the painter is heavily optimized for such use.) Here's one very simple example: .PP .nf .br @@ -504,7 +504,7 @@ hasClipping() is whether the painter clips at all. (The paint device clips, too. pos() is the current position, set by moveTo() and used by lineTo(). .IP .PP -Note that some of these settings mirror settings in some paint devices, e.g. QWidget::font(). QPainter::begin() (or the QPainter constructor) copies these attributes from the paint device. Calling, for example, QWidget::setFont() doesn't take effect until the next time a painter begins painting on it. +Note that some of these settings mirror settings in some paint devices, e.g. TQWidget::font(). QPainter::begin() (or the QPainter constructor) copies these attributes from the paint device. Calling, for example, TQWidget::setFont() doesn't take effect until the next time a painter begins painting on it. .PP save() saves all of these settings on an internal stack, restore() pops them back. .PP @@ -536,7 +536,7 @@ setTabStops() and setTabArray() can change where the tab stops are, but these ar .PP \fBWarning:\fR Note that QPainter does not attempt to work around coordinate limitations in the underlying window system. Some platforms may behave incorrectly with coordinates as small as +/-4000. .PP -See also QPaintDevice, QWidget, QPixmap, QPrinter, QPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. +See also QPaintDevice, TQWidget, QPixmap, QPrinter, QPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. .SS "Member Type Documentation" .SH "QPainter::CoordinateMode" .TP @@ -605,16 +605,16 @@ The same example using this constructor: Since the constructor cannot provide feedback when the initialization of the painter failed you should rather use begin() and end() to paint on external devices, e.g. printers. .PP See also begin() and end(). -.SH "QPainter::QPainter ( const QPaintDevice * pd, const QWidget * copyAttributes, bool unclipped = FALSE )" +.SH "QPainter::QPainter ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" Constructs a painter that begins painting the paint device \fIpd\fR immediately, with the default arguments taken from \fIcopyAttributes\fR. The painter will paint over children of the paint device if \fIunclipped\fR is TRUE (although this is not supported on all platforms). .PP See also begin(). .SH "QPainter::~QPainter ()" Destroys the painter. -.SH "const QColor & QPainter::backgroundColor () const" +.SH "const TQColor & QPainter::backgroundColor () const" Returns the current background color. .PP -See also setBackgroundColor() and QColor. +See also setBackgroundColor() and TQColor. .SH "BGMode QPainter::backgroundMode () const" Returns the current background mode. .PP @@ -648,7 +648,7 @@ See also end() and flush(). .PP Examples: .)l aclock/aclock.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, hello/hello.cpp, picture/picture.cpp, t10/cannon.cpp, and xform/xform.cpp. -.SH "bool QPainter::begin ( const QPaintDevice * pd, const QWidget * copyAttributes, bool unclipped = FALSE )" +.SH "bool QPainter::begin ( const QPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This version opens the painter on a paint device \fIpd\fR and sets the initial pen, background color and font from \fIcopyAttributes\fR, painting over the paint device's children when \fIunclipped\fR is TRUE. This is equivalent to: @@ -694,7 +694,7 @@ Example: .fi .PP See also end(). -.SH "QRect QPainter::boundingRect ( int x, int y, int w, int h, int flags, const QString &, int len = -1, QTextParag ** intern = 0 )" +.SH "QRect QPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QTextParag ** intern = 0 )" Returns the bounding rectangle of the aligned text that would be printed with the corresponding drawText() function using the first \fIlen\fR characters of the string if \fIlen\fR is > -1, or the whole of the string if \fIlen\fR is -1. The drawing, and hence the bounding rectangle, is constrained to the rectangle that begins at point \fI(x, y)\fR with width \fIw\fR and hight \fIh\fR, or to the rectangle required to draw the text, whichever is the larger. .PP The \fIflags\fR argument is the bitwise OR of the following flags: <center>.nf @@ -711,7 +711,7 @@ If several of the horizontal or several of the vertical alignment flags are set, The \fIintern\fR parameter should not be used. .PP See also Qt::TextFlags. -.SH "QRect QPainter::boundingRect ( const QRect & r, int flags, const QString & str, int len = -1, QTextParag ** internal = 0 )" +.SH "QRect QPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, QTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the bounding rectangle of the aligned text that would be printed with the corresponding drawText() function using the first \fIlen\fR characters from \fIstr\fR if \fIlen\fR is > -1, or the whole of \fIstr\fR if \fIlen\fR is -1. The drawing, and hence the bounding rectangle, is constrained to the rectangle \fIr\fR, or to the rectangle required to draw the text, whichever is the larger. @@ -800,21 +800,21 @@ Examples: This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the ellipse that fits inside rectangle \fIr\fR. -.SH "void QPainter::drawImage ( int x, int y, const QImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" +.SH "void QPainter::drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )" Draws at (\fIx\fR, \fIy\fR) the \fIsw\fR by \fIsh\fR area of pixels from (\fIsx\fR, \fIsy\fR) in \fIimage\fR, using \fIconversionFlags\fR if the image needs to be converted to a pixmap. The default value for \fIconversionFlags\fR is 0; see convertFromImage() for information about what other values do. .PP -This function may convert \fIimage\fR to a pixmap and then draw it, if device() is a QPixmap or a QWidget, or else draw it directly, if device() is a QPrinter or QPicture. +This function may convert \fIimage\fR to a pixmap and then draw it, if device() is a QPixmap or a TQWidget, or else draw it directly, if device() is a QPrinter or QPicture. .PP Currently alpha masks of the image are ignored when painting on a QPrinter. .PP See also drawPixmap() and QPixmap::convertFromImage(). .PP Example: canvas/canvas.cpp. -.SH "void QPainter::drawImage ( const QPoint &, const QImage &, const QRect & sr, int conversionFlags = 0 )" +.SH "void QPainter::drawImage ( const QPoint &, const TQImage &, const QRect & sr, int conversionFlags = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the rectangle \fIsr\fR from the image at the given point. -.SH "void QPainter::drawImage ( const QPoint & p, const QImage & i, int conversion_flags = 0 )" +.SH "void QPainter::drawImage ( const QPoint & p, const TQImage & i, int conversion_flags = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the image \fIi\fR at point \fIp\fR. @@ -822,7 +822,7 @@ Draws the image \fIi\fR at point \fIp\fR. If the image needs to be modified to fit in a lower-resolution result (e.g. converting from 32-bit to 8-bit), use the \fIconversion_flags\fR to specify how you'd prefer this to happen. .PP See also Qt::ImageConversionFlags. -.SH "void QPainter::drawImage ( const QRect & r, const QImage & i )" +.SH "void QPainter::drawImage ( const QRect & r, const TQImage & i )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the image \fIi\fR into the rectangle \fIr\fR. The image will be scaled to fit the rectangle if image and rectangle dimensions differ. @@ -969,7 +969,7 @@ Examples: This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a rounded rectangle \fIr\fR, rounding to the x position \fIxRnd\fR and the y position \fIyRnd\fR on each corner. -.SH "void QPainter::drawText ( const QPoint & p, const QString &, int pos, int len, TextDirection dir = Auto )" +.SH "void QPainter::drawText ( const QPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )" Draws the text from position \fIpos\fR, at point \fIp\fR. If \fIlen\fR is -1 the entire string is drawn, otherwise just the first \fIlen\fR characters. The text's direction is specified by \fIdir\fR. .PP Note that the meaning of \fIy\fR is not the same for the two drawText() varieties. For overloads that take a simple \fIx\fR, \fIy\fR pair (or a point), the \fIy\fR value is the text's baseline; for overloads that take a rectangle, \fIrect.y()\fR is the top of the rectangle and the text is aligned within that rectangle in accordance with the alignment flags. @@ -978,27 +978,27 @@ See also QPainter::TextDirection. .PP Examples: .)l desktop/desktop.cpp, drawdemo/drawdemo.cpp, grapher/grapher.cpp, picture/picture.cpp, progress/progress.cpp, t8/cannon.cpp, and trivial/trivial.cpp. -.SH "void QPainter::drawText ( int x, int y, const QString &, int len = -1, TextDirection dir = Auto )" +.SH "void QPainter::drawText ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the given text at position \fIx\fR, \fIy\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's direction is given by \fIdir\fR. .PP See also QPainter::TextDirection. -.SH "void QPainter::drawText ( const QPoint &, const QString &, int len = -1, TextDirection dir = Auto )" +.SH "void QPainter::drawText ( const QPoint &, const TQString &, int len = -1, TextDirection dir = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the text at the given point. .PP See also QPainter::TextDirection. -.SH "void QPainter::drawText ( int x, int y, const QString &, int pos, int len, TextDirection dir = Auto )" +.SH "void QPainter::drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the text from position \fIpos\fR, at point \fI(x, y)\fR. If \fIlen\fR is -1 the entire string is drawn, otherwise just the first \fIlen\fR characters. The text's direction is specified by \fIdir\fR. -.SH "void QPainter::drawText ( int x, int y, int w, int h, int flags, const QString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )" +.SH "void QPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are Qt::AlignmentFlags and Qt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only. -.SH "void QPainter::drawText ( const QRect & r, int tf, const QString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )" +.SH "void QPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR. @@ -1026,12 +1026,12 @@ Draws a tiled pixmap, \fIpm\fR, inside rectangle \fIr\fR with its origin at poin This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws a tiled pixmap, \fIpm\fR, inside rectangle \fIr\fR. -.SH "void QPainter::drawWinFocusRect ( int x, int y, int w, int h, const QColor & bgColor )" +.SH "void QPainter::drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor )" Draws a Windows focus rectangle with upper left corner at (\fIx\fR, \fIy\fR) and with width \fIw\fR and height \fIh\fR using a pen color that contrasts with \fIbgColor\fR. .PP This function draws a stippled rectangle (XOR is not used) that is used to indicate keyboard focus (when the QApplication::style() is \fCWindowStyle\fR). .PP -The pen color used to draw the rectangle is either white or black depending on the color of \fIbgColor\fR (see QColor::gray()). +The pen color used to draw the rectangle is either white or black depending on the color of \fIbgColor\fR (see TQColor::gray()). .PP \fBWarning:\fR This function draws nothing if the coordinate system has been rotated or sheared. .PP @@ -1050,7 +1050,7 @@ See also drawRect() and QApplication::style(). This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws rectangle \fIr\fR as a window focus rectangle. -.SH "void QPainter::drawWinFocusRect ( const QRect & r, const QColor & bgColor )" +.SH "void QPainter::drawWinFocusRect ( const QRect & r, const TQColor & bgColor )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Draws rectangle \fIr\fR as a window focus rectangle using background color \fIbgColor\fR. @@ -1091,7 +1091,7 @@ Erases the area inside the rectangle \fIr\fR. .SH "void QPainter::fillRect ( int x, int y, int w, int h, const QBrush & brush )" Fills the rectangle \fI(x, y, w, h)\fR with the \fIbrush\fR. .PP -You can specify a QColor as \fIbrush\fR, since there is a QBrush constructor that takes a QColor argument and creates a solid pattern brush. +You can specify a TQColor as \fIbrush\fR, since there is a QBrush constructor that takes a TQColor argument and creates a solid pattern brush. .PP See also drawRect(). .PP @@ -1231,7 +1231,7 @@ Scales the coordinate system by \fI(sx, sy)\fR. See also translate(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). .PP Example: xform/xform.cpp. -.SH "void QPainter::setBackgroundColor ( const QColor & c )" +.SH "void QPainter::setBackgroundColor ( const TQColor & c )" Sets the background color of the painter to \fIc\fR. .PP The background color is the color that is filled in when drawing opaque text, stippled lines and bitmaps. The background color has no effect in transparent background mode (which is the default). @@ -1262,7 +1262,7 @@ Sets the painter's brush to \fIbrush\fR. The \fIbrush\fR defines how shapes are filled. .PP See also brush(). -.SH "void QPainter::setBrush ( const QColor & color )" +.SH "void QPainter::setBrush ( const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's brush to have style SolidPattern and the specified \fIcolor\fR. @@ -1332,7 +1332,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Sets the painter's pen to have style \fIstyle\fR, width 0 and black color. .PP See also pen() and QPen. -.SH "void QPainter::setPen ( const QColor & color )" +.SH "void QPainter::setPen ( const TQColor & color )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the painter's pen to have style SolidLine, width 0 and the specified \fIcolor\fR. @@ -1574,7 +1574,7 @@ Example: .PP See also xForm() and QWMatrix::map(). .SH RELATED FUNCTION DOCUMENTATION -.SH "void qDrawPlainRect ( QPainter * p, int x, int y, int w, int h, const QColor & c, int lineWidth, const QBrush * fill )" +.SH "void qDrawPlainRect ( QPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const QBrush * fill )" \fC#include <ntqdrawutil.h>\fR .PP Draws the plain rectangle specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. @@ -1587,7 +1587,7 @@ The rectangle's interior is filled with the \fIfill\fR brush unless \fIfill\fR i .PP If you want to use a QFrame widget instead, you can make it display a plain rectangle, for example \fCQFrame::setFrameStyle( QFrame::Box | QFrame::Plain )\fR. .PP -\fBWarning:\fR This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. +\fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. .PP See also qDrawShadeRect() and QStyle::drawPrimitive(). .SH "void qDrawShadeLine ( QPainter * p, int x1, int y1, int x2, int y2, const QColorGroup & g, bool sunken, int lineWidth, int midLineWidth )" @@ -1607,7 +1607,7 @@ The \fImidLineWidth\fR argument specifies the width of a middle line drawn in th .PP If you want to use a QFrame widget instead, you can make it display a shaded line, for example \fCQFrame::setFrameStyle( QFrame::HLine | QFrame::Sunken )\fR. .PP -\fBWarning:\fR This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. +\fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. .PP See also qDrawShadeRect(), qDrawShadePanel(), and QStyle::drawPrimitive(). .SH "void qDrawShadePanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, int lineWidth, const QBrush * fill )" @@ -1625,7 +1625,7 @@ The panel's interior is filled with the \fIfill\fR brush unless \fIfill\fR is 0. .PP If you want to use a QFrame widget instead, you can make it display a shaded panel, for example \fCQFrame::setFrameStyle( QFrame::Panel | QFrame::Sunken )\fR. .PP -\fBWarning:\fR This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. +\fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. .PP See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and QStyle::drawPrimitive(). .SH "void qDrawShadeRect ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const QBrush * fill )" @@ -1645,7 +1645,7 @@ The rectangle's interior is filled with the \fIfill\fR brush unless \fIfill\fR i .PP If you want to use a QFrame widget instead, you can make it display a shaded rectangle, for example \fCQFrame::setFrameStyle( QFrame::Box | QFrame::Raised )\fR. .PP -\fBWarning:\fR This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. +\fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. .PP See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), QStyle::drawItem(), QStyle::drawControl(), and QStyle::drawComplexControl(). .SH "void qDrawWinButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" @@ -1661,7 +1661,7 @@ The line width is 2 pixels. .PP The button's interior is filled with the \fI*fill\fR brush unless \fIfill\fR is 0. .PP -\fBWarning:\fR This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. +\fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. .PP See also qDrawWinPanel() and QStyle::drawControl(). .SH "void qDrawWinPanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken, const QBrush * fill )" @@ -1679,7 +1679,7 @@ The button's interior is filled with the \fIfill\fR brush unless \fIfill\fR is 0 .PP If you want to use a QFrame widget instead, you can make it display a shaded panel, for example \fCQFrame::setFrameStyle( QFrame::WinPanel | QFrame::Raised )\fR. .PP -\fBWarning:\fR This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. +\fBWarning:\fR This function does not look at TQWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style. .PP See also qDrawShadePanel(), qDrawWinButton(), and QStyle::drawPrimitive(). |