File: class_qwt_text.html

package info (click to toggle)
libqwt 4.2.0-4.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,832 kB
  • ctags: 5,512
  • sloc: cpp: 22,973; ansic: 244; makefile: 66
file content (988 lines) | stat: -rw-r--r-- 47,606 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Qwt User&apos;s Guide: QwtText Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.8 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>QwtText Class Reference</h1>Inheritance diagram for QwtText:<p><center><img src="class_qwt_text__inherit__graph.png" border="0" usemap="#_qwt_text__inherit__map" alt="Inheritance graph"></center>
<map name="_qwt_text__inherit__map">
<area href="class_qwt_plain_text.html" shape="rect" coords="7,93,97,117" alt="">
<area href="class_qwt_rich_text.html" shape="rect" coords="121,93,206,117" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_text-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A virtual class to draw text. 
<p>
QwtText is an interface class for drawing plain and rich text. It provides also an interface for text classes that understand other text description languages such as LaTeX or LyX.<p>
<dl compact><dt><b>Warning:</b></dt><dd>Rich text in Qt-2.3.x does not understand sub- and super-scripts. Qt-3.x.x does a better job in rendering mathematics. </dd></dl>

<p>
Definition at line <a class="el" href="qwt__text_8h-source.html#l00035">35</a> of file <a class="el" href="qwt__text_8h-source.html">qwt_text.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a0">~QwtText</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a1">setText</a> (const QString &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>QString&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a2">text</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a3" doxytag="QwtText::isNull" ></a>
bool&nbsp;</td><td class="memItemRight" valign=bottom><b>isNull</b> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a4" doxytag="QwtText::isEmpty" ></a>
bool&nbsp;</td><td class="memItemRight" valign=bottom><b>isEmpty</b> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a5">setFont</a> (const QFont &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>QFont&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a6">font</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>QFontMetrics&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a7">fontMetrics</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a8">setAlignment</a> (int align)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a9">alignment</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a10">setColor</a> (const QColor &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>QColor&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a11">color</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a12">setRectPen</a> (const QPen &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>QPen&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a13">rectPen</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a14">setRectBrush</a> (const QBrush &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>QBrush&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a15">rectBrush</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a16">heightForWidth</a> (int width) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual QRect&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a17">boundingRect</a> (QPainter *painter=0) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a18">draw</a> (QPainter *painter, const QRect &amp;rect) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="class_qwt_text.html">QwtText</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#a19">clone</a> () const =0</td></tr>

<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="class_qwt_text.html">QwtText</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#e0">makeText</a> (const QString &amp;, Qt::TextFormat, int align, const QFont &amp;, const QColor &amp;color=QColor(), const QPen &amp;pen=QPen(Qt::NoPen), const QBrush &amp;brush=QBrush(Qt::NoBrush))</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="class_qwt_text.html">QwtText</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#e1">makeText</a> (const QString &amp;, int align, const QFont &amp;, const QColor &amp;color=QColor(), const QPen &amp;pen=QPen(Qt::NoPen), const QBrush &amp;brush=QBrush(Qt::NoBrush))</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#e2">setDefaultFormat</a> (Qt::TextFormat)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>Qt::TextFormat&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#e3">defaultFormat</a> ()</td></tr>

<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_text.html#b0">QwtText</a> (const QString &amp;text, const QFont &amp;, int align, const QColor &amp;, const QPen &amp;pen=QPen(Qt::NoPen), const QBrush &amp;brush=QBrush(Qt::NoBrush))</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="QwtText::~QwtText" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QwtText::~<a class="el" href="class_qwt_text.html">QwtText</a>           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Destructor. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00044">44</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b0" doxytag="QwtText::QwtText" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QwtText::QwtText           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QString &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QFont &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>font</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>align</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QColor &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>color</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QPen &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pen</em> = <code>QPen(Qt::NoPen)</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QBrush &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>brush</em> = <code>QBrush(Qt::NoBrush)</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>text</em>&nbsp;</td><td>Text </td></tr>
    <tr><td></td><td valign=top><em>font</em>&nbsp;</td><td>Font </td></tr>
    <tr><td></td><td valign=top><em>align</em>&nbsp;</td><td>Alignment flags </td></tr>
    <tr><td></td><td valign=top><em>color</em>&nbsp;</td><td>Color </td></tr>
    <tr><td></td><td valign=top><em>pen</em>&nbsp;</td><td>Pen </td></tr>
    <tr><td></td><td valign=top><em>brush</em>&nbsp;</td><td>Brush </td></tr>
  </table>
</dl>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00031">31</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a9" doxytag="QwtText::alignment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int QwtText::alignment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the alignment flags. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00151">151</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00408">QwtRichText::boundingRect()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00261">QwtPlainText::boundingRect()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00322">QwtRichText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00224">QwtPlainText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00382">QwtRichText::draw()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00246">QwtPlainText::draw()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00529">QwtScale::drawTitle()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00235">QwtPlainText::heightForWidth()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00329">QwtRichText::setText()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00094">QwtScale::setTitle()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00342">QwtScale::titleAlignment()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a17" doxytag="QwtText::boundingRect" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual QRect QwtText::boundingRect           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>painter</em> = <code>0</code>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the bounding rectangle. 
<p>
The bounding rectangle is calculated with respect to (0, 0). The left and top border depend on the alignment flags:<ul>
<li>the left border is at -width, -width/2 or 0 for Qt::AlignRight, Qt::AlignHCenter or Qt::AlignLeft respectively</li><li>the top border is at 0, -height/2 or -height for Qt::AlignTop, Qt::AlignVCenter or Qt::AlignBottom respectively</li></ul>
<p>
Use for instance QRect::moveBy(x,y), before drawing the text into the rectangle. 
<p>
Implemented in <a class="el" href="class_qwt_plain_text.html#a4">QwtPlainText</a>, and <a class="el" href="class_qwt_rich_text.html#a8">QwtRichText</a>.
<p>

<p>
Referenced by <a class="el" href="qwt__marker_8cpp-source.html#l00072">QwtMarker::draw()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00627">QwtPicker::drawCursorLabel()</a>, and <a class="el" href="qwt__push__button_8cpp-source.html#l00352">QwtPushButton::heightForWidth()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a19" doxytag="QwtText::clone" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual <a class="el" href="class_qwt_text.html">QwtText</a>* QwtText::clone           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create a clone 
<p>
Implemented in <a class="el" href="class_qwt_plain_text.html#a2">QwtPlainText</a>, and <a class="el" href="class_qwt_rich_text.html#a3">QwtRichText</a>.
<p>

<p>
Referenced by <a class="el" href="qwt__marker_8cpp-source.html#l00051">QwtMarker::operator=()</a>, and <a class="el" href="qwt__marker_8cpp-source.html#l00038">QwtMarker::QwtMarker()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11" doxytag="QwtText::color" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QColor QwtText::color           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the color. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00163">163</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00322">QwtRichText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00224">QwtPlainText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00382">QwtRichText::draw()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00246">QwtPlainText::draw()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00357">QwtMarker::labelColor()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00382">QwtMarker::labelPen()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00344">QwtMarker::setLabelColor()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00368">QwtMarker::setLabelPen()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00244">QwtMarker::setLabelText()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00094">QwtScale::setTitle()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00360">QwtScale::titleColor()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e3" doxytag="QwtText::defaultFormat" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Qt::TextFormat QwtText::defaultFormat           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return default format for the QwtText factory. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00105">105</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a18" doxytag="QwtText::draw" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void QwtText::draw           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
          <td class="mdname" nowrap> <em>painter</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QRect &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>rect</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draw the text in a clipping rectangle. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>painter</em>&nbsp;</td><td>Painter </td></tr>
    <tr><td></td><td valign=top><em>rect</em>&nbsp;</td><td>Clipping rectangle </td></tr>
  </table>
</dl>

<p>
Implemented in <a class="el" href="class_qwt_plain_text.html#a5">QwtPlainText</a>, and <a class="el" href="class_qwt_rich_text.html#a9">QwtRichText</a>.
<p>

<p>
Referenced by <a class="el" href="qwt__marker_8cpp-source.html#l00072">QwtMarker::draw()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00627">QwtPicker::drawCursorLabel()</a>, <a class="el" href="qwt__legend_8cpp-source.html#l00188">QwtLegendItem::drawItem()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00529">QwtScale::drawTitle()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00274">QwtPlot::printTitle()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6" doxytag="QwtText::font" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QFont QwtText::font           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the font. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00130">130</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00408">QwtRichText::boundingRect()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00261">QwtPlainText::boundingRect()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00322">QwtRichText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00224">QwtPlainText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00382">QwtRichText::draw()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00246">QwtPlainText::draw()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00189">QwtMarker::font()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00360">QwtRichText::heightForWidth()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00347">QwtRichText::setAlignment()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00176">QwtMarker::setFont()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00244">QwtMarker::setLabelText()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00329">QwtRichText::setText()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00094">QwtScale::setTitle()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00219">QwtScale::setTitleFont()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00351">QwtScale::titleFont()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7" doxytag="QwtText::fontMetrics" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QFontMetrics QwtText::fontMetrics           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the font metrics. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00136">136</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00261">QwtPlainText::boundingRect()</a>, and <a class="el" href="qwt__text_8cpp-source.html#l00235">QwtPlainText::heightForWidth()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a16" doxytag="QwtText::heightForWidth" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual int QwtText::heightForWidth           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>width</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [pure virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find the height for a given width. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>width</em>&nbsp;</td><td>Width </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>height Height </dd></dl>

<p>
Implemented in <a class="el" href="class_qwt_plain_text.html#a3">QwtPlainText</a>, and <a class="el" href="class_qwt_rich_text.html#a7">QwtRichText</a>.
<p>

<p>
Referenced by <a class="el" href="qwt__push__button_8cpp-source.html#l00352">QwtPushButton::heightForWidth()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00672">QwtScale::titleHeightForWidth()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e1" doxytag="QwtText::makeText" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="class_qwt_text.html">QwtText</a> * QwtText::makeText           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QString &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>align</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QFont &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>font</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QColor &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>color</em> = <code>QColor()</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QPen &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pen</em> = <code>QPen(Qt::NoPen)</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QBrush &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>brush</em> = <code>QBrush(Qt::NoBrush)</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Factory function for QwtText objects. Creates a text according to <a class="el" href="class_qwt_text.html#e3">QwtText::defaultFormat()</a><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>text</em>&nbsp;</td><td>Contents of the text </td></tr>
    <tr><td></td><td valign=top><em>align</em>&nbsp;</td><td>Or'd values of Qt::AlignmentFlags for drawing the text </td></tr>
    <tr><td></td><td valign=top><em>font</em>&nbsp;</td><td>Font of the text </td></tr>
    <tr><td></td><td valign=top><em>color</em>&nbsp;</td><td>Color of the text </td></tr>
    <tr><td></td><td valign=top><em>pen</em>&nbsp;</td><td>Pen to draw the enclosing rectangle </td></tr>
    <tr><td></td><td valign=top><em>brush</em>&nbsp;</td><td>Brush to draw the enclosing rectangle </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Pointer to a new <a class="el" href="class_qwt_plain_text.html">QwtPlainText</a> or <a class="el" href="class_qwt_rich_text.html">QwtRichText</a> object </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_text.html#e3">QwtText::defaultFormat</a>, <a class="el" href="class_qwt_text.html#e2">QwtText::setDefaultFormat</a> </dd></dl>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00061">61</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
References <a class="el" href="qwt__text_8cpp-source.html#l00081">makeText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e0" doxytag="QwtText::makeText" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="class_qwt_text.html">QwtText</a> * QwtText::makeText           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QString &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>Qt::TextFormat&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>int&nbsp;</td>
          <td class="mdname" nowrap> <em>align</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QFont &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>font</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QColor &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>color</em> = <code>QColor()</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QPen &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>pen</em> = <code>QPen(Qt::NoPen)</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const QBrush &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>brush</em> = <code>QBrush(Qt::NoBrush)</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Factory function for QwtText objects.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>text</em>&nbsp;</td><td>Contents of the text </td></tr>
    <tr><td></td><td valign=top><em>format</em>&nbsp;</td><td>Format of the text </td></tr>
    <tr><td></td><td valign=top><em>align</em>&nbsp;</td><td>Or'd values of Qt::AlignmentFlags for drawing the text </td></tr>
    <tr><td></td><td valign=top><em>font</em>&nbsp;</td><td>Font of the text </td></tr>
    <tr><td></td><td valign=top><em>color</em>&nbsp;</td><td>Color of the text </td></tr>
    <tr><td></td><td valign=top><em>pen</em>&nbsp;</td><td>Pen to draw the enclosing rectangle </td></tr>
    <tr><td></td><td valign=top><em>brush</em>&nbsp;</td><td>Brush to draw the enclosing rectangle </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Pointer to a new <a class="el" href="class_qwt_plain_text.html">QwtPlainText</a> or <a class="el" href="class_qwt_rich_text.html">QwtRichText</a> object </dd></dl>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00081">81</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00627">QwtPicker::drawCursorLabel()</a>, <a class="el" href="qwt__push__button_8cpp-source.html#l00352">QwtPushButton::heightForWidth()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00061">makeText()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00274">QwtPlot::printTitle()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00020">QwtMarker::QwtMarker()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00094">QwtScale::setTitle()</a>, <a class="el" href="qwt__legend_8cpp-source.html#l00359">QwtLegendLabel::titleText()</a>, and <a class="el" href="qwt__legend_8cpp-source.html#l00295">QwtLegendButton::titleText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a15" doxytag="QwtText::rectBrush" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QBrush QwtText::rectBrush           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the rectangle brush. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00187">187</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00322">QwtRichText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00224">QwtPlainText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00382">QwtRichText::draw()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00246">QwtPlainText::draw()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, and <a class="el" href="qwt__marker_8cpp-source.html#l00244">QwtMarker::setLabelText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a13" doxytag="QwtText::rectPen" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QPen QwtText::rectPen           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the rectangle pen. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00175">175</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00322">QwtRichText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00224">QwtPlainText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00382">QwtRichText::draw()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00246">QwtPlainText::draw()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, and <a class="el" href="qwt__marker_8cpp-source.html#l00244">QwtMarker::setLabelText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8" doxytag="QwtText::setAlignment" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setAlignment           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>align</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the alignment flags. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>align</em>&nbsp;</td><td>Or'd Qt::Alignment flags </td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="class_qwt_rich_text.html#a6">QwtRichText</a>.
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00145">145</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__scale_8cpp-source.html#l00529">QwtScale::drawTitle()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00347">QwtRichText::setAlignment()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00247">QwtScale::setTitleAlignment()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a10" doxytag="QwtText::setColor" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setColor           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QColor &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the color. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00157">157</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__marker_8cpp-source.html#l00344">QwtMarker::setLabelColor()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00368">QwtMarker::setLabelPen()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00233">QwtScale::setTitleColor()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="e2" doxytag="QwtText::setDefaultFormat" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setDefaultFormat           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">Qt::TextFormat&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the default format for the QwtText factory. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00099">99</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5" doxytag="QwtText::setFont" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setFont           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QFont &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the font. 
<p>

<p>
Reimplemented in <a class="el" href="class_qwt_rich_text.html#a5">QwtRichText</a>.
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00123">123</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00338">QwtRichText::setFont()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00176">QwtMarker::setFont()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00219">QwtScale::setTitleFont()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a14" doxytag="QwtText::setRectBrush" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setRectBrush           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QBrush &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the rectangle brush. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00181">181</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a12" doxytag="QwtText::setRectPen" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setRectPen           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QPen &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the rectangle pen. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00169">169</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="QwtText::setText" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void QwtText::setText           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QString &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set the text. 
<p>

<p>
Reimplemented in <a class="el" href="class_qwt_rich_text.html#a4">QwtRichText</a>.
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00111">111</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00329">QwtRichText::setText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="QwtText::text" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QString QwtText::text           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the text. 
<p>
Definition at line <a class="el" href="qwt__text_8cpp-source.html#l00117">117</a> of file <a class="el" href="qwt__text_8cpp-source.html">qwt_text.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__text_8cpp-source.html#l00261">QwtPlainText::boundingRect()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00322">QwtRichText::clone()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00224">QwtPlainText::clone()</a>, <a class="el" href="qwt__scale_8cpp-source.html#l00686">QwtScale::dimForLength()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00246">QwtPlainText::draw()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00072">QwtMarker::draw()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00235">QwtPlainText::heightForWidth()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00282">QwtMarker::label()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00347">QwtRichText::setAlignment()</a>, <a class="el" href="qwt__marker_8cpp-source.html#l00259">QwtMarker::setLabel()</a>, and <a class="el" href="qwt__scale_8cpp-source.html#l00369">QwtScale::title()</a>.    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Nov 16 21:12:42 2004 for Qwt User's Guide by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
</body>
</html>