diff options
Diffstat (limited to 'doc/man/man3/tqcanvastext.3qt')
-rw-r--r-- | doc/man/man3/tqcanvastext.3qt | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/doc/man/man3/tqcanvastext.3qt b/doc/man/man3/tqcanvastext.3qt index 65ab8e041..0aab507b4 100644 --- a/doc/man/man3/tqcanvastext.3qt +++ b/doc/man/man3/tqcanvastext.3qt @@ -1,5 +1,5 @@ '\" t -.TH QCanvasText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQCanvasText 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,25 +7,25 @@ .ad l .nh .SH NAME -QCanvasText \- Text object on a QCanvas +TQCanvasText \- Text object on a TQCanvas .SH SYNOPSIS -\fC#include <ntqcanvas.h>\fR +\fC#include <tqcanvas.h>\fR .PP -Inherits QCanvasItem. +Inherits TQCanvasItem. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQCanvasText\fR ( QCanvas * canvas )" +.BI "\fBTQCanvasText\fR ( TQCanvas * canvas )" .br .ti -1c -.BI "\fBQCanvasText\fR ( const TQString & t, QCanvas * canvas )" +.BI "\fBTQCanvasText\fR ( const TQString & t, TQCanvas * canvas )" .br .ti -1c -.BI "\fBQCanvasText\fR ( const TQString & t, QFont f, QCanvas * canvas )" +.BI "\fBTQCanvasText\fR ( const TQString & t, QFont f, TQCanvas * canvas )" .br .ti -1c -.BI "virtual \fB~QCanvasText\fR ()" +.BI "virtual \fB~TQCanvasText\fR ()" .br .ti -1c .BI "void \fBsetText\fR ( const TQString & t )" @@ -65,77 +65,77 @@ Inherits QCanvasItem. .br .in -1c .SH DESCRIPTION -The QCanvasText class provides a text object on a QCanvas. +The TQCanvasText class provides a text object on a TQCanvas. .PP A canvas text item has text with font, color and alignment attributes. The text and font can be set in the constructor or set or changed later with setText() and setFont(). The color is set with setColor() and the alignment with setTextFlags(). The text item's bounding rectangle is retrieved with boundingRect(). .PP The text can be drawn on a painter with draw(). .PP -Like any other canvas item text items can be moved with QCanvasItem::move() and QCanvasItem::moveBy(), or by setting coordinates with QCanvasItem::setX(), QCanvasItem::setY() and QCanvasItem::setZ(). +Like any other canvas item text items can be moved with TQCanvasItem::move() and TQCanvasItem::moveBy(), or by setting coordinates with TQCanvasItem::setX(), TQCanvasItem::setY() and TQCanvasItem::setZ(). .PP See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QCanvasText::QCanvasText ( QCanvas * canvas )" -Constructs a QCanvasText with the text "<text>", on \fIcanvas\fR. -.SH "QCanvasText::QCanvasText ( const TQString & t, QCanvas * canvas )" -Constructs a QCanvasText with the text \fIt\fR, on canvas \fIcanvas\fR. -.SH "QCanvasText::QCanvasText ( const TQString & t, QFont f, QCanvas * canvas )" -Constructs a QCanvasText with the text \fIt\fR and font \fIf\fR, on the canvas \fIcanvas\fR. -.SH "QCanvasText::~QCanvasText ()\fC [virtual]\fR" +.SH "TQCanvasText::TQCanvasText ( TQCanvas * canvas )" +Constructs a TQCanvasText with the text "<text>", on \fIcanvas\fR. +.SH "TQCanvasText::TQCanvasText ( const TQString & t, TQCanvas * canvas )" +Constructs a TQCanvasText with the text \fIt\fR, on canvas \fIcanvas\fR. +.SH "TQCanvasText::TQCanvasText ( const TQString & t, QFont f, TQCanvas * canvas )" +Constructs a TQCanvasText with the text \fIt\fR and font \fIf\fR, on the canvas \fIcanvas\fR. +.SH "TQCanvasText::~TQCanvasText ()\fC [virtual]\fR" Destroys the canvas text item. -.SH "QRect QCanvasText::boundingRect () const\fC [virtual]\fR" +.SH "QRect TQCanvasText::boundingRect () const\fC [virtual]\fR" Returns the bounding rectangle of the text. .PP -Reimplemented from QCanvasItem. -.SH "TQColor QCanvasText::color () const" +Reimplemented from TQCanvasItem. +.SH "TQColor TQCanvasText::color () const" Returns the color of the text. .PP See also setColor(). -.SH "void QCanvasText::draw ( QPainter & painter )\fC [virtual protected]\fR" +.SH "void TQCanvasText::draw ( QPainter & painter )\fC [virtual protected]\fR" Draws the text using the painter \fIpainter\fR. .PP -Reimplemented from QCanvasItem. -.SH "QFont QCanvasText::font () const" +Reimplemented from TQCanvasItem. +.SH "QFont TQCanvasText::font () const" Returns the font in which the text is drawn. .PP See also setFont(). -.SH "int QCanvasText::rtti () const\fC [virtual]\fR" -Returns 3 (QCanvasItem::Rtti_Text). +.SH "int TQCanvasText::rtti () const\fC [virtual]\fR" +Returns 3 (TQCanvasItem::Rtti_Text). .PP -See also QCanvasItem::rtti(). +See also TQCanvasItem::rtti(). .PP -Reimplemented from QCanvasItem. -.SH "void QCanvasText::setColor ( const TQColor & c )" +Reimplemented from TQCanvasItem. +.SH "void TQCanvasText::setColor ( const TQColor & c )" Sets the color of the text to the color \fIc\fR. .PP See also color() and setFont(). .PP Example: chart/chartform_canvas.cpp. -.SH "void QCanvasText::setFont ( const QFont & f )" +.SH "void TQCanvasText::setFont ( const QFont & f )" Sets the font in which the text is drawn to font \fIf\fR. .PP See also font(). -.SH "void QCanvasText::setText ( const TQString & t )" +.SH "void TQCanvasText::setText ( const TQString & t )" Sets the text item's text to \fIt\fR. The text may contain newlines. .PP See also text(), setFont(), setColor(), and setTextFlags(). .PP Example: canvas/canvas.cpp. -.SH "void QCanvasText::setTextFlags ( int f )" +.SH "void TQCanvasText::setTextFlags ( int f )" Sets the alignment flags to \fIf\fR. These are a bitwise OR of the flags available to QPainter::drawText() -- see the TQt::AlignmentFlags. .PP See also setFont() and setColor(). -.SH "TQString QCanvasText::text () const" +.SH "TQString TQCanvasText::text () const" Returns the text item's text. .PP See also setText(). -.SH "int QCanvasText::textFlags () const" +.SH "int TQCanvasText::textFlags () const" Returns the currently set alignment flags. .PP See also setTextFlags() and TQt::AlignmentFlags. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qcanvastext.html +.BR http://doc.trolltech.com/tqcanvastext.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |