Sophie

Sophie

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

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: QwtPlotCanvas 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>QwtPlotCanvas Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtPlotCanvas" -->
<p>Canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.  
<a href="#_details">More...</a></p>

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

<p><a href="class_qwt_plot_canvas-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_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a> { <br/>
&#160;&#160;<b>NoFocusIndicator</b>, 
<br/>
&#160;&#160;<b>CanvasFocusIndicator</b>, 
<br/>
&#160;&#160;<b>ItemFocusIndicator</b>
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3">BackingStore</a> =  1, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f">Opaque</a> =  2, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70">HackStyledBackground</a> =  4, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f">ImmediatePaint</a> =  8
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef QFlags&lt; <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ac007a0126efb62443e52905d3157102d">PaintAttributes</a></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">const QPixmap *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#aa46dfe9b0d4a3a1d81ef1fca66c2093c">backingStore</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QBitmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a440240dca270d8216d12451a94b68f2b">borderMask</a> (const QSize &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a4a8f1deba3712b689a1b9ae1060f8c08">borderPath</a> (const QRect &amp;rect) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a76b086055480789c4410eb114789fe2e">borderRadius</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_plot_canvas.html#ab7f160c99d7d408a979ebe2acae951bc">event</a> (QEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a0e9653bdf8c62299dbc3551ac7e5ec51">focusIndicator</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_plot_canvas.html#adafbfa908b2d3b6cf9c20aa6cf9abe27">invalidateBackingStore</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a72550d1af1b5fb4caca5269c3d5891f9">plot</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a1b720b99dc1b686f58e789b13f339f63">plot</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ae708ed2bc2fe614a809b9b70c9e8959e">QwtPlotCanvas</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</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_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot</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_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">setBorderRadius</a> (double)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ae7330616dbb97128d01c5446ef0b006e">setFocusIndicator</a> (<a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</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_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27">setPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>, bool on=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a804f78518b0ba72b11ba996fd2457fb1">testPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</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_plot_canvas.html#a320320bbb1b511c0c37fb2452a7f4404">~QwtPlotCanvas</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_plot_canvas.html#a4d415010a4baa09fa3b3edfcc6e5e4e7">drawBorder</a> (QPainter *)</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_plot_canvas.html#a4dc526ac5186fe253a158a392bbb4f40">drawFocusIndicator</a> (QPainter *)</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_plot_canvas.html#aa8f1516817c578efd407d8dd574170ec">paintEvent</a> (QPaintEvent *)</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_plot_canvas.html#a1d4a1508bef7b417c3414c345bd60022">resizeEvent</a> (QResizeEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a00cf0a23416a719cb8b742fca074c681">updateStyleSheetInfo</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> </dd></dl>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="ac007a0126efb62443e52905d3157102d"></a><!-- doxytag: member="QwtPlotCanvas::PaintAttributes" ref="ac007a0126efb62443e52905d3157102d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&gt; <a class="el" href="class_qwt_plot_canvas.html#ac007a0126efb62443e52905d3157102d">QwtPlotCanvas::PaintAttributes</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Paint attributes. </p>

</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a89b44e4c28038a674ce211fe9ac2d7be"></a><!-- doxytag: member="QwtPlotCanvas::FocusIndicator" ref="a89b44e4c28038a674ce211fe9ac2d7be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Focus indicator. </p>
<ul>
<li>NoFocusIndicator<br/>
 Don't paint a focus indicator</li>
</ul>
<ul>
<li>CanvasFocusIndicator<br/>
 The focus is related to the complete canvas. Paint the focus indicator using paintFocus()</li>
</ul>
<ul>
<li>ItemFocusIndicator<br/>
 The focus is related to an item (curve, point, ...) on the canvas. It is up to the application to display a focus indication using f.e. highlighting.</li>
</ul>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#ae7330616dbb97128d01c5446ef0b006e">setFocusIndicator()</a>, <a class="el" href="class_qwt_plot_canvas.html#a0e9653bdf8c62299dbc3551ac7e5ec51">focusIndicator()</a>, paintFocus() </dd></dl>

