Sophie

Sophie

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

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: QwtLegendItemManager 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-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtLegendItemManager Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtLegendItemManager" -->
<p>Abstract API to bind plot items to the legend.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__legend__itemmanager_8h_source.html">qwt_legend_itemmanager.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtLegendItemManager:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_legend_item_manager__inherit__graph.png" border="0" usemap="#_qwt_legend_item_manager_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_legend_item_manager_inherit__map" id="_qwt_legend_item_manager_inherit__map">
<area shape="rect" id="node3" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas." alt="" coords="219,284,312,313"/><area shape="rect" id="node5" href="class_qwt_plot_abstract_series_item.html" title="Base class for plot items representing a series of samples." alt="" coords="363,155,541,184"/><area shape="rect" id="node26" href="class_qwt_plot_grid.html" title="A class which draws a coordinate grid." alt="" coords="407,208,497,237"/><area shape="rect" id="node28" href="class_qwt_plot_marker.html" title="A class for drawing markers." alt="" coords="399,261,505,291"/><area shape="rect" id="node30" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data." alt="" coords="387,315,517,344"/><area shape="rect" id="node34" href="class_qwt_plot_scale_item.html" title="A class which draws a scale inside the plot canvas." alt="" coords="389,368,515,397"/><area shape="rect" id="node36" href="class_qwt_plot_svg_item.html" title="A plot item, which displays data in Scalable Vector Graphics (SVG) format." alt="" coords="395,421,509,451"/><area shape="rect" id="node7" href="class_qwt_plot_series_item.html" title="Class template for plot items representing a series of samples." alt="" coords="593,112,753,141"/><area shape="rect" id="node9" href="class_qwt_plot_series_item.html" title="QwtPlotSeriesItem\&lt; QwtIntervalSample \&gt;" alt="" coords="936,25,1197,55"/><area shape="rect" id="node15" href="class_qwt_plot_series_item.html" title="QwtPlotSeriesItem\&lt; QPointF \&gt;" alt="" coords="965,139,1168,168"/><area shape="rect" id="node19" href="class_qwt_plot_series_item.html" title="QwtPlotSeriesItem\&lt; QwtPoint3D \&gt;" alt="" coords="956,207,1177,236"/><area shape="rect" id="node11" href="class_qwt_plot_histogram.html" title="QwtPlotHistogram represents a series of samples, where an interval is associated with a value ( &#160;)..." alt="" coords="1259,5,1384,35"/><area shape="rect" id="node13" href="class_qwt_plot_interval_curve.html" title="QwtPlotIntervalCurve represents a series of samples, where each value is associated with an interval ..." alt="" coords="1252,59,1391,88"/><area shape="rect" id="node17" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points." alt="" coords="1272,139,1371,168"/><area shape="rect" id="node21" href="class_qwt_plot_spectro_curve.html" title="Curve that displays 3D points as dots, where the z coordinate is mapped to a color." alt="" coords="1249,207,1393,236"/><area shape="rect" id="node32" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram." alt="" coords="603,315,744,344"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_qwt_legend_item_manager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public 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_item_manager.html#a8dd765a2fd5b9a286fa398810a5c2ad8">drawLegendIdentifier</a> (QPainter *, const QRectF &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item_manager.html#ac019b92797940db3cec2246a080598e0">legendItem</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item_manager.html#a57827c099bdb5691820f749f3e5da710">QwtLegendItemManager</a> ()</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_item_manager.html#ad3bd052ea242ef8595c7d6008b9cc6f4">updateLegend</a> (<a class="el" href="class_qwt_legend.html">QwtLegend</a> *legend) const =0</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_item_manager.html#a8024d2ec1f7d289161311fa706e7cf61">~QwtLegendItemManager</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Abstract API to bind plot items to the legend. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a57827c099bdb5691820f749f3e5da710"></a><!-- doxytag: member="QwtLegendItemManager::QwtLegendItemManager" ref="a57827c099bdb5691820f749f3e5da710" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtLegendItemManager::QwtLegendItemManager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>

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

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8dd765a2fd5b9a286fa398810a5c2ad8"></a><!-- doxytag: member="QwtLegendItemManager::drawLegendIdentifier" ref="a8dd765a2fd5b9a286fa398810a5c2ad8" args="(QPainter *, const QRectF &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void QwtLegendItemManager::drawLegendIdentifier </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="class_qwt_legend_item.html" title="A widget representing something on a QwtLegend().">QwtLegendItem</a> can display an icon-identifier followed by a text. The icon helps to identify a plot item on the plot canvas and depends on the type of information, that is displayed.</p>
<p>The default implementation paints nothing. </p>

<p>Reimplemented in <a class="el" href="class_qwt_plot_curve.html#a8e9518a3e9f64e1d024a7f4550335df0">QwtPlotCurve</a>, <a class="el" href="class_qwt_plot_histogram.html#a8bf6410cab08923d02e7167321b3c926">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_interval_curve.html#a3cd73ea413b99647d8e3e9d8dc322431">QwtPlotIntervalCurve</a>, and <a class="el" href="class_qwt_plot_marker.html#ae99020d14c8ec4567ed94cdeb805fea1">QwtPlotMarker</a>.</p>

</div>
</div>
<a class="anchor" id="ac019b92797940db3cec2246a080598e0"></a><!-- doxytag: member="QwtLegendItemManager::legendItem" ref="ac019b92797940db3cec2246a080598e0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QWidget* QwtLegendItemManager::legendItem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Allocate the widget that represents the item on the legend </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Allocated widget </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item_manager.html#ad3bd052ea242ef8595c7d6008b9cc6f4">updateLegend()</a> QwtLegend() </dd></dl>

<p>Implemented in <a class="el" href="class_qwt_plot_item.html#a09824eda5e564a853e6586bc387a3b4b">QwtPlotItem</a>.</p>

</div>
</div>
<a class="anchor" id="ad3bd052ea242ef8595c7d6008b9cc6f4"></a><!-- doxytag: member="QwtLegendItemManager::updateLegend" ref="ad3bd052ea242ef8595c7d6008b9cc6f4" args="(QwtLegend *legend) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void QwtLegendItemManager::updateLegend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_legend.html">QwtLegend</a> *&#160;</td>
          <td class="paramname"><em>legend</em></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Update the widget that represents the item on the legend </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">legend</td><td>Legend </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_legend_item_manager.html#ac019b92797940db3cec2246a080598e0">legendItem()</a> </dd></dl>

<p>Implemented in <a class="el" href="class_qwt_plot_curve.html#aedbca95048e4c7b42cd0bf486ec36b4d">QwtPlotCurve</a>, <a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e">QwtPlotItem</a>, and <a class="el" href="class_qwt_plot_marker.html#a75ea063a742c23ab1952fc2bf96b5762">QwtPlotMarker</a>.</p>

</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>