Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 87682cd952d919324b3a8c179c71b7df > files > 83

libqwt0-devel-0.3.0-3mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>QwtLegendItem Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.3 on Thu Dec 14 00:27:17 2000 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>QwtLegendItem  Class Reference</h1>A legend item. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;qwt_legend.h&gt;</code>
<p>
<a href="class_qwtlegenditem-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_qwtlegenditem.html#a0">QwtLegendItem</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_qwtlegenditem.html#a1">QwtLegendItem</a> (const QString &amp;txt, const <a class="el" href="class_qwtsymbol.html">QwtSymbol</a> &amp;sym, const QPen &amp;pn, long key)</td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="QwtLegendItem::pen"></a>
const QPen&amp;&nbsp;</td><td valign=bottom><b>pen</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a3" doxytag="QwtLegendItem::symbol"></a>
const <a class="el" href="class_qwtsymbol.html">QwtSymbol</a>&amp;&nbsp;</td><td valign=bottom><b>symbol</b> ()</td></tr>
<tr><td nowrap align=right valign=top><a name="a4" doxytag="QwtLegendItem::text"></a>
const QString&amp;&nbsp;</td><td valign=bottom><b>text</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a5" doxytag="QwtLegendItem::key"></a>
long&nbsp;</td><td valign=bottom><b>key</b> () const</td></tr>
<tr><td nowrap align=right valign=top><a name="a6" doxytag="QwtLegendItem::setSymbol"></a>
void&nbsp;</td><td valign=bottom><b>setSymbol</b> (const <a class="el" href="class_qwtsymbol.html">QwtSymbol</a> &amp;s)</td></tr>
<tr><td nowrap align=right valign=top><a name="a7" doxytag="QwtLegendItem::setPen"></a>
void&nbsp;</td><td valign=bottom><b>setPen</b> (const QPen &amp;pn)</td></tr>
<tr><td nowrap align=right valign=top><a name="a8" doxytag="QwtLegendItem::setKey"></a>
void&nbsp;</td><td valign=bottom><b>setKey</b> (long key)</td></tr>
<tr><td nowrap align=right valign=top><a name="a9" doxytag="QwtLegendItem::setText"></a>
void&nbsp;</td><td valign=bottom><b>setText</b> (const QString &amp;s)</td></tr>
<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_qwtlegenditem.html#a10">draw</a> (QPainter *p, const QRect &amp;symRect, const QRect&amp; lblRect, int align)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A legend item.
<p>
<dl compact><dt>
<b>See also: </b><dd>
 <a class="el" href="class_qwtlegend.html">QwtLegend</a> </dl>
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="QwtLegendItem::QwtLegendItem"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
QwtLegendItem::QwtLegendItem (
          </b></td>
          <td valign="bottom"><b>
)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Default Constructor.
<p>
    </td>
  </tr>
</table>
<a name="a1" doxytag="QwtLegendItem::QwtLegendItem"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
QwtLegendItem::QwtLegendItem (
          </b></td>
          <td valign="bottom"><b>
const QString &amp; <em>txt</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const <a class="el" href="class_qwtsymbol.html">QwtSymbol</a> &amp; <em>sym</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const QPen &amp; <em>pn</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
long <em>key</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor.
<p>
<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>txt</em>
&nbsp;</td><td>
 Item text </td></tr>
<tr><td valign=top><em>sym</em>
&nbsp;</td><td>
 Item symbol </td></tr>
<tr><td valign=top><em>pen</em>
&nbsp;</td><td>
 Pen </td></tr>
<tr><td valign=top><em>key</em>
&nbsp;</td><td>
 Unique key for this item </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a10" doxytag="QwtLegendItem::draw"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void QwtLegendItem::draw (
          </b></td>
          <td valign="bottom"><b>
QPainter * <em>p</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const QRect &amp; <em>symRect</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const QRect &amp; <em>lblRect</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
int <em>align</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Draw a legend item.
<p>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li>qwt_legend.h<li>qwt_legend.cpp</ul>
<hr><address><small>Generated at Thu Dec 14 00:27:17 2000 for Qwt User's Guide by
<a href="http://www.stack.nl/~dimitri/doxygen/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.3 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>