</div>
</div>
<a class="anchor" id="a76066290edb594a71ee09be564563b0f"></a><!-- doxytag: member="QwtPlotCanvas::PaintAttribute" ref="a76066290edb594a71ee09be564563b0f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">QwtPlotCanvas::PaintAttribute</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Paint attributes. </p>
<p>The default setting enables BackingStore and Opaque.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27" title="Changing the paint attributes.">setPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#a804f78518b0ba72b11ba996fd2457fb1">testPaintAttribute()</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="a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3"></a><!-- doxytag: member="BackingStore" ref="a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3" args="" -->BackingStore</em>&nbsp;</td><td>
<p>Paint double buffered reusing the content of the pixmap buffer when possible. </p>
<p>Using a backing store might improve the performance significantly, when workin with widget overlays ( like rubberbands ). Disabling the cache might improve the performance for incremental paints (using <a class="el" href="class_qwt_plot_direct_painter.html" title="Painter object trying to paint incrementally.">QwtPlotDirectPainter</a> ).</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#aa46dfe9b0d4a3a1d81ef1fca66c2093c">backingStore()</a>, <a class="el" href="class_qwt_plot_canvas.html#adafbfa908b2d3b6cf9c20aa6cf9abe27" title="Invalidate the internal backing store.">invalidateBackingStore()</a> </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f"></a><!-- doxytag: member="Opaque" ref="a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f" args="" -->Opaque</em>&nbsp;</td><td>
<p>Try to fill the complete contents rectangle of the plot canvas. </p>
<p>When using styled backgrounds Qt assumes, that the canvas doesn't fill its area completely ( f.e because of rounded borders ) and fills the area below the canvas. When this is done with gradients it might result in a serious performance bottleneck - depending on the size.</p>
<p>When the Opaque attribute is enabled the canvas tries to identify the gaps with some heuristics and to fill those only.</p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>Will not work for semitransparent backgrounds </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70"></a><!-- doxytag: member="HackStyledBackground" ref="a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70" args="" -->HackStyledBackground</em>&nbsp;</td><td>
<p>Try to improve painting of styled backgrounds. </p>
<p><a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> supports the box model attributes for customizing the layout with style sheets. Unfortunately the design of Qt style sheets has no concept how to handle backgrounds with rounded corners - beside of padding.</p>
<p>When HackStyledBackground is enabled the plot canvas tries to seperate the background from the background border by reverse engeneering to paint the background before and the border after the plot items. In this order the border gets prefectly antialiased and you can avoid some pixel artifacts in the corners. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f"></a><!-- doxytag: member="ImmediatePaint" ref="a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f" args="" -->ImmediatePaint</em>&nbsp;</td><td>
<p>When ImmediatePaint is set <a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot()</a> calls repaint() instead of update().</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot()</a>, QWidget::repaint(), QWidget::update() </dd></dl>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae708ed2bc2fe614a809b9b70c9e8959e"></a><!-- doxytag: member="QwtPlotCanvas::QwtPlotCanvas" ref="ae708ed2bc2fe614a809b9b70c9e8959e" args="(QwtPlot *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCanvas::QwtPlotCanvas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
          <td class="paramname"><em>plot</em></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a cross cursor, enables <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3" title="Paint double buffered reusing the content of the pixmap buffer when possible.">QwtPlotCanvas::BackingStore</a>. </p>

</div>
</div>
<a class="anchor" id="a320320bbb1b511c0c37fb2452a7f4404"></a><!-- doxytag: member="QwtPlotCanvas::~QwtPlotCanvas" ref="a320320bbb1b511c0c37fb2452a7f4404" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCanvas::~QwtPlotCanvas </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="aa46dfe9b0d4a3a1d81ef1fca66c2093c"></a><!-- doxytag: member="QwtPlotCanvas::backingStore" ref="aa46dfe9b0d4a3a1d81ef1fca66c2093c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QPixmap * QwtPlotCanvas::backingStore </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>Backing store, might be null </dd></dl>

</div>
</div>
<a class="anchor" id="a440240dca270d8216d12451a94b68f2b"></a><!-- doxytag: member="QwtPlotCanvas::borderMask" ref="a440240dca270d8216d12451a94b68f2b" args="(const QSize &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QBitmap QwtPlotCanvas::borderMask </td>
          <td>(</td>
          <td class="paramtype">const QSize &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculate a mask, that can be used to clip away the border frame</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>Size including the frame </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4a8f1deba3712b689a1b9ae1060f8c08"></a><!-- doxytag: member="QwtPlotCanvas::borderPath" ref="a4a8f1deba3712b689a1b9ae1060f8c08" args="(const QRect &amp;rect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPainterPath QwtPlotCanvas::borderPath </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculate the painter path for a styled or rounded border</p>
<p>When the canvas has no styled background or rounded borders the painter path is empty.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Bounding rectangle of the canvas </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Painter path, that can be used for clipping </dd></dl>

</div>
</div>
<a class="anchor" id="a76b086055480789c4410eb114789fe2e"></a><!-- doxytag: member="QwtPlotCanvas::borderRadius" ref="a76b086055480789c4410eb114789fe2e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotCanvas::borderRadius </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>Radius for the corners of the border frame </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">setBorderRadius()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4d415010a4baa09fa3b3edfcc6e5e4e7"></a><!-- doxytag: member="QwtPlotCanvas::drawBorder" ref="a4d415010a4baa09fa3b3edfcc6e5e4e7" args="(QPainter *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::drawBorder </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>painter</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Draw the border of the plot canvas</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">painter</td><td>Painter </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">setBorderRadius()</a>, QFrame::drawFrame() </dd></dl>

</div>
</div>
<a class="anchor" id="a4dc526ac5186fe253a158a392bbb4f40"></a><!-- doxytag: member="QwtPlotCanvas::drawFocusIndicator" ref="a4dc526ac5186fe253a158a392bbb4f40" args="(QPainter *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::drawFocusIndicator </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>painter</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Draw the focus indication </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">painter</td><td>Painter </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab7f160c99d7d408a979ebe2acae951bc"></a><!-- doxytag: member="QwtPlotCanvas::event" ref="ab7f160c99d7d408a979ebe2acae951bc" args="(QEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotCanvas::event </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Qt event handler for QEvent::PolishRequest and QEvent::StyleChange </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Qt Event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0e9653bdf8c62299dbc3551ac7e5ec51"></a><!-- doxytag: member="QwtPlotCanvas::focusIndicator" ref="a0e9653bdf8c62299dbc3551ac7e5ec51" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a> QwtPlotCanvas::focusIndicator </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>Focus indicator</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be" title="Focus indicator.">FocusIndicator</a>, <a class="el" href="class_qwt_plot_canvas.html#ae7330616dbb97128d01c5446ef0b006e">setFocusIndicator()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="adafbfa908b2d3b6cf9c20aa6cf9abe27"></a><!-- doxytag: member="QwtPlotCanvas::invalidateBackingStore" ref="adafbfa908b2d3b6cf9c20aa6cf9abe27" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::invalidateBackingStore </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invalidate the internal backing store. </p>

</div>
</div>
<a class="anchor" id="aa8f1516817c578efd407d8dd574170ec"></a><!-- doxytag: member="QwtPlotCanvas::paintEvent" ref="aa8f1516817c578efd407d8dd574170ec" args="(QPaintEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Paint event </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Paint event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1b720b99dc1b686f58e789b13f339f63"></a><!-- doxytag: member="QwtPlotCanvas::plot" ref="a1b720b99dc1b686f58e789b13f339f63" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotCanvas::plot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return parent plot widget. </p>

</div>
</div>
<a class="anchor" id="a72550d1af1b5fb4caca5269c3d5891f9"></a><!-- doxytag: member="QwtPlotCanvas::plot" ref="a72550d1af1b5fb4caca5269c3d5891f9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotCanvas::plot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return parent plot widget. </p>

</div>
</div>
<a class="anchor" id="a1548423348c29001ee2b6fd1c0f9f033"></a><!-- doxytag: member="QwtPlotCanvas::replot" ref="a1548423348c29001ee2b6fd1c0f9f033" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::replot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Invalidate the paint cache and repaint the canvas </p>
<dl class="see"><dt><b>See also:</b></dt><dd>invalidatePaintCache() </dd></dl>

</div>
</div>
<a class="anchor" id="a1d4a1508bef7b417c3414c345bd60022"></a><!-- doxytag: member="QwtPlotCanvas::resizeEvent" ref="a1d4a1508bef7b417c3414c345bd60022" args="(QResizeEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::resizeEvent </td>
          <td>(</td>
          <td class="paramtype">QResizeEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resize event </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Resize event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1e5c325697c0e892bf0e4e514d50177c"></a><!-- doxytag: member="QwtPlotCanvas::setBorderRadius" ref="a1e5c325697c0e892bf0e4e514d50177c" args="(double)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::setBorderRadius </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the radius for the corners of the border frame</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">radius</td><td>Radius of a rounded corner </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a76b086055480789c4410eb114789fe2e">borderRadius()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae7330616dbb97128d01c5446ef0b006e"></a><!-- doxytag: member="QwtPlotCanvas::setFocusIndicator" ref="ae7330616dbb97128d01c5446ef0b006e" args="(FocusIndicator)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::setFocusIndicator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>&#160;</td>
          <td class="paramname"><em>focusIndicator</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the focus indicator</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be" title="Focus indicator.">FocusIndicator</a>, <a class="el" href="class_qwt_plot_canvas.html#a0e9653bdf8c62299dbc3551ac7e5ec51">focusIndicator()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7859beb87bcef4fd53f99e7c87104e27"></a><!-- doxytag: member="QwtPlotCanvas::setPaintAttribute" ref="a7859beb87bcef4fd53f99e7c87104e27" args="(PaintAttribute, bool on=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::setPaintAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changing the paint attributes. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>Paint attribute </td></tr>
    <tr><td class="paramname">on</td><td>On/Off</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a804f78518b0ba72b11ba996fd2457fb1">testPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#aa46dfe9b0d4a3a1d81ef1fca66c2093c">backingStore()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a804f78518b0ba72b11ba996fd2457fb1"></a><!-- doxytag: member="QwtPlotCanvas::testPaintAttribute" ref="a804f78518b0ba72b11ba996fd2457fb1" args="(PaintAttribute) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotCanvas::testPaintAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Test wether a paint attribute is enabled</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>Paint attribute </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the attribute is enabled </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27" title="Changing the paint attributes.">setPaintAttribute()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a00cf0a23416a719cb8b742fca074c681"></a><!-- doxytag: member="QwtPlotCanvas::updateStyleSheetInfo" ref="a00cf0a23416a719cb8b742fca074c681" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::updateStyleSheetInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the cached informations about the current style sheet. </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>