File: class_qwt_push_button.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 (518 lines) | stat: -rw-r--r-- 23,682 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
<!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: QwtPushButton 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>QwtPushButton Class Reference</h1>Inheritance diagram for QwtPushButton:<p><center><img src="class_qwt_push_button__inherit__graph.png" border="0" usemap="#_qwt_push_button__inherit__map" alt="Inheritance graph"></center>
<map name="_qwt_push_button__inherit__map">
<area href="class_qwt_legend_button.html" shape="rect" coords="7,93,126,117" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_push_button-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A push button that allows alignment of button labels, and use of rich texts, as provided by QLabel.<p>
<dl compact><dt><b>Warning:</b></dt><dd>The layout of the text label might be broken for a couple of styles. At least the KDE 3.3 Keramik style is known. </dd></dl>

<p>
Definition at line <a class="el" href="qwt__push__button_8h-source.html#l00024">24</a> of file <a class="el" href="qwt__push__button_8h-source.html">qwt_push_button.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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_push_button.html#a0">QwtPushButton</a> (QWidget *=NULL, const char *name=NULL)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_push_button.html#a1">QwtPushButton</a> (const QString &amp;text, QWidget *=NULL, const char *name=NULL)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_push_button.html#a2">QwtPushButton</a> (const QIconSet &amp;, const QString &amp;, QWidget *=NULL, const char *name=NULL)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>TextFormat&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_push_button.html#a3">textFormat</a> () const</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_push_button.html#a4">setTextFormat</a> (TextFormat)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual Qt::TextFormat&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_push_button.html#a5">usedTextFormat</a> () const</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_push_button.html#a6">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_push_button.html#a7">setAlignment</a> (int alignment)</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_push_button.html#a8">setIndent</a> (int)</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_push_button.html#a9">indent</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual QSize&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="class_qwt_push_button.html#a10">sizeHint</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_push_button.html#a11">heightForWidth</a> (int) const</td></tr>

<tr><td colspan=2><br><h2>Protected Member Functions</h2></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_push_button.html#b0">drawButtonLabel</a> (QPainter *)</td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="QwtPushButton::QwtPushButton" ></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"> QwtPushButton::QwtPushButton           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QWidget *&nbsp;</td>
          <td class="mdname" nowrap> <em>parent</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em> = <code>NULL</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a push button with no text. Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00217">217</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="QwtPushButton::QwtPushButton" ></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"> QwtPushButton::QwtPushButton           </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>QWidget *&nbsp;</td>
          <td class="mdname" nowrap> <em>parent</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em> = <code>NULL</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a push button called name with the parent parent and the text text. Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00227">227</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="QwtPushButton::QwtPushButton" ></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"> QwtPushButton::QwtPushButton           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QIconSet &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>iconSet</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>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>QWidget *&nbsp;</td>
          <td class="mdname" nowrap> <em>parent</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em> = <code>NULL</code></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructs a push button with an icon and a text. Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00237">237</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a6" doxytag="QwtPushButton::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 QwtPushButton::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>
<dl compact><dt><b>Returns:</b></dt><dd>Alignment of the button label's contents. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a7">QwtPushButton::setAlignment</a> </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00301">301</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__legend_8cpp-source.html#l00295">QwtLegendButton::titleText()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="b0" doxytag="QwtPushButton::drawButtonLabel" ></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 QwtPushButton::drawButtonLabel           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draws the button text or pixmap. 
<p>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00417">417</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11" doxytag="QwtPushButton::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"> int QwtPushButton::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> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find the preferred height, given the width w.<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>preferred height </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00352">352</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.
<p>
References <a class="el" href="class_qwt_text.html#a17">QwtText::boundingRect()</a>, <a class="el" href="class_qwt_text.html#a16">QwtText::heightForWidth()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00081">QwtText::makeText()</a>, <a class="el" href="qwt__push__button_8cpp-source.html#l00370">sizeHint()</a>, and <a class="el" href="qwt__push__button_8cpp-source.html#l00262">usedTextFormat()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9" doxytag="QwtPushButton::indent" ></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 QwtPushButton::indent           </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>
<dl compact><dt><b>Returns:</b></dt><dd>Indent of the button label's contents. </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a8">QwtPushButton::setIndent</a> </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00325">325</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7" doxytag="QwtPushButton::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 QwtPushButton::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>alignment</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>
Sets the alignment of the button labels contents. 
<p>
The default format is Qt::AlignCenter | Qt::ExpandTabs | Qt::WordBreak.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>alignment</em>&nbsp;</td><td>Bitwise OR of Qt::AlignmentFlags and Qt::TextFlags values.</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a6">QwtPushButton::alignment()</a> </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00315">315</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8" doxytag="QwtPushButton::setIndent" ></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 QwtPushButton::setIndent           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>indent</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the button label's contents indent in pixels. 
<p>
The default value is 4 pixels.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>indent</em>&nbsp;</td><td>Indent</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a9">QwtPushButton::indent()</a> </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00340">340</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="QwtPushButton::setTextFormat" ></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 QwtPushButton::setTextFormat           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">TextFormat&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>textFormat</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the button label's text format. The default format is AutoText. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td></td><td valign=top><em>textFormat</em>&nbsp;</td><td>Text format for the button label text</td></tr>
  </table>
</dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a3">QwtPushButton::textFormat()</a> </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00291">291</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a10" doxytag="QwtPushButton::sizeHint" ></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"> QSize QwtPushButton::sizeHint           </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> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return sizeHint. 
<p>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00370">370</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.
<p>
References <a class="el" href="qwt__text_8cpp-source.html#l00408">QwtRichText::boundingRect()</a>, <a class="el" href="qwt__push__button_8cpp-source.html#l00277">textFormat()</a>, and <a class="el" href="qwt__push__button_8cpp-source.html#l00262">usedTextFormat()</a>.
<p>
Referenced by <a class="el" href="qwt__push__button_8cpp-source.html#l00352">heightForWidth()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="QwtPushButton::textFormat" ></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 QwtPushButton::textFormat           </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>
<dl compact><dt><b>Returns:</b></dt><dd>The button label's text format </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a4">QwtPushButton::setTextFormat</a> </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00277">277</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__push__button_8cpp-source.html#l00370">sizeHint()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5" doxytag="QwtPushButton::usedTextFormat" ></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 QwtPushButton::usedTextFormat           </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> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Find the text format that is used for painting the button label. 
<p>
In case of Qt::AutoText the format is found by evaluating text(), otherwise it is <a class="el" href="class_qwt_push_button.html#a3">textFormat()</a><p>
<dl compact><dt><b>Returns:</b></dt><dd>Text format that is used for painting </dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_push_button.html#a3">textFormat()</a>, <a class="el" href="class_qwt_push_button.html#a4">setTextFormat()</a>, QStyleSheet::mightBeRichText() </dd></dl>
Definition at line <a class="el" href="qwt__push__button_8cpp-source.html#l00262">262</a> of file <a class="el" href="qwt__push__button_8cpp-source.html">qwt_push_button.cpp</a>.
<p>
Referenced by <a class="el" href="qwt__push__button_8cpp-source.html#l00352">heightForWidth()</a>, <a class="el" href="qwt__push__button_8cpp-source.html#l00370">sizeHint()</a>, and <a class="el" href="qwt__legend_8cpp-source.html#l00295">QwtLegendButton::titleText()</a>.    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Nov 16 21:12:39 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>