1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtTextLabel Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtTextLabel Class Reference</h1><!-- doxytag: class="QwtTextLabel" -->Inheritance diagram for QwtTextLabel:<p><center><img src="class_qwt_text_label__inherit__graph.png" border="0" usemap="#_qwt_text_label__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_text_label__inherit__map">
24
<area href="class_qwt_legend_item.html" shape="rect" coords="7,83,121,107" alt="">
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_text_label-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
27
A Widget which displays a <a class="el" href="class_qwt_text.html">QwtText</a>.
31
Definition at line <a class="el" href="qwt__text__label_8h-source.html#l00025">25</a> of file <a class="el" href="qwt__text__label_8h-source.html">qwt_text_label.h</a>.<table border="0" cellpadding="0" cellspacing="0">
33
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
34
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#b300b9a0a6392e180f2caff41ba2b9b8">setText</a> (const QString &, <a class="el" href="class_qwt_text.html#63e0d6a59a427a37ed0bfa71b782fd76">QwtText::TextFormat</a> textFormat=QwtText::AutoText)</td></tr>
36
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#c43ba313b78dccf7aa7433f26059b2e2">setText</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &)</td></tr>
38
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#6674cebd85cf692d154f967887547e11">clear</a> ()</td></tr>
40
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#95e022e766f4b9675f451482be7d654a">QwtTextLabel</a> (QWidget *parent=NULL)</td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#1a44e38b02bb398d315affe02bb4ea69">QwtTextLabel</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &, QWidget *parent=NULL)</td></tr>
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#df8f363200c527a6af4259647304be5a">~QwtTextLabel</a> ()</td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#65113573cdf1fe4098a324453e11fe4e">text</a> () const</td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#10c9a8e239241d72f082e31b4ff1ce09">indent</a> () const</td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#ad25ab34c219f8d97ec7c39d064ed4a0">setIndent</a> (int)</td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#213b9d779d8f12b6db264d27be188eb5">margin</a> () const</td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#833d27574b72bbc135f2972c72382eba">setMargin</a> (int)</td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#efd60f5b103f4c66879a9b14a3a3a978">sizeHint</a> () const</td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#8608bb4cc67f8c494f8e15a2f7e80838">minimumSizeHint</a> () const</td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#de1867a2c9308f2235cfacf675fa1d4c">heightForWidth</a> (int) const </td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#ba181e6b4644df6d9014948f5a02acc2">textRect</a> () const</td></tr>
65
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#ff00274ee1c860530920b4feaca02393">paintEvent</a> (QPaintEvent *e)</td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#b1d6c248f451517a32c626372670ab51">drawContents</a> (QPainter *)</td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#88491c6677985ca048a3ebc095940df3">drawText</a> (QPainter *, const QRect &)</td></tr>
73
<hr><h2>Constructor & Destructor Documentation</h2>
74
<a class="anchor" name="95e022e766f4b9675f451482be7d654a"></a><!-- doxytag: member="QwtTextLabel::QwtTextLabel" ref="95e022e766f4b9675f451482be7d654a" args="(QWidget *parent=NULL)" -->
76
<div class="memproto">
77
<table class="memname">
79
<td class="memname">QwtTextLabel::QwtTextLabel </td>
81
<td class="paramtype">QWidget * </td>
82
<td class="paramname"> <em>parent</em> = <code>NULL</code> </td>
83
<td> ) </td>
84
<td width="100%"><code> [explicit]</code></td>
91
Constructs an empty label. <dl compact><dt><b>Parameters:</b></dt><dd>
92
<table border="0" cellspacing="2" cellpadding="0">
93
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
98
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00036">36</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
101
<a class="anchor" name="1a44e38b02bb398d315affe02bb4ea69"></a><!-- doxytag: member="QwtTextLabel::QwtTextLabel" ref="1a44e38b02bb398d315affe02bb4ea69" args="(const QwtText &, QWidget *parent=NULL)" -->
102
<div class="memitem">
103
<div class="memproto">
104
<table class="memname">
106
<td class="memname">QwtTextLabel::QwtTextLabel </td>
108
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
109
<td class="paramname"> <em>text</em>, </td>
112
<td class="paramkey"></td>
114
<td class="paramtype">QWidget * </td>
115
<td class="paramname"> <em>parent</em> = <code>NULL</code></td><td> </td>
120
<td></td><td></td><td width="100%"><code> [explicit]</code></td>
127
Constructs a label that displays the text, text <dl compact><dt><b>Parameters:</b></dt><dd>
128
<table border="0" cellspacing="2" cellpadding="0">
129
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
130
<tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>Text </td></tr>
135
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00060">60</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
137
References <a class="el" href="qwt__text__label_8cpp-source.html#l00107">text()</a>.
140
<a class="anchor" name="df8f363200c527a6af4259647304be5a"></a><!-- doxytag: member="QwtTextLabel::~QwtTextLabel" ref="df8f363200c527a6af4259647304be5a" args="()" -->
141
<div class="memitem">
142
<div class="memproto">
143
<table class="memname">
145
<td class="memname">QwtTextLabel::~QwtTextLabel </td>
147
<td class="paramname"> </td>
148
<td> ) </td>
149
<td width="100%"><code> [virtual]</code></td>
160
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00068">68</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
163
<hr><h2>Member Function Documentation</h2>
164
<a class="anchor" name="b300b9a0a6392e180f2caff41ba2b9b8"></a><!-- doxytag: member="QwtTextLabel::setText" ref="b300b9a0a6392e180f2caff41ba2b9b8" args="(const QString &, QwtText::TextFormat textFormat=QwtText::AutoText)" -->
165
<div class="memitem">
166
<div class="memproto">
167
<table class="memname">
169
<td class="memname">void QwtTextLabel::setText </td>
171
<td class="paramtype">const QString & </td>
172
<td class="paramname"> <em>text</em>, </td>
175
<td class="paramkey"></td>
177
<td class="paramtype"><a class="el" href="class_qwt_text.html#63e0d6a59a427a37ed0bfa71b782fd76">QwtText::TextFormat</a> </td>
178
<td class="paramname"> <em>textFormat</em> = <code>QwtText::AutoText</code></td><td> </td>
183
<td></td><td></td><td width="100%"><code> [slot]</code></td>
190
Change the label's text, keeping all other <a class="el" href="class_qwt_text.html">QwtText</a> attributes <dl compact><dt><b>Parameters:</b></dt><dd>
191
<table border="0" cellspacing="2" cellpadding="0">
192
<tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>New text </td></tr>
193
<tr><td valign="top"></td><td valign="top"><em>textFormat</em> </td><td>Format of text</td></tr>
196
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_text.html">QwtText</a> </dd></dl>
199
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00086">86</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
201
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00128">QwtLegendItem::setText()</a>.
204
<a class="anchor" name="c43ba313b78dccf7aa7433f26059b2e2"></a><!-- doxytag: member="QwtTextLabel::setText" ref="c43ba313b78dccf7aa7433f26059b2e2" args="(const QwtText &)" -->
205
<div class="memitem">
206
<div class="memproto">
207
<table class="memname">
209
<td class="memname">void QwtTextLabel::setText </td>
211
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
212
<td class="paramname"> <em>text</em> </td>
213
<td> ) </td>
214
<td width="100%"><code> [virtual, slot]</code></td>
221
Change the label's text <dl compact><dt><b>Parameters:</b></dt><dd>
222
<table border="0" cellspacing="2" cellpadding="0">
223
<tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>New text </td></tr>
228
Reimplemented in <a class="el" href="class_qwt_legend_item.html#8420c4d8cd73945a25697109df5c2f0e">QwtLegendItem</a>.
230
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00098">98</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
232
References <a class="el" href="qwt__text__label_8cpp-source.html#l00107">text()</a>.
235
<a class="anchor" name="6674cebd85cf692d154f967887547e11"></a><!-- doxytag: member="QwtTextLabel::clear" ref="6674cebd85cf692d154f967887547e11" args="()" -->
236
<div class="memitem">
237
<div class="memproto">
238
<table class="memname">
240
<td class="memname">void QwtTextLabel::clear </td>
242
<td class="paramname"> </td>
243
<td> ) </td>
244
<td width="100%"><code> [slot]</code></td>
251
Clear the text and all <a class="el" href="class_qwt_text.html">QwtText</a> attributes.
255
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00113">113</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
258
<a class="anchor" name="65113573cdf1fe4098a324453e11fe4e"></a><!-- doxytag: member="QwtTextLabel::text" ref="65113573cdf1fe4098a324453e11fe4e" args="() const" -->
259
<div class="memitem">
260
<div class="memproto">
261
<table class="memname">
263
<td class="memname">const <a class="el" href="class_qwt_text.html">QwtText</a> & QwtTextLabel::text </td>
265
<td class="paramname"> </td>
266
<td> ) </td>
267
<td width="100%"> const</td>
278
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00107">107</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
280
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00360">QwtLegendItem::drawItem()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00256">QwtPlot::printTitle()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00093">QwtLegendItem::QwtLegendItem()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00060">QwtTextLabel()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00098">setText()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00128">QwtLegendItem::setText()</a>.
283
<a class="anchor" name="10c9a8e239241d72f082e31b4ff1ce09"></a><!-- doxytag: member="QwtTextLabel::indent" ref="10c9a8e239241d72f082e31b4ff1ce09" args="() const" -->
284
<div class="memitem">
285
<div class="memproto">
286
<table class="memname">
288
<td class="memname">int QwtTextLabel::indent </td>
290
<td class="paramname"> </td>
291
<td> ) </td>
292
<td width="100%"> const</td>
299
Return label's text indent in pixels.
303
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00122">122</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
305
Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00196">heightForWidth()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00167">minimumSizeHint()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00279">textRect()</a>.
308
<a class="anchor" name="ad25ab34c219f8d97ec7c39d064ed4a0"></a><!-- doxytag: member="QwtTextLabel::setIndent" ref="ad25ab34c219f8d97ec7c39d064ed4a0" args="(int)" -->
309
<div class="memitem">
310
<div class="memproto">
311
<table class="memname">
313
<td class="memname">void QwtTextLabel::setIndent </td>
315
<td class="paramtype">int </td>
316
<td class="paramname"> <em>indent</em> </td>
317
<td> ) </td>
318
<td width="100%"></td>
325
Set label's text indent in pixels <dl compact><dt><b>Parameters:</b></dt><dd>
326
<table border="0" cellspacing="2" cellpadding="0">
327
<tr><td valign="top"></td><td valign="top"><em>indent</em> </td><td>Indentation in pixels </td></tr>
332
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00131">131</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
334
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00207">QwtLegendItem::setIdentfierWidth()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00232">QwtLegendItem::setSpacing()</a>.
337
<a class="anchor" name="213b9d779d8f12b6db264d27be188eb5"></a><!-- doxytag: member="QwtTextLabel::margin" ref="213b9d779d8f12b6db264d27be188eb5" args="() const" -->
338
<div class="memitem">
339
<div class="memproto">
340
<table class="memname">
342
<td class="memname">int QwtTextLabel::margin </td>
344
<td class="paramname"> </td>
345
<td> ) </td>
346
<td width="100%"> const</td>
353
Return label's text indent in pixels.
357
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00143">143</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
359
Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00360">QwtLegendItem::drawItem()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00385">QwtLegendItem::paintEvent()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00207">QwtLegendItem::setIdentfierWidth()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00232">QwtLegendItem::setSpacing()</a>.
362
<a class="anchor" name="833d27574b72bbc135f2972c72382eba"></a><!-- doxytag: member="QwtTextLabel::setMargin" ref="833d27574b72bbc135f2972c72382eba" args="(int)" -->
363
<div class="memitem">
364
<div class="memproto">
365
<table class="memname">
367
<td class="memname">void QwtTextLabel::setMargin </td>
369
<td class="paramtype">int </td>
370
<td class="paramname"> <em>margin</em> </td>
371
<td> ) </td>
372
<td width="100%"></td>
379
Set label's margin in pixels <dl compact><dt><b>Parameters:</b></dt><dd>
380
<table border="0" cellspacing="2" cellpadding="0">
381
<tr><td valign="top"></td><td valign="top"><em>margin</em> </td><td>Margin in pixels </td></tr>
386
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00152">152</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
388
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00150">QwtLegendItem::setItemMode()</a>.
391
<a class="anchor" name="efd60f5b103f4c66879a9b14a3a3a978"></a><!-- doxytag: member="QwtTextLabel::sizeHint" ref="efd60f5b103f4c66879a9b14a3a3a978" args="() const" -->
392
<div class="memitem">
393
<div class="memproto">
394
<table class="memname">
396
<td class="memname">QSize QwtTextLabel::sizeHint </td>
398
<td class="paramname"> </td>
399
<td> ) </td>
400
<td width="100%"> const<code> [virtual]</code></td>
407
Return label's margin in pixels.
411
Reimplemented in <a class="el" href="class_qwt_legend_item.html#c4e922104a0258a3eca35fc6434c3357">QwtLegendItem</a>.
413
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00161">161</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
415
References <a class="el" href="qwt__text__label_8cpp-source.html#l00167">minimumSizeHint()</a>.
417
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00578">QwtLegendItem::sizeHint()</a>.
420
<a class="anchor" name="8608bb4cc67f8c494f8e15a2f7e80838"></a><!-- doxytag: member="QwtTextLabel::minimumSizeHint" ref="8608bb4cc67f8c494f8e15a2f7e80838" args="() const" -->
421
<div class="memitem">
422
<div class="memproto">
423
<table class="memname">
425
<td class="memname">QSize QwtTextLabel::minimumSizeHint </td>
427
<td class="paramname"> </td>
428
<td> ) </td>
429
<td width="100%"> const<code> [virtual]</code></td>
436
Return a minimum size hint.
440
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00167">167</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
442
References <a class="el" href="qwt__text__label_8cpp-source.html#l00122">indent()</a>.
444
Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00161">sizeHint()</a>.
447
<a class="anchor" name="de1867a2c9308f2235cfacf675fa1d4c"></a><!-- doxytag: member="QwtTextLabel::heightForWidth" ref="de1867a2c9308f2235cfacf675fa1d4c" args="(int) const " -->
448
<div class="memitem">
449
<div class="memproto">
450
<table class="memname">
452
<td class="memname">int QwtTextLabel::heightForWidth </td>
454
<td class="paramtype">int </td>
455
<td class="paramname"> <em>width</em> </td>
456
<td> ) </td>
457
<td width="100%"> const<code> [virtual]</code></td>
464
Returns the preferred height for this widget, given the width. <dl compact><dt><b>Parameters:</b></dt><dd>
465
<table border="0" cellspacing="2" cellpadding="0">
466
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Width </td></tr>
471
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00196">196</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
473
References <a class="el" href="qwt__text__label_8cpp-source.html#l00122">indent()</a>.
476
<a class="anchor" name="ba181e6b4644df6d9014948f5a02acc2"></a><!-- doxytag: member="QwtTextLabel::textRect" ref="ba181e6b4644df6d9014948f5a02acc2" args="() const" -->
477
<div class="memitem">
478
<div class="memproto">
479
<table class="memname">
481
<td class="memname">QRect QwtTextLabel::textRect </td>
483
<td class="paramname"> </td>
484
<td> ) </td>
485
<td width="100%"> const</td>
492
Calculate the rect for the text in widget coordinates <dl class="return" compact><dt><b>Returns:</b></dt><dd>Text rect </dd></dl>
495
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00279">279</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
497
References <a class="el" href="qwt__text__label_8cpp-source.html#l00122">indent()</a>.
499
Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>.
502
<a class="anchor" name="ff00274ee1c860530920b4feaca02393"></a><!-- doxytag: member="QwtTextLabel::paintEvent" ref="ff00274ee1c860530920b4feaca02393" args="(QPaintEvent *e)" -->
503
<div class="memitem">
504
<div class="memproto">
505
<table class="memname">
507
<td class="memname">void QwtTextLabel::paintEvent </td>
509
<td class="paramtype">QPaintEvent * </td>
510
<td class="paramname"> <em>e</em> </td>
511
<td> ) </td>
512
<td width="100%"><code> [protected, virtual]</code></td>
523
Reimplemented in <a class="el" href="class_qwt_legend_item.html#c154aa6b045d78f8134bbfab19a9729b">QwtLegendItem</a>.
525
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00218">218</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
527
References <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>.
530
<a class="anchor" name="b1d6c248f451517a32c626372670ab51"></a><!-- doxytag: member="QwtTextLabel::drawContents" ref="b1d6c248f451517a32c626372670ab51" args="(QPainter *)" -->
531
<div class="memitem">
532
<div class="memproto">
533
<table class="memname">
535
<td class="memname">void QwtTextLabel::drawContents </td>
537
<td class="paramtype">QPainter * </td>
538
<td class="paramname"> </td>
539
<td> ) </td>
540
<td width="100%"><code> [protected, virtual]</code></td>
547
Redraw the text and focus indicator.
551
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00241">241</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
553
References <a class="el" href="qwt__painter_8cpp-source.html#l00580">QwtPainter::drawFocusRect()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00270">drawText()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00143">margin()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00279">textRect()</a>.
555
Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00218">paintEvent()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00385">QwtLegendItem::paintEvent()</a>.
558
<a class="anchor" name="88491c6677985ca048a3ebc095940df3"></a><!-- doxytag: member="QwtTextLabel::drawText" ref="88491c6677985ca048a3ebc095940df3" args="(QPainter *, const QRect &)" -->
559
<div class="memitem">
560
<div class="memproto">
561
<table class="memname">
563
<td class="memname">void QwtTextLabel::drawText </td>
565
<td class="paramtype">QPainter * </td>
566
<td class="paramname">, </td>
569
<td class="paramkey"></td>
571
<td class="paramtype">const QRect & </td>
572
<td class="paramname"></td><td> </td>
577
<td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
588
Reimplemented in <a class="el" href="class_qwt_legend_item.html#fa466fbb3689353107872c6e133b5ddf">QwtLegendItem</a>.
590
Definition at line <a class="el" href="qwt__text__label_8cpp-source.html#l00270">270</a> of file <a class="el" href="qwt__text__label_8cpp-source.html">qwt_text_label.cpp</a>.
592
Referenced by <a class="el" href="qwt__text__label_8cpp-source.html#l00241">drawContents()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00587">QwtLegendItem::drawText()</a>.
595
<hr size="1"><address style="align: right;"><small>Generated on Sat May 24 18:49:10 2008 for Qwt User's Guide by
596
<a href="http://www.doxygen.org/index.html">
597
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>