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

📄 class_qwt_plot_print_filter.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Change color and fonts of a plot <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_print_filter.html#b6ce402443e59a6f4fc68dc24cc6b2ad">apply</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">157</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.<p>References <a class="el" href="qwt__plot_8cpp-source.html#l00195">QwtPlot::autoReplot()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00124">color()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00148">font()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00187">QwtPlot::setAutoReplot()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00254">QwtPlot::titleLabel()</a>.<p>Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00074">QwtPlot::print()</a>.    </td>  </tr></table><a class="anchor" name="31fc7c9789cfa1044115c41ce349e46d"></a><!-- doxytag: member="QwtPlotPrintFilter::color" ref="31fc7c9789cfa1044115c41ce349e46d" args="(const QColor &amp;, Item item) 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">QColor QwtPlotPrintFilter::color           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QColor &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>c</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="class_qwt_plot_print_filter.html#9a9eae5c90f51ef61f973b4c2fba0665">Item</a>&nbsp;</td>          <td class="mdname" nowrap> <em>item</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Modifies a color for printing. <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>c</em>&nbsp;</td><td>Color to be modified </td></tr>    <tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>Type of item where the color belongs </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Modified color.</dd></dl>In case of !(<a class="el" href="class_qwt_plot_print_filter.html#0f47c339382f3292d3e71e0585a008e4">QwtPlotPrintFilter::options()</a> &amp; PrintBackground) MajorGrid is modified to Qt::darkGray, MinorGrid to Qt::gray. All other colors are returned unmodified. <p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00124">124</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.<p>References <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00108">options()</a>.<p>Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">apply()</a>.    </td>  </tr></table><a class="anchor" name="4be8e414cc8000de7b9d1359b6834379"></a><!-- doxytag: member="QwtPlotPrintFilter::font" ref="4be8e414cc8000de7b9d1359b6834379" args="(const QFont &amp;, Item item) 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">QFont QwtPlotPrintFilter::font           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QFont &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>f</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="class_qwt_plot_print_filter.html#9a9eae5c90f51ef61f973b4c2fba0665">Item</a>&nbsp;</td>          <td class="mdname" nowrap> <em>item</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Modifies a font for printing. <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>f</em>&nbsp;</td><td>Font to be modified </td></tr>    <tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>Type of item where the font belongs</td></tr>  </table></dl>All fonts are returned unmodified <p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00148">148</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">apply()</a>.    </td>  </tr></table><a class="anchor" name="0f47c339382f3292d3e71e0585a008e4"></a><!-- doxytag: member="QwtPlotPrintFilter::options" ref="0f47c339382f3292d3e71e0585a008e4" args="() 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">int QwtPlotPrintFilter::options           </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> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get plot print options. <p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_print_filter.html#b5a3f3df821b67812e40ffdcaca3b6b5">setOptions()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00108">108</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00124">color()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00586">QwtPlot::drawItems()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00074">QwtPlot::print()</a>, and <a class="el" href="qwt__plot__print_8cpp-source.html#l00450">QwtPlot::printCanvas()</a>.    </td>  </tr></table><a class="anchor" name="524cd56a979aa7ac4b28f0a27e103d8b"></a><!-- doxytag: member="QwtPlotPrintFilter::reset" ref="524cd56a979aa7ac4b28f0a27e103d8b" 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::reset           </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>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Reset color and fonts of a plot <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_print_filter.html#b6ce402443e59a6f4fc68dc24cc6b2ad">apply</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">366</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.<p>References <a class="el" href="qwt__plot_8cpp-source.html#l00195">QwtPlot::autoReplot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00187">QwtPlot::setAutoReplot()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00323">QwtText::setColor()</a>, <a class="el" href="qwt__text__label_8cpp-source.html#l00107">QwtTextLabel::text()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00254">QwtPlot::titleLabel()</a>.    </td>  </tr></table><a class="anchor" name="b5a3f3df821b67812e40ffdcaca3b6b5"></a><!-- doxytag: member="QwtPlotPrintFilter::setOptions" ref="b5a3f3df821b67812e40ffdcaca3b6b5" args="(int options)" --><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::setOptions           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>options</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set plot print options. <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>options</em>&nbsp;</td><td>Or'd <a class="el" href="class_qwt_plot_print_filter.html#befd1a5f672722400a39007eeef8f0e0">QwtPlotPrintFilter::Options</a> values</td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_print_filter.html#0f47c339382f3292d3e71e0585a008e4">options()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00099">99</a> of file <a class="el" href="qwt__plot__printfilter_8cpp-source.html">qwt_plot_printfilter.cpp</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:25:17 2007 for Qwt User's Guide by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>

⌨️ 快捷键说明

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