⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_qwt_plot_print_filter.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Qwt User&apos;s Guide: QwtPlotPrintFilter 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.4.6 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="current"><a href="classes.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>    <li><a href="pages.html"><span>Related&nbsp;Pages</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><h1>QwtPlotPrintFilter Class Reference</h1><!-- doxytag: class="QwtPlotPrintFilter" --><a href="class_qwt_plot_print_filter-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>A base class for plot print filters. <p>A print filter can be used to customize <a class="el" href="class_qwt_plot.html#db2f14174770601e55d6822437c3fe26">QwtPlot::print()</a>.<p><dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>In Qwt 5.0 the design of <a class="el" href="class_qwt_plot.html">QwtPlot</a> allows/recommends writing individual QwtPlotItems, that are not known to <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a>. So this concept is outdated and <a class="el" href="class_qwt_plot_print_filter.html">QwtPlotPrintFilter</a> will be removed/replaced in Qwt 6.x. </dd></dl><p><p>Definition at line <a class="el" href="qwt__plot__printfilter_8h-source.html#l00030">30</a> of file <a class="el" href="qwt__plot__printfilter_8h-source.html">qwt_plot_printfilter.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#befd1a5f672722400a39007eeef8f0e0">Options</a> { <br>&nbsp;&nbsp;<b>PrintMargin</b> =  1, <br>&nbsp;&nbsp;<b>PrintTitle</b> =  2, <br>&nbsp;&nbsp;<b>PrintLegend</b> =  4, <br>&nbsp;&nbsp;<b>PrintGrid</b> =  8, <br>&nbsp;&nbsp;<b>PrintCanvasBackground</b> =  16, <br>&nbsp;&nbsp;<b>PrintWidgetBackground</b> =  32, <br>&nbsp;&nbsp;<b>PrintAll</b> =  ~PrintWidgetBackground<br> }</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#9a9eae5c90f51ef61f973b4c2fba0665">Item</a> { <br>&nbsp;&nbsp;<b>Title</b>, <br>&nbsp;&nbsp;<b>Legend</b>, <br>&nbsp;&nbsp;<b>Curve</b>, <br>&nbsp;&nbsp;<b>CurveSymbol</b>, <br>&nbsp;&nbsp;<b>Marker</b>, <br>&nbsp;&nbsp;<b>MarkerSymbol</b>, <br>&nbsp;&nbsp;<b>MajorGrid</b>, <br>&nbsp;&nbsp;<b>MinorGrid</b>, <br>&nbsp;&nbsp;<b>CanvasBackground</b>, <br>&nbsp;&nbsp;<b>AxisScale</b>, <br>&nbsp;&nbsp;<b>AxisTitle</b>, <br>&nbsp;&nbsp;<b>WidgetBackground</b><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="class_qwt_plot_print_filter.html#1c8c0c540ca0432be6c264e9663aecc0">QwtPlotPrintFilter</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#852775768c0b37edeb57abdfcb175a7f">~QwtPlotPrintFilter</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QColor&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#31fc7c9789cfa1044115c41ce349e46d">color</a> (const QColor &amp;, <a class="el" href="class_qwt_plot_print_filter.html#9a9eae5c90f51ef61f973b4c2fba0665">Item</a> item) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QFont&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#4be8e414cc8000de7b9d1359b6834379">font</a> (const QFont &amp;, <a class="el" href="class_qwt_plot_print_filter.html#9a9eae5c90f51ef61f973b4c2fba0665">Item</a> item) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#b5a3f3df821b67812e40ffdcaca3b6b5">setOptions</a> (int options)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#0f47c339382f3292d3e71e0585a008e4">options</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#b6ce402443e59a6f4fc68dc24cc6b2ad">apply</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#524cd56a979aa7ac4b28f0a27e103d8b">reset</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="58b84989b395595401132252f23bdcc0"></a><!-- doxytag: member="QwtPlotPrintFilter::apply" ref="58b84989b395595401132252f23bdcc0" args="(QwtPlotItem *) const " -->virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#58b84989b395595401132252f23bdcc0">apply</a> (<a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1039d36d4d1b536fc7d884d2fd22d397"></a><!-- doxytag: member="QwtPlotPrintFilter::reset" ref="1039d36d4d1b536fc7d884d2fd22d397" args="(QwtPlotItem *) const " -->virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_print_filter.html#1039d36d4d1b536fc7d884d2fd22d397">reset</a> (<a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *) const </td></tr></table><hr><h2>Member Enumeration Documentation</h2><a class="anchor" name="9a9eae5c90f51ef61f973b4c2fba0665"></a><!-- doxytag: member="QwtPlotPrintFilter::Item" ref="9a9eae5c90f51ef61f973b4c2fba0665" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="class_qwt_plot_print_filter.html#9a9eae5c90f51ef61f973b4c2fba0665">QwtPlotPrintFilter::Item</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Print items. <p><p>Definition at line <a class="el" href="qwt__plot__printfilter_8h-source.html#l00047">47</a> of file <a class="el" href="qwt__plot__printfilter_8h-source.html">qwt_plot_printfilter.h</a>.    </td>  </tr></table><a class="anchor" name="befd1a5f672722400a39007eeef8f0e0"></a><!-- doxytag: member="QwtPlotPrintFilter::Options" ref="befd1a5f672722400a39007eeef8f0e0" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="class_qwt_plot_print_filter.html#befd1a5f672722400a39007eeef8f0e0">QwtPlotPrintFilter::Options</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Print options. <p><p>Definition at line <a class="el" href="qwt__plot__printfilter_8h-source.html#l00034">34</a> of file <a class="el" href="qwt__plot__printfilter_8h-source.html">qwt_plot_printfilter.h</a>.    </td>  </tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="1c8c0c540ca0432be6c264e9663aecc0"></a><!-- doxytag: member="QwtPlotPrintFilter::QwtPlotPrintFilter" ref="1c8c0c540ca0432be6c264e9663aecc0" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">QwtPlotPrintFilter::QwtPlotPrintFilter           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [explicit]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Sets filter options to PrintAll <p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00082">82</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.    </td>  </tr></table><a class="anchor" name="852775768c0b37edeb57abdfcb175a7f"></a><!-- doxytag: member="QwtPlotPrintFilter::~QwtPlotPrintFilter" ref="852775768c0b37edeb57abdfcb175a7f" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">QwtPlotPrintFilter::~QwtPlotPrintFilter           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Destructor. <p><p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00088">88</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="b6ce402443e59a6f4fc68dc24cc6b2ad"></a><!-- doxytag: member="QwtPlotPrintFilter::apply" ref="b6ce402443e59a6f4fc68dc24cc6b2ad" args="(QwtPlot *) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtPlotPrintFilter::apply           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>plot</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -