Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 1360

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkQtChartLegendManager Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkQtChartLegendManager Class Reference</h1><!-- doxytag: class="vtkQtChartLegendManager" --><code>#include &lt;<a class="el" href="a04531.html">vtkQtChartLegendManager.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for vtkQtChartLegendManager:</div>
<div class="dynsection">
<p><center><img src="a13628.png" border="0" usemap="#a13629" alt="Collaboration graph"></center>
<map name="a13629">
<area shape="rect" href="a01335.html" title="The vtkQtChartArea class manages the chart axes and layers." alt="" coords="5,96,123,123"><area shape="rect" href="a01356.html" title="The vtkQtChartLegend class displays a chart legend." alt="" coords="147,96,280,123"><area shape="rect" href="a01358.html" title="The vtkQtChartLegendModel class stores the data for a chart legend." alt="" coords="128,6,299,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a13630.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="a01357.html" title="The vtkQtChartLegendManager class builds a chart legend from the chart series layers...">vtkQtChartLegendManager</a> class builds a chart legend from the chart series layers. 
<p>

<p>Definition at line <a class="el" href="a04531.html#l00043">43</a> of file <a class="el" href="a04531.html">vtkQtChartLegendManager.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01357.html#33c26cb18c304a1f576ebb8e30686ae8">insertLayer</a> (int index, <a class="el" href="a01354.html">vtkQtChartLayer</a> *chart)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inserts a chart layer at the given index.  <a href="#33c26cb18c304a1f576ebb8e30686ae8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01357.html#41f1f4eeb681d5eb05550a16f9d97925">removeLayer</a> (int index, <a class="el" href="a01354.html">vtkQtChartLayer</a> *chart)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the specified chart layer from the list.  <a href="#41f1f4eeb681d5eb05550a16f9d97925"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01357.html#382490291e4ba24f3aca43a0d89824ed">setLayerVisible</a> (<a class="el" href="a01354.html">vtkQtChartLayer</a> *chart, bool visible)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the visibility for the series in the given chart layer.  <a href="#382490291e4ba24f3aca43a0d89824ed"></a><br></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="a01357.html#dae640b4cab14a68644da769c790189e">vtkQtChartLegendManager</a> (QObject *parent=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a chart legend manager instance.  <a href="#dae640b4cab14a68644da769c790189e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01357.html#2f1e3f724d342447542fd65c4856dd8e">~vtkQtChartLegendManager</a> ()</td></tr>

<tr><td colspan="2"><div class="groupHeader">Setup Methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01357.html#438cb33ac48e519bf25b2da3fd94fc6e">setChartArea</a> (<a class="el" href="a01335.html">vtkQtChartArea</a> *area)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the chart area that holds the chart series layers.  <a href="#438cb33ac48e519bf25b2da3fd94fc6e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01357.html#d4f5e2050dea2841e9712559f46d180b">setChartLegend</a> (<a class="el" href="a01356.html">vtkQtChartLegend</a> *legend)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the chart legend to manage.  <a href="#d4f5e2050dea2841e9712559f46d180b"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="dae640b4cab14a68644da769c790189e"></a><!-- doxytag: member="vtkQtChartLegendManager::vtkQtChartLegendManager" ref="dae640b4cab14a68644da769c790189e" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkQtChartLegendManager::vtkQtChartLegendManager           </td>
          <td>(</td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a chart legend manager instance. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>The parent object. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="2f1e3f724d342447542fd65c4856dd8e"></a><!-- doxytag: member="vtkQtChartLegendManager::~vtkQtChartLegendManager" ref="2f1e3f724d342447542fd65c4856dd8e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vtkQtChartLegendManager::~vtkQtChartLegendManager           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="438cb33ac48e519bf25b2da3fd94fc6e"></a><!-- doxytag: member="vtkQtChartLegendManager::setChartArea" ref="438cb33ac48e519bf25b2da3fd94fc6e" args="(vtkQtChartArea *area)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartLegendManager::setChartArea           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01335.html">vtkQtChartArea</a> *&nbsp;</td>
          <td class="paramname"> <em>area</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the chart area that holds the chart series layers. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>area</em>&nbsp;</td><td>The new chart area. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="d4f5e2050dea2841e9712559f46d180b"></a><!-- doxytag: member="vtkQtChartLegendManager::setChartLegend" ref="d4f5e2050dea2841e9712559f46d180b" args="(vtkQtChartLegend *legend)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartLegendManager::setChartLegend           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01356.html">vtkQtChartLegend</a> *&nbsp;</td>
          <td class="paramname"> <em>legend</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the chart legend to manage. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>legend</em>&nbsp;</td><td>The new chart legend. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="33c26cb18c304a1f576ebb8e30686ae8"></a><!-- doxytag: member="vtkQtChartLegendManager::insertLayer" ref="33c26cb18c304a1f576ebb8e30686ae8" args="(int index, vtkQtChartLayer *chart)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartLegendManager::insertLayer           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01354.html">vtkQtChartLayer</a> *&nbsp;</td>
          <td class="paramname"> <em>chart</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts a chart layer at the given index. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the layer. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>chart</em>&nbsp;</td><td>The chart layer that was inserted. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="41f1f4eeb681d5eb05550a16f9d97925"></a><!-- doxytag: member="vtkQtChartLegendManager::removeLayer" ref="41f1f4eeb681d5eb05550a16f9d97925" args="(int index, vtkQtChartLayer *chart)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartLegendManager::removeLayer           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a01354.html">vtkQtChartLayer</a> *&nbsp;</td>
          <td class="paramname"> <em>chart</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Removes the specified chart layer from the list. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the layer. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>chart</em>&nbsp;</td><td>The chart layer that will be removed. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="382490291e4ba24f3aca43a0d89824ed"></a><!-- doxytag: member="vtkQtChartLegendManager::setLayerVisible" ref="382490291e4ba24f3aca43a0d89824ed" args="(vtkQtChartLayer *chart, bool visible)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkQtChartLegendManager::setLayerVisible           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01354.html">vtkQtChartLayer</a> *&nbsp;</td>
          <td class="paramname"> <em>chart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>visible</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the visibility for the series in the given chart layer. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>chart</em>&nbsp;</td><td>The chart layer. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>visible</em>&nbsp;</td><td>True if the layer series should be visible. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/GUISupport/Qt/Chart/<a class="el" href="a04531.html">vtkQtChartLegendManager.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:28:19 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>