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: QwtLegendItem 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>QwtLegendItem Class Reference</h1><!-- doxytag: class="QwtLegendItem" --><!-- doxytag: inherits="QwtTextLabel" -->Inheritance diagram for QwtLegendItem:<p><center><img src="class_qwt_legend_item__inherit__graph.png" border="0" usemap="#_qwt_legend_item__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_legend_item__inherit__map">
24
<area href="class_qwt_text_label.html" shape="rect" coords="12,8,116,32" alt="">
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtLegendItem:<p><center><img src="class_qwt_legend_item__coll__graph.png" border="0" usemap="#_qwt_legend_item__coll__map" alt="Collaboration graph"></center>
27
<map name="_qwt_legend_item__coll__map">
28
<area href="class_qwt_text_label.html" shape="rect" coords="12,8,116,32" alt="">
30
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_legend_item-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
33
<a class="el" href="class_qwt_legend_item.html">QwtLegendItem</a> represents a curve on a legend. It displays an curve identifier with an explaining text. The identifier might be a combination of curve symbol and line. In readonly mode it behaves like a label, otherwise like an unstylish push button.<p>
34
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html">QwtLegend</a>, <a class="el" href="class_qwt_plot_curve.html">QwtPlotCurve</a> </dd></dl>
39
Definition at line <a class="el" href="qwt__legend__item_8h-source.html#l00035">35</a> of file <a class="el" href="qwt__legend__item_8h-source.html">qwt_legend_item.h</a>.<table border="0" cellpadding="0" cellspacing="0">
41
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
42
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#9f84379e79c1856a6bd4970a719d97bd">IdentifierMode</a> { <br>
43
<b>NoIdentifier</b> = 0,
45
<b>ShowLine</b> = 1,
47
<b>ShowSymbol</b> = 2,
49
<b>ShowText</b> = 4
53
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#f7a194ea464d2c405479dd8be1bd1e1b">setChecked</a> (bool on)</td></tr>
56
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#28c4837ec402725c87ecee6de558c956">clicked</a> ()</td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#7cc6a0390cc0aaea2feb8a324139410c">pressed</a> ()</td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#7286b8900294659d0850ac588aafaa97">released</a> ()</td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#95fe5b1ec7fcfaa86fd9ec49a3bf23aa">checked</a> (bool)</td></tr>
65
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#46f61a0eaaf24a3a78d498db3fc8c457">QwtLegendItem</a> (QWidget *parent=0)</td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#e806668ed7ddd57ea4ce88fc6ea960aa">QwtLegendItem</a> (const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &, const QPen &, const <a class="el" href="class_qwt_text.html">QwtText</a> &, QWidget *parent=0)</td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#8c98d47b26d4ad3af98bffc7107f6fc9">~QwtLegendItem</a> ()</td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#8420c4d8cd73945a25697109df5c2f0e">setText</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &)</td></tr>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#e6487dbe8f2c72512887df8bcb648d53">setItemMode</a> (<a class="el" href="class_qwt_legend.html#b216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a>)</td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_legend.html#b216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#6d50a2a59815489f7ae0fc047f04b98e">itemMode</a> () const</td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#cbd7bb723c868b26bc91cfbc54ade719">setIdentifierMode</a> (int)</td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#69abb2e53cf39ede756edf16415be970">identifierMode</a> () const</td></tr>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#c435a0541a9c2a5938a879f44a4fc8f5">setIdentfierWidth</a> (int width)</td></tr>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#4890c8d1665b4b50e4ea7aee169d8705">identifierWidth</a> () const</td></tr>
86
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#4ff8a83f130d56bf5932c6a35384d85f">setSpacing</a> (int spacing)</td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#6e6d120fff70f4a0e1c8da8bc4db70ca">spacing</a> () const</td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#12029c7394b76b7431593630ce6ee386">setSymbol</a> (const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> &)</td></tr>
92
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#44a50e6d4290e63888e987e7eba340df">symbol</a> () const</td></tr>
94
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#97803f16937bf1a392b7675fd7c9b503">setCurvePen</a> (const QPen &)</td></tr>
96
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPen & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#782c0b18542cb4d9f4b8a9280185235b">curvePen</a> () const</td></tr>
98
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#55f7eafc9ac91736984faddd6832dfea">drawIdentifier</a> (QPainter *, const QRect &) const</td></tr>
100
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#9b92a8d1aa5c77f5476f22d9cd22e6e4">drawItem</a> (QPainter *p, const QRect &) const</td></tr>
102
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#c4e922104a0258a3eca35fc6434c3357">sizeHint</a> () const</td></tr>
104
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#7908d4fcd5d7c7bc9fbfc922c1b7458f">isChecked</a> () const</td></tr>
106
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
107
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#1c871e735a96cc86f95b4dffe2339f85">setDown</a> (bool)</td></tr>
109
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#9993db8d0d76ae9ba0071676cd548424">isDown</a> () const</td></tr>
111
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#c154aa6b045d78f8134bbfab19a9729b">paintEvent</a> (QPaintEvent *)</td></tr>
113
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#af54f5473fc174aac5cb5cdcfdcc7292">mousePressEvent</a> (QMouseEvent *)</td></tr>
115
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#37950b4dd9de4dfe74c05eee572c16a2">mouseReleaseEvent</a> (QMouseEvent *)</td></tr>
117
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#9b6a6527d2b867a912a21ef3358eb63f">keyPressEvent</a> (QKeyEvent *)</td></tr>
119
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#0b31f4435914a8cd0491ea8aab45041f">keyReleaseEvent</a> (QKeyEvent *)</td></tr>
121
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item.html#fa466fbb3689353107872c6e133b5ddf">drawText</a> (QPainter *, const QRect &)</td></tr>
124
<hr><h2>Member Enumeration Documentation</h2>
125
<a class="anchor" name="9f84379e79c1856a6bd4970a719d97bd"></a><!-- doxytag: member="QwtLegendItem::IdentifierMode" ref="9f84379e79c1856a6bd4970a719d97bd" args="" -->
126
<div class="memitem">
127
<div class="memproto">
128
<table class="memname">
130
<td class="memname">enum <a class="el" href="class_qwt_legend_item.html#9f84379e79c1856a6bd4970a719d97bd">QwtLegendItem::IdentifierMode</a> </td>
139
Default is ShowLine | ShowText <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#69abb2e53cf39ede756edf16415be970">QwtLegendItem::identifierMode</a>, <a class="el" href="class_qwt_legend_item.html#cbd7bb723c868b26bc91cfbc54ade719">QwtLegendItem::setIdentifierMode</a> </dd></dl>
142
Definition at line <a class="el" href="qwt__legend__item_8h-source.html#l00047">47</a> of file <a class="el" href="qwt__legend__item_8h-source.html">qwt_legend_item.h</a>.
145
<hr><h2>Constructor & Destructor Documentation</h2>
146
<a class="anchor" name="46f61a0eaaf24a3a78d498db3fc8c457"></a><!-- doxytag: member="QwtLegendItem::QwtLegendItem" ref="46f61a0eaaf24a3a78d498db3fc8c457" args="(QWidget *parent=0)" -->
147
<div class="memitem">
148
<div class="memproto">
149
<table class="memname">
151
<td class="memname">QwtLegendItem::QwtLegendItem </td>
153
<td class="paramtype">QWidget * </td>
154
<td class="paramname"> <em>parent</em> = <code>0</code> </td>
155
<td> ) </td>
156
<td width="100%"><code> [explicit]</code></td>
163
<dl compact><dt><b>Parameters:</b></dt><dd>
164
<table border="0" cellspacing="2" cellpadding="0">
165
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
170
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00080">80</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
173
<a class="anchor" name="e806668ed7ddd57ea4ce88fc6ea960aa"></a><!-- doxytag: member="QwtLegendItem::QwtLegendItem" ref="e806668ed7ddd57ea4ce88fc6ea960aa" args="(const QwtSymbol &, const QPen &, const QwtText &, QWidget *parent=0)" -->
174
<div class="memitem">
175
<div class="memproto">
176
<table class="memname">
178
<td class="memname">QwtLegendItem::QwtLegendItem </td>
180
<td class="paramtype">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> & </td>
181
<td class="paramname"> <em>symbol</em>, </td>
184
<td class="paramkey"></td>
186
<td class="paramtype">const QPen & </td>
187
<td class="paramname"> <em>curvePen</em>, </td>
190
<td class="paramkey"></td>
192
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
193
<td class="paramname"> <em>text</em>, </td>
196
<td class="paramkey"></td>
198
<td class="paramtype">QWidget * </td>
199
<td class="paramname"> <em>parent</em> = <code>0</code></td><td> </td>
204
<td></td><td></td><td width="100%"><code> [explicit]</code></td>
211
<dl compact><dt><b>Parameters:</b></dt><dd>
212
<table border="0" cellspacing="2" cellpadding="0">
213
<tr><td valign="top"></td><td valign="top"><em>symbol</em> </td><td>Curve symbol </td></tr>
214
<tr><td valign="top"></td><td valign="top"><em>curvePen</em> </td><td>Curve pen </td></tr>
215
<tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>Label text </td></tr>
216
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
221
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00093">93</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
223
References <a class="el" href="qwt__symbol_8cpp-source.html#l00051">QwtSymbol::clone()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00269">symbol()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00107">QwtTextLabel::text()</a>.
226
<a class="anchor" name="8c98d47b26d4ad3af98bffc7107f6fc9"></a><!-- doxytag: member="QwtLegendItem::~QwtLegendItem" ref="8c98d47b26d4ad3af98bffc7107f6fc9" args="()" -->
227
<div class="memitem">
228
<div class="memproto">
229
<table class="memname">
231
<td class="memname">QwtLegendItem::~QwtLegendItem </td>
233
<td class="paramname"> </td>
234
<td> ) </td>
235
<td width="100%"><code> [virtual]</code></td>
246
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00116">116</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
249
<hr><h2>Member Function Documentation</h2>
250
<a class="anchor" name="8420c4d8cd73945a25697109df5c2f0e"></a><!-- doxytag: member="QwtLegendItem::setText" ref="8420c4d8cd73945a25697109df5c2f0e" args="(const QwtText &)" -->
251
<div class="memitem">
252
<div class="memproto">
253
<table class="memname">
255
<td class="memname">void QwtLegendItem::setText </td>
257
<td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td>
258
<td class="paramname"> <em>text</em> </td>
259
<td> ) </td>
260
<td width="100%"><code> [virtual]</code></td>
267
Set the text to the legend item<p>
268
<dl compact><dt><b>Parameters:</b></dt><dd>
269
<table border="0" cellspacing="2" cellpadding="0">
270
<tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>Text label </td></tr>
273
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_text_label.html#65113573cdf1fe4098a324453e11fe4e">QwtTextLabel::text()</a> </dd></dl>
276
Reimplemented from <a class="el" href="class_qwt_text_label.html#c43ba313b78dccf7aa7433f26059b2e2">QwtTextLabel</a>.
278
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00128">128</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
280
References <a class="el" href="qwt__text_8cpp-source.html#l00264">QwtText::setRenderFlags()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00086">QwtTextLabel::setText()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00107">QwtTextLabel::text()</a>.
283
<a class="anchor" name="e6487dbe8f2c72512887df8bcb648d53"></a><!-- doxytag: member="QwtLegendItem::setItemMode" ref="e6487dbe8f2c72512887df8bcb648d53" args="(QwtLegend::LegendItemMode)" -->
284
<div class="memitem">
285
<div class="memproto">
286
<table class="memname">
288
<td class="memname">void QwtLegendItem::setItemMode </td>
290
<td class="paramtype"><a class="el" href="class_qwt_legend.html#b216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a> </td>
291
<td class="paramname"> <em>mode</em> </td>
292
<td> ) </td>
293
<td width="100%"></td>
300
Set the item mode The default is QwtLegend::ReadOnlyItem<p>
301
<dl compact><dt><b>Parameters:</b></dt><dd>
302
<table border="0" cellspacing="2" cellpadding="0">
303
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>Item mode </td></tr>
306
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#6d50a2a59815489f7ae0fc047f04b98e">itemMode()</a> </dd></dl>
309
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00150">150</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
311
References <a class="el" href="qwt__text__label_8cpp-source.html#l00152">QwtTextLabel::setMargin()</a>.
314
<a class="anchor" name="6d50a2a59815489f7ae0fc047f04b98e"></a><!-- doxytag: member="QwtLegendItem::itemMode" ref="6d50a2a59815489f7ae0fc047f04b98e" args="() const" -->
315
<div class="memitem">
316
<div class="memproto">
317
<table class="memname">
319
<td class="memname"><a class="el" href="class_qwt_legend.html#b216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a> QwtLegendItem::itemMode </td>
321
<td class="paramname"> </td>
322
<td> ) </td>
323
<td width="100%"> const</td>
330
Return the item mode<p>
331
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#e6487dbe8f2c72512887df8bcb648d53">setItemMode()</a> </dd></dl>
334
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00169">169</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
337
<a class="anchor" name="cbd7bb723c868b26bc91cfbc54ade719"></a><!-- doxytag: member="QwtLegendItem::setIdentifierMode" ref="cbd7bb723c868b26bc91cfbc54ade719" args="(int)" -->
338
<div class="memitem">
339
<div class="memproto">
340
<table class="memname">
342
<td class="memname">void QwtLegendItem::setIdentifierMode </td>
344
<td class="paramtype">int </td>
345
<td class="paramname"> <em>mode</em> </td>
346
<td> ) </td>
347
<td width="100%"></td>
354
Set identifier mode. Default is ShowLine | ShowText. <dl compact><dt><b>Parameters:</b></dt><dd>
355
<table border="0" cellspacing="2" cellpadding="0">
356
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>Or'd values of IdentifierMode</td></tr>
359
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#69abb2e53cf39ede756edf16415be970">identifierMode()</a> </dd></dl>
362
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00181">181</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
365
<a class="anchor" name="69abb2e53cf39ede756edf16415be970"></a><!-- doxytag: member="QwtLegendItem::identifierMode" ref="69abb2e53cf39ede756edf16415be970" args="() const" -->
366
<div class="memitem">
367
<div class="memproto">
368
<table class="memname">
370
<td class="memname">int QwtLegendItem::identifierMode </td>
372
<td class="paramname"> </td>
373
<td> ) </td>
374
<td width="100%"> const</td>
381
Or'd values of IdentifierMode. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#cbd7bb723c868b26bc91cfbc54ade719">setIdentifierMode()</a>, <a class="el" href="class_qwt_legend_item.html#9f84379e79c1856a6bd4970a719d97bd">IdentifierMode</a> </dd></dl>
384
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00194">194</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
387
<a class="anchor" name="c435a0541a9c2a5938a879f44a4fc8f5"></a><!-- doxytag: member="QwtLegendItem::setIdentfierWidth" ref="c435a0541a9c2a5938a879f44a4fc8f5" args="(int width)" -->
388
<div class="memitem">
389
<div class="memproto">
390
<table class="memname">
392
<td class="memname">void QwtLegendItem::setIdentfierWidth </td>
394
<td class="paramtype">int </td>
395
<td class="paramname"> <em>width</em> </td>
396
<td> ) </td>
397
<td width="100%"></td>
404
Set the width for the identifier Default is 8 pixels<p>
405
<dl compact><dt><b>Parameters:</b></dt><dd>
406
<table border="0" cellspacing="2" cellpadding="0">
407
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>New width</td></tr>
410
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#69abb2e53cf39ede756edf16415be970">identifierMode()</a>, <a class="el" href="class_qwt_legend_item.html#4890c8d1665b4b50e4ea7aee169d8705">identifierWidth</a> </dd></dl>
413
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00207">207</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
415
References <a class="el" href="qwt__text__label_8cpp-source.html#l00143">QwtTextLabel::margin()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00131">QwtTextLabel::setIndent()</a>.
418
<a class="anchor" name="4890c8d1665b4b50e4ea7aee169d8705"></a><!-- doxytag: member="QwtLegendItem::identifierWidth" ref="4890c8d1665b4b50e4ea7aee169d8705" args="() const" -->
419
<div class="memitem">
420
<div class="memproto">
421
<table class="memname">
423
<td class="memname">int QwtLegendItem::identifierWidth </td>
425
<td class="paramname"> </td>
426
<td> ) </td>
427
<td width="100%"> const</td>
434
Return the width of the identifier<p>
435
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#c435a0541a9c2a5938a879f44a4fc8f5">setIdentfierWidth</a> </dd></dl>
438
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00222">222</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
440
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00360">drawItem()</a>.
443
<a class="anchor" name="4ff8a83f130d56bf5932c6a35384d85f"></a><!-- doxytag: member="QwtLegendItem::setSpacing" ref="4ff8a83f130d56bf5932c6a35384d85f" args="(int spacing)" -->
444
<div class="memitem">
445
<div class="memproto">
446
<table class="memname">
448
<td class="memname">void QwtLegendItem::setSpacing </td>
450
<td class="paramtype">int </td>
451
<td class="paramname"> <em>spacing</em> </td>
452
<td> ) </td>
453
<td width="100%"></td>
460
Change the spacing <dl compact><dt><b>Parameters:</b></dt><dd>
461
<table border="0" cellspacing="2" cellpadding="0">
462
<tr><td valign="top"></td><td valign="top"><em>spacing</em> </td><td>Spacing </td></tr>
465
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#6e6d120fff70f4a0e1c8da8bc4db70ca">spacing()</a>, <a class="el" href="class_qwt_legend_item.html#4890c8d1665b4b50e4ea7aee169d8705">identifierWidth()</a>, <a class="el" href="class_qwt_text_label.html#213b9d779d8f12b6db264d27be188eb5">QwtTextLabel::margin()</a> </dd></dl>
468
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00232">232</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
470
References <a class="el" href="qwt__text__label_8cpp-source.html#l00143">QwtTextLabel::margin()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00131">QwtTextLabel::setIndent()</a>.
473
<a class="anchor" name="6e6d120fff70f4a0e1c8da8bc4db70ca"></a><!-- doxytag: member="QwtLegendItem::spacing" ref="6e6d120fff70f4a0e1c8da8bc4db70ca" args="() const" -->
474
<div class="memitem">
475
<div class="memproto">
476
<table class="memname">
478
<td class="memname">int QwtLegendItem::spacing </td>
480
<td class="paramname"> </td>
481
<td> ) </td>
482
<td width="100%"> const</td>
489
Return the spacing <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#4ff8a83f130d56bf5932c6a35384d85f">setSpacing()</a>, <a class="el" href="class_qwt_legend_item.html#4890c8d1665b4b50e4ea7aee169d8705">identifierWidth()</a>, <a class="el" href="class_qwt_text_label.html#213b9d779d8f12b6db264d27be188eb5">QwtTextLabel::margin()</a> </dd></dl>
492
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00247">247</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
494
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00360">drawItem()</a>.
497
<a class="anchor" name="12029c7394b76b7431593630ce6ee386"></a><!-- doxytag: member="QwtLegendItem::setSymbol" ref="12029c7394b76b7431593630ce6ee386" args="(const QwtSymbol &)" -->
498
<div class="memitem">
499
<div class="memproto">
500
<table class="memname">
502
<td class="memname">void QwtLegendItem::setSymbol </td>
504
<td class="paramtype">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> & </td>
505
<td class="paramname"> <em>symbol</em> </td>
506
<td> ) </td>
507
<td width="100%"></td>
514
Set curve symbol. <dl compact><dt><b>Parameters:</b></dt><dd>
515
<table border="0" cellspacing="2" cellpadding="0">
516
<tr><td valign="top"></td><td valign="top"><em>symbol</em> </td><td>Symbol</td></tr>
519
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#44a50e6d4290e63888e987e7eba340df">symbol()</a> </dd></dl>
522
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00258">258</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
524
References <a class="el" href="qwt__symbol_8cpp-source.html#l00051">QwtSymbol::clone()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00269">symbol()</a>.
527
<a class="anchor" name="44a50e6d4290e63888e987e7eba340df"></a><!-- doxytag: member="QwtLegendItem::symbol" ref="44a50e6d4290e63888e987e7eba340df" args="() const" -->
528
<div class="memitem">
529
<div class="memproto">
530
<table class="memname">
532
<td class="memname">const <a class="el" href="class_qwt_symbol.html">QwtSymbol</a> & QwtLegendItem::symbol </td>
534
<td class="paramname"> </td>
535
<td> ) </td>
536
<td width="100%"> const</td>
543
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The curve symbol. </dd></dl>
544
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#12029c7394b76b7431593630ce6ee386">setSymbol()</a> </dd></dl>
547
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00269">269</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
549
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00093">QwtLegendItem()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00258">setSymbol()</a>.
552
<a class="anchor" name="97803f16937bf1a392b7675fd7c9b503"></a><!-- doxytag: member="QwtLegendItem::setCurvePen" ref="97803f16937bf1a392b7675fd7c9b503" args="(const QPen &)" -->
553
<div class="memitem">
554
<div class="memproto">
555
<table class="memname">
557
<td class="memname">void QwtLegendItem::setCurvePen </td>
559
<td class="paramtype">const QPen & </td>
560
<td class="paramname"> <em>pen</em> </td>
561
<td> ) </td>
562
<td width="100%"></td>
569
Set curve pen. <dl compact><dt><b>Parameters:</b></dt><dd>
570
<table border="0" cellspacing="2" cellpadding="0">
571
<tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>Curve pen</td></tr>
574
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#782c0b18542cb4d9f4b8a9280185235b">curvePen()</a> </dd></dl>
577
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00281">281</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
580
<a class="anchor" name="782c0b18542cb4d9f4b8a9280185235b"></a><!-- doxytag: member="QwtLegendItem::curvePen" ref="782c0b18542cb4d9f4b8a9280185235b" args="() const" -->
581
<div class="memitem">
582
<div class="memproto">
583
<table class="memname">
585
<td class="memname">const QPen & QwtLegendItem::curvePen </td>
587
<td class="paramname"> </td>
588
<td> ) </td>
589
<td width="100%"> const</td>
596
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The curve pen. </dd></dl>
597
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#97803f16937bf1a392b7675fd7c9b503">setCurvePen()</a> </dd></dl>
600
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00294">294</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
603
<a class="anchor" name="55f7eafc9ac91736984faddd6832dfea"></a><!-- doxytag: member="QwtLegendItem::drawIdentifier" ref="55f7eafc9ac91736984faddd6832dfea" args="(QPainter *, const QRect &) const" -->
604
<div class="memitem">
605
<div class="memproto">
606
<table class="memname">
608
<td class="memname">void QwtLegendItem::drawIdentifier </td>
610
<td class="paramtype">QPainter * </td>
611
<td class="paramname"> <em>painter</em>, </td>
614
<td class="paramkey"></td>
616
<td class="paramtype">const QRect & </td>
617
<td class="paramname"> <em>rect</em></td><td> </td>
622
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
629
Paint the identifier to a given rect. <dl compact><dt><b>Parameters:</b></dt><dd>
630
<table border="0" cellspacing="2" cellpadding="0">
631
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
632
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Rect where to paint </td></tr>
637
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00304">304</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
639
References <a class="el" href="qwt__painter_8cpp-source.html#l00424">QwtPainter::drawLine()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00160">QwtPainter::metricsMap()</a>, and <a class="el" href="qwt__layout__metrics_8cpp-source.html#l00147">QwtMetricsMap::screenToLayout()</a>.
641
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00360">drawItem()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00385">paintEvent()</a>.
644
<a class="anchor" name="9b92a8d1aa5c77f5476f22d9cd22e6e4"></a><!-- doxytag: member="QwtLegendItem::drawItem" ref="9b92a8d1aa5c77f5476f22d9cd22e6e4" args="(QPainter *p, const QRect &) const" -->
645
<div class="memitem">
646
<div class="memproto">
647
<table class="memname">
649
<td class="memname">void QwtLegendItem::drawItem </td>
651
<td class="paramtype">QPainter * </td>
652
<td class="paramname"> <em>painter</em>, </td>
655
<td class="paramkey"></td>
657
<td class="paramtype">const QRect & </td>
658
<td class="paramname"> <em>rect</em></td><td> </td>
663
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
670
Draw the legend item to a given rect. <dl compact><dt><b>Parameters:</b></dt><dd>
671
<table border="0" cellspacing="2" cellpadding="0">
672
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
673
<tr><td valign="top"></td><td valign="top"><em>rect</em> </td><td>Rect where to paint the button </td></tr>
678
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00360">360</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
680
References <a class="el" href="qwt__text_8cpp-source.html#l00564">QwtText::draw()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00304">drawIdentifier()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00222">identifierWidth()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00143">QwtTextLabel::margin()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00160">QwtPainter::metricsMap()</a>, <a class="el" href="qwt__layout__metrics_8h-source.html#l00103">QwtMetricsMap::screenToLayoutX()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00247">spacing()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00107">QwtTextLabel::text()</a>.
683
<a class="anchor" name="c4e922104a0258a3eca35fc6434c3357"></a><!-- doxytag: member="QwtLegendItem::sizeHint" ref="c4e922104a0258a3eca35fc6434c3357" args="() const" -->
684
<div class="memitem">
685
<div class="memproto">
686
<table class="memname">
688
<td class="memname">QSize QwtLegendItem::sizeHint </td>
690
<td class="paramname"> </td>
691
<td> ) </td>
692
<td width="100%"> const<code> [virtual]</code></td>
703
Reimplemented from <a class="el" href="class_qwt_text_label.html#efd60f5b103f4c66879a9b14a3a3a978">QwtTextLabel</a>.
705
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00578">578</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
707
References <a class="el" href="qwt__text__label_8cpp-source.html#l00161">QwtTextLabel::sizeHint()</a>.
710
<a class="anchor" name="7908d4fcd5d7c7bc9fbfc922c1b7458f"></a><!-- doxytag: member="QwtLegendItem::isChecked" ref="7908d4fcd5d7c7bc9fbfc922c1b7458f" args="() const" -->
711
<div class="memitem">
712
<div class="memproto">
713
<table class="memname">
715
<td class="memname">bool QwtLegendItem::isChecked </td>
717
<td class="paramname"> </td>
718
<td> ) </td>
719
<td width="100%"> const</td>
726
Return true, if the item is checked.
730
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00542">542</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
732
References <a class="el" href="qwt__legend__item_8cpp-source.html#l00572">isDown()</a>.
735
<a class="anchor" name="f7a194ea464d2c405479dd8be1bd1e1b"></a><!-- doxytag: member="QwtLegendItem::setChecked" ref="f7a194ea464d2c405479dd8be1bd1e1b" args="(bool on)" -->
736
<div class="memitem">
737
<div class="memproto">
738
<table class="memname">
740
<td class="memname">void QwtLegendItem::setChecked </td>
742
<td class="paramtype">bool </td>
743
<td class="paramname"> <em>on</em> </td>
744
<td> ) </td>
745
<td width="100%"><code> [slot]</code></td>
752
Check/Uncheck a the item<p>
753
<dl compact><dt><b>Parameters:</b></dt><dd>
754
<table border="0" cellspacing="2" cellpadding="0">
755
<tr><td valign="top"></td><td valign="top"><em>on</em> </td><td>check/uncheck </td></tr>
758
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html#e6487dbe8f2c72512887df8bcb648d53">setItemMode()</a> </dd></dl>
761
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00528">528</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
763
References <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
766
<a class="anchor" name="28c4837ec402725c87ecee6de558c956"></a><!-- doxytag: member="QwtLegendItem::clicked" ref="28c4837ec402725c87ecee6de558c956" args="()" -->
767
<div class="memitem">
768
<div class="memproto">
769
<table class="memname">
771
<td class="memname">void QwtLegendItem::clicked </td>
773
<td class="paramname"> </td>
774
<td> ) </td>
775
<td width="100%"><code> [signal]</code></td>
782
Signal, when the legend item has been clicked.
786
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
789
<a class="anchor" name="7cc6a0390cc0aaea2feb8a324139410c"></a><!-- doxytag: member="QwtLegendItem::pressed" ref="7cc6a0390cc0aaea2feb8a324139410c" args="()" -->
790
<div class="memitem">
791
<div class="memproto">
792
<table class="memname">
794
<td class="memname">void QwtLegendItem::pressed </td>
796
<td class="paramname"> </td>
797
<td> ) </td>
798
<td width="100%"><code> [signal]</code></td>
805
Signal, when the legend item has been pressed.
809
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
812
<a class="anchor" name="7286b8900294659d0850ac588aafaa97"></a><!-- doxytag: member="QwtLegendItem::released" ref="7286b8900294659d0850ac588aafaa97" args="()" -->
813
<div class="memitem">
814
<div class="memproto">
815
<table class="memname">
817
<td class="memname">void QwtLegendItem::released </td>
819
<td class="paramname"> </td>
820
<td> ) </td>
821
<td width="100%"><code> [signal]</code></td>
828
Signal, when the legend item has been relased.
832
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
835
<a class="anchor" name="95fe5b1ec7fcfaa86fd9ec49a3bf23aa"></a><!-- doxytag: member="QwtLegendItem::checked" ref="95fe5b1ec7fcfaa86fd9ec49a3bf23aa" args="(bool)" -->
836
<div class="memitem">
837
<div class="memproto">
838
<table class="memname">
840
<td class="memname">void QwtLegendItem::checked </td>
842
<td class="paramtype">bool </td>
843
<td class="paramname"> </td>
844
<td> ) </td>
845
<td width="100%"><code> [signal]</code></td>
852
Signal, when the legend item has been toggled.
856
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
859
<a class="anchor" name="1c871e735a96cc86f95b4dffe2339f85"></a><!-- doxytag: member="QwtLegendItem::setDown" ref="1c871e735a96cc86f95b4dffe2339f85" args="(bool)" -->
860
<div class="memitem">
861
<div class="memproto">
862
<table class="memname">
864
<td class="memname">void QwtLegendItem::setDown </td>
866
<td class="paramtype">bool </td>
867
<td class="paramname"> </td>
868
<td> ) </td>
869
<td width="100%"><code> [protected]</code></td>
876
Set the item being down.
880
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">548</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
882
References <a class="el" href="class_qwt_legend_item.html#95fe5b1ec7fcfaa86fd9ec49a3bf23aa">checked()</a>, <a class="el" href="class_qwt_legend_item.html#28c4837ec402725c87ecee6de558c956">clicked()</a>, <a class="el" href="class_qwt_legend_item.html#7cc6a0390cc0aaea2feb8a324139410c">pressed()</a>, and <a class="el" href="class_qwt_legend_item.html#7286b8900294659d0850ac588aafaa97">released()</a>.
884
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00473">keyPressEvent()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00499">keyReleaseEvent()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00428">mousePressEvent()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00451">mouseReleaseEvent()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00528">setChecked()</a>.
887
<a class="anchor" name="9993db8d0d76ae9ba0071676cd548424"></a><!-- doxytag: member="QwtLegendItem::isDown" ref="9993db8d0d76ae9ba0071676cd548424" args="() const" -->
888
<div class="memitem">
889
<div class="memproto">
890
<table class="memname">
892
<td class="memname">bool QwtLegendItem::isDown </td>
894
<td class="paramname"> </td>
895
<td> ) </td>
896
<td width="100%"> const<code> [protected]</code></td>
903
Return true, if the item is down.
907
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00572">572</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
909
Referenced by <a class="el" href="qwt__legend__item_8cpp-source.html#l00542">isChecked()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00473">keyPressEvent()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00428">mousePressEvent()</a>.
912
<a class="anchor" name="c154aa6b045d78f8134bbfab19a9729b"></a><!-- doxytag: member="QwtLegendItem::paintEvent" ref="c154aa6b045d78f8134bbfab19a9729b" args="(QPaintEvent *)" -->
913
<div class="memitem">
914
<div class="memproto">
915
<table class="memname">
917
<td class="memname">void QwtLegendItem::paintEvent </td>
919
<td class="paramtype">QPaintEvent * </td>
920
<td class="paramname"> </td>
921
<td> ) </td>
922
<td width="100%"><code> [protected, virtual]</code></td>
933
Reimplemented from <a class="el" href="class_qwt_text_label.html#ff00274ee1c860530920b4feaca02393">QwtTextLabel</a>.
935
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00385">385</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
937
References <a class="el" href="qwt__text__label_8cpp-source.html#l00241">QwtTextLabel::drawContents()</a>, <a class="el" href="qwt__legend__item_8cpp-source.html#l00304">drawIdentifier()</a>, and <a class="el" href="qwt__text__label_8cpp-source.html#l00143">QwtTextLabel::margin()</a>.
940
<a class="anchor" name="af54f5473fc174aac5cb5cdcfdcc7292"></a><!-- doxytag: member="QwtLegendItem::mousePressEvent" ref="af54f5473fc174aac5cb5cdcfdcc7292" args="(QMouseEvent *)" -->
941
<div class="memitem">
942
<div class="memproto">
943
<table class="memname">
945
<td class="memname">void QwtLegendItem::mousePressEvent </td>
947
<td class="paramtype">QMouseEvent * </td>
948
<td class="paramname"> </td>
949
<td> ) </td>
950
<td width="100%"><code> [protected, virtual]</code></td>
957
Handle mouse press events.
961
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00428">428</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
963
References <a class="el" href="qwt__legend__item_8cpp-source.html#l00572">isDown()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
966
<a class="anchor" name="37950b4dd9de4dfe74c05eee572c16a2"></a><!-- doxytag: member="QwtLegendItem::mouseReleaseEvent" ref="37950b4dd9de4dfe74c05eee572c16a2" args="(QMouseEvent *)" -->
967
<div class="memitem">
968
<div class="memproto">
969
<table class="memname">
971
<td class="memname">void QwtLegendItem::mouseReleaseEvent </td>
973
<td class="paramtype">QMouseEvent * </td>
974
<td class="paramname"> </td>
975
<td> ) </td>
976
<td width="100%"><code> [protected, virtual]</code></td>
983
Handle mouse release events.
987
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00451">451</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
989
References <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
992
<a class="anchor" name="9b6a6527d2b867a912a21ef3358eb63f"></a><!-- doxytag: member="QwtLegendItem::keyPressEvent" ref="9b6a6527d2b867a912a21ef3358eb63f" args="(QKeyEvent *)" -->
993
<div class="memitem">
994
<div class="memproto">
995
<table class="memname">
997
<td class="memname">void QwtLegendItem::keyPressEvent </td>
999
<td class="paramtype">QKeyEvent * </td>
1000
<td class="paramname"> </td>
1001
<td> ) </td>
1002
<td width="100%"><code> [protected, virtual]</code></td>
1006
<div class="memdoc">
1009
Handle key press events.
1013
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00473">473</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
1015
References <a class="el" href="qwt__legend__item_8cpp-source.html#l00572">isDown()</a>, and <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
1018
<a class="anchor" name="0b31f4435914a8cd0491ea8aab45041f"></a><!-- doxytag: member="QwtLegendItem::keyReleaseEvent" ref="0b31f4435914a8cd0491ea8aab45041f" args="(QKeyEvent *)" -->
1019
<div class="memitem">
1020
<div class="memproto">
1021
<table class="memname">
1023
<td class="memname">void QwtLegendItem::keyReleaseEvent </td>
1025
<td class="paramtype">QKeyEvent * </td>
1026
<td class="paramname"> </td>
1027
<td> ) </td>
1028
<td width="100%"><code> [protected, virtual]</code></td>
1032
<div class="memdoc">
1035
Handle key release events.
1039
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00499">499</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
1041
References <a class="el" href="qwt__legend__item_8cpp-source.html#l00548">setDown()</a>.
1044
<a class="anchor" name="fa466fbb3689353107872c6e133b5ddf"></a><!-- doxytag: member="QwtLegendItem::drawText" ref="fa466fbb3689353107872c6e133b5ddf" args="(QPainter *, const QRect &)" -->
1045
<div class="memitem">
1046
<div class="memproto">
1047
<table class="memname">
1049
<td class="memname">void QwtLegendItem::drawText </td>
1051
<td class="paramtype">QPainter * </td>
1052
<td class="paramname">, </td>
1055
<td class="paramkey"></td>
1057
<td class="paramtype">const QRect & </td>
1058
<td class="paramname"></td><td> </td>
1063
<td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
1067
<div class="memdoc">
1074
Reimplemented from <a class="el" href="class_qwt_text_label.html#88491c6677985ca048a3ebc095940df3">QwtTextLabel</a>.
1076
Definition at line <a class="el" href="qwt__legend__item_8cpp-source.html#l00587">587</a> of file <a class="el" href="qwt__legend__item_8cpp-source.html">qwt_legend_item.cpp</a>.
1078
References <a class="el" href="qwt__text__label_8cpp-source.html#l00270">QwtTextLabel::drawText()</a>.
1081
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:44:40 2008 for Qwt User's Guide by
1082
<a href="http://www.doxygen.org/index.html">
1083
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>