Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 76bdad05b5dca2a491582dbec0713d55 > files > 377

libqwt-devel-6.0.1-2.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Qwt User&#39;s Guide: QwtLegend Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">6.0.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtLegend Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtLegend" -->
<p>The legend widget.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__legend_8h_source.html">qwt_legend.h</a>&gt;</code></p>

<p><a href="class_qwt_legend-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0">LegendItemMode</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0a82869bcd75310e861ae9257677185186">ReadOnlyItem</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0a90b6ea3ca504d7548cf92cf1c2db60ac">ClickableItem</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0a035a03d742b4e4f8ab13f435b8954237">CheckableItem</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a084177665b32798903176de57d962c6e">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#aa52edeceb553ae703516c984f34d7ab7">contentsWidget</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#acd680c0f17f4184e10a3d3136b9836f5">contentsWidget</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#ade86e158b8254fe76d42e85f9808c827">eventFilter</a> (QObject *, QEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a298233007938249f98e728256a2e6a59">find</a> (const <a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#abb1273941e19ac7d0a3e2f398228ed65">find</a> (const QWidget *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a273ec258209c42f57b154ff4da61e1d0">heightForWidth</a> (int w) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QScrollBar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a40dab44d47921da18a925e8fcc8d6870">horizontalScrollBar</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#af736d6053c6e891ad4579aa83b1a705d">insert</a> (const <a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *, QWidget *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a6ff50cb1e388a7da2a59709eef83be20">isEmpty</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#ac8d57d90bb41aa2d69c7411a20febdda">itemCount</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0">LegendItemMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a463c5542c6547c04050c912a5e500155">itemMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QList&lt; QWidget * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#ab0eb76b6c4f50257ba0219e57332045e">legendItems</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#adf5a64070a546eaac36fc9afac56b7fb">QwtLegend</a> (QWidget *parent=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a562535312e3d65616bc63d35a2ec5b7b">remove</a> (const <a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#aedd86919e56a407bcdd2ae867a672dd1">setItemMode</a> (<a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0">LegendItemMode</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a2517a7d9d78ab7a3892125ecf755f33f">sizeHint</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QScrollBar *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a494758e3d7ab688c59989da52e7e97cf">verticalScrollBar</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#a2dd3bc628652909b74e7ddb5db021ea5">~QwtLegend</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend.html#ac44118481db62143950a7c74bc2832ab">layoutContents</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The legend widget. </p>
<p>The <a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> widget is a tabular arrangement of legend items. Legend items might be any type of widget, but in general they will be a <a class="el" href="class_qwt_legend_item.html" title="A widget representing something on a QwtLegend().">QwtLegendItem</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item.html" title="A widget representing something on a QwtLegend().">QwtLegendItem</a>, <a class="el" href="class_qwt_legend_item_manager.html" title="Abstract API to bind plot items to the legend.">QwtLegendItemManager</a> <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> </dd></dl>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ab216dd2dba9ebf6cb0ed2dd621a652e0"></a><!-- doxytag: member="QwtLegend::LegendItemMode" ref="ab216dd2dba9ebf6cb0ed2dd621a652e0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Interaction mode for the legend items. </p>
<p>The default is <a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0a82869bcd75310e861ae9257677185186" title="The legend item is not interactive, like a label.">QwtLegend::ReadOnlyItem</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#aedd86919e56a407bcdd2ae867a672dd1">setItemMode()</a>, <a class="el" href="class_qwt_legend.html#a463c5542c6547c04050c912a5e500155">itemMode()</a>, QwtLegendItem::IdentifierMode <a class="el" href="class_qwt_legend_item.html#a28c4837ec402725c87ecee6de558c956" title="Signal, when the legend item has been clicked.">QwtLegendItem::clicked()</a>, <a class="el" href="class_qwt_legend_item.html#a95fe5b1ec7fcfaa86fd9ec49a3bf23aa" title="Signal, when the legend item has been toggled.">QwtLegendItem::checked()</a>, <a class="el" href="class_qwt_plot.html#a52b75d5548fbe04539b6297de53a2222">QwtPlot::legendClicked()</a>, <a class="el" href="class_qwt_plot.html#abd9e17629dd7c142fed017ea5e347149">QwtPlot::legendChecked()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ab216dd2dba9ebf6cb0ed2dd621a652e0a82869bcd75310e861ae9257677185186"></a><!-- doxytag: member="ReadOnlyItem" ref="ab216dd2dba9ebf6cb0ed2dd621a652e0a82869bcd75310e861ae9257677185186" args="" -->ReadOnlyItem</em>&nbsp;</td><td>
<p>The legend item is not interactive, like a label. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab216dd2dba9ebf6cb0ed2dd621a652e0a90b6ea3ca504d7548cf92cf1c2db60ac"></a><!-- doxytag: member="ClickableItem" ref="ab216dd2dba9ebf6cb0ed2dd621a652e0a90b6ea3ca504d7548cf92cf1c2db60ac" args="" -->ClickableItem</em>&nbsp;</td><td>
<p>The legend item is clickable, like a push button. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab216dd2dba9ebf6cb0ed2dd621a652e0a035a03d742b4e4f8ab13f435b8954237"></a><!-- doxytag: member="CheckableItem" ref="ab216dd2dba9ebf6cb0ed2dd621a652e0a035a03d742b4e4f8ab13f435b8954237" args="" -->CheckableItem</em>&nbsp;</td><td>
<p>The legend item is checkable, like a checkable button. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adf5a64070a546eaac36fc9afac56b7fb"></a><!-- doxytag: member="QwtLegend::QwtLegend" ref="adf5a64070a546eaac36fc9afac56b7fb" args="(QWidget *parent=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtLegend::QwtLegend </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Parent widget </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2dd3bc628652909b74e7ddb5db021ea5"></a><!-- doxytag: member="QwtLegend::~QwtLegend" ref="a2dd3bc628652909b74e7ddb5db021ea5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtLegend::~QwtLegend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a084177665b32798903176de57d962c6e"></a><!-- doxytag: member="QwtLegend::clear" ref="a084177665b32798903176de57d962c6e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtLegend::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove all items. </p>

</div>
</div>
<a class="anchor" id="aa52edeceb553ae703516c984f34d7ab7"></a><!-- doxytag: member="QwtLegend::contentsWidget" ref="aa52edeceb553ae703516c984f34d7ab7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * QwtLegend::contentsWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The contents widget is the only child of the viewport of the internal QScrollArea and the parent widget of all legend items.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Container widget of the legend items </dd></dl>

</div>
</div>
<a class="anchor" id="acd680c0f17f4184e10a3d3136b9836f5"></a><!-- doxytag: member="QwtLegend::contentsWidget" ref="acd680c0f17f4184e10a3d3136b9836f5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QWidget * QwtLegend::contentsWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The contents widget is the only child of the viewport of the internal QScrollArea and the parent widget of all legend items.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Container widget of the legend items </dd></dl>

</div>
</div>
<a class="anchor" id="ade86e158b8254fe76d42e85f9808c827"></a><!-- doxytag: member="QwtLegend::eventFilter" ref="ade86e158b8254fe76d42e85f9808c827" args="(QObject *, QEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtLegend::eventFilter </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Handle QEvent::ChildRemoved andQEvent::LayoutRequest events for the <a class="el" href="class_qwt_legend.html#aa52edeceb553ae703516c984f34d7ab7">contentsWidget()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>Object to be filtered </td></tr>
    <tr><td class="paramname">event</td><td>Event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abb1273941e19ac7d0a3e2f398228ed65"></a><!-- doxytag: member="QwtLegend::find" ref="abb1273941e19ac7d0a3e2f398228ed65" args="(const QWidget *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> * QwtLegend::find </td>
          <td>(</td>
          <td class="paramtype">const QWidget *&#160;</td>
          <td class="paramname"><em>legendItem</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find the widget that represents a plot item</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">legendItem</td><td>Legend item </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Widget on the legend, or NULL </dd></dl>

</div>
</div>
<a class="anchor" id="a298233007938249f98e728256a2e6a59"></a><!-- doxytag: member="QwtLegend::find" ref="a298233007938249f98e728256a2e6a59" args="(const QwtLegendItemManager *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QWidget * QwtLegend::find </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *&#160;</td>
          <td class="paramname"><em>plotItem</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find the widget that represents a plot item</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">plotItem</td><td>Plot item </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Widget on the legend, or NULL </dd></dl>

</div>
</div>
<a class="anchor" id="a273ec258209c42f57b154ff4da61e1d0"></a><!-- doxytag: member="QwtLegend::heightForWidth" ref="a273ec258209c42f57b154ff4da61e1d0" args="(int w) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtLegend::heightForWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The preferred height, for the width w. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Width </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a40dab44d47921da18a925e8fcc8d6870"></a><!-- doxytag: member="QwtLegend::horizontalScrollBar" ref="a40dab44d47921da18a925e8fcc8d6870" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QScrollBar * QwtLegend::horizontalScrollBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Horizontal scrollbar </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#a494758e3d7ab688c59989da52e7e97cf">verticalScrollBar()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af736d6053c6e891ad4579aa83b1a705d"></a><!-- doxytag: member="QwtLegend::insert" ref="af736d6053c6e891ad4579aa83b1a705d" args="(const QwtLegendItemManager *, QWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtLegend::insert </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *&#160;</td>
          <td class="paramname"><em>plotItem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>legendItem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Insert a new item for a plot item </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">plotItem</td><td>Plot item </td></tr>
    <tr><td class="paramname">legendItem</td><td>New legend item </td></tr>
  </table>
  </dd>
</dl>
<dl class="note"><dt><b>Note:</b></dt><dd>The parent of item will be changed to <a class="el" href="class_qwt_legend.html#aa52edeceb553ae703516c984f34d7ab7">contentsWidget()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6ff50cb1e388a7da2a59709eef83be20"></a><!-- doxytag: member="QwtLegend::isEmpty" ref="a6ff50cb1e388a7da2a59709eef83be20" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtLegend::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return true, if there are no legend items. </p>

</div>
</div>
<a class="anchor" id="ac8d57d90bb41aa2d69c7411a20febdda"></a><!-- doxytag: member="QwtLegend::itemCount" ref="ac8d57d90bb41aa2d69c7411a20febdda" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint QwtLegend::itemCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the number of legend items. </p>

</div>
</div>
<a class="anchor" id="a463c5542c6547c04050c912a5e500155"></a><!-- doxytag: member="QwtLegend::itemMode" ref="a463c5542c6547c04050c912a5e500155" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0">QwtLegend::LegendItemMode</a> QwtLegend::itemMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0" title="Interaction mode for the legend items.">LegendItemMode</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac44118481db62143950a7c74bc2832ab"></a><!-- doxytag: member="QwtLegend::layoutContents" ref="ac44118481db62143950a7c74bc2832ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtLegend::layoutContents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adjust contents widget and item layout to the size of the viewport(). </p>

</div>
</div>
<a class="anchor" id="ab0eb76b6c4f50257ba0219e57332045e"></a><!-- doxytag: member="QwtLegend::legendItems" ref="ab0eb76b6c4f50257ba0219e57332045e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; QWidget * &gt; QwtLegend::legendItems </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a list of all legend items. </p>

</div>
</div>
<a class="anchor" id="a562535312e3d65616bc63d35a2ec5b7b"></a><!-- doxytag: member="QwtLegend::remove" ref="a562535312e3d65616bc63d35a2ec5b7b" args="(const QwtLegendItemManager *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtLegend::remove </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_legend_item_manager.html">QwtLegendItemManager</a> *&#160;</td>
          <td class="paramname"><em>plotItem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Find the corresponding item for a plotItem and remove it from the item list.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">plotItem</td><td>Plot item </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aedd86919e56a407bcdd2ae867a672dd1"></a><!-- doxytag: member="QwtLegend::setItemMode" ref="aedd86919e56a407bcdd2ae867a672dd1" args="(LegendItemMode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtLegend::setItemMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0">LegendItemMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#ab216dd2dba9ebf6cb0ed2dd621a652e0" title="Interaction mode for the legend items.">LegendItemMode</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2517a7d9d78ab7a3892125ecf755f33f"></a><!-- doxytag: member="QwtLegend::sizeHint" ref="a2517a7d9d78ab7a3892125ecf755f33f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSize QwtLegend::sizeHint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a size hint. </p>

</div>
</div>
<a class="anchor" id="a494758e3d7ab688c59989da52e7e97cf"></a><!-- doxytag: member="QwtLegend::verticalScrollBar" ref="a494758e3d7ab688c59989da52e7e97cf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QScrollBar * QwtLegend::verticalScrollBar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Vertical scrollbar </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend.html#a40dab44d47921da18a925e8fcc8d6870">horizontalScrollBar()</a> </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>