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

📄 class_qwt_arrow_button.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
Draw an arrow int a bounding rect<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>painter</em>&nbsp;</td><td>Painter </td></tr>    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>Rectangle where to paint the arrow </td></tr>    <tr><td valign="top"></td><td valign="top"><em>arrowType</em>&nbsp;</td><td>Arrow type </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00240">240</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.<p>Referenced by <a class="el" href="qwt__arrow__button_8cpp-source.html#l00157">drawButtonLabel()</a>.    </td>  </tr></table><a class="anchor" name="fc342cb3eaa01afe5aa897b3fd6aa7c2"></a><!-- doxytag: member="QwtArrowButton::drawButtonLabel" ref="fc342cb3eaa01afe5aa897b3fd6aa7c2" args="(QPainter *p)" --><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 QwtArrowButton::drawButtonLabel           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPainter *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>painter</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Draw the button label. <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>painter</em>&nbsp;</td><td>Painter </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd>The Qt Manual on QPushButton </dd></dl><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00157">157</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.<p>References <a class="el" href="qwt__arrow__button_8cpp-source.html#l00326">arrowSize()</a>, <a class="el" href="qwt__arrow__button_8cpp-source.html#l00240">drawArrow()</a>, and <a class="el" href="qwt__arrow__button_8cpp-source.html#l00108">labelRect()</a>.<p>Referenced by <a class="el" href="qwt__arrow__button_8cpp-source.html#l00143">paintEvent()</a>.    </td>  </tr></table><a class="anchor" name="17612daa99344272c4de1313a5c67b02"></a><!-- doxytag: member="QwtArrowButton::keyPressEvent" ref="17612daa99344272c4de1313a5c67b02" args="(QKeyEvent *)" --><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 QwtArrowButton::keyPressEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QKeyEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>autoRepeat for the space keys <p><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00356">356</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.    </td>  </tr></table><a class="anchor" name="e32f665bfa6ab478e4ba7fd068bb3088"></a><!-- doxytag: member="QwtArrowButton::labelRect" ref="e32f665bfa6ab478e4ba7fd068bb3088" 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">QRect QwtArrowButton::labelRect           </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<code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Returns:</b></dt><dd>the bounding rect for the label </dd></dl><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00108">108</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.<p>Referenced by <a class="el" href="qwt__arrow__button_8cpp-source.html#l00157">drawButtonLabel()</a>.    </td>  </tr></table><a class="anchor" name="5bc3817732a253bb214a94d1c76508ce"></a><!-- doxytag: member="QwtArrowButton::minimumSizeHint" ref="5bc3817732a253bb214a94d1c76508ce" 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">QSize QwtArrowButton::minimumSizeHint           </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<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return a minimum size hint. <p><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00294">294</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.<p>References <a class="el" href="qwt__arrow__button_8cpp-source.html#l00326">arrowSize()</a>.<p>Referenced by <a class="el" href="qwt__arrow__button_8cpp-source.html#l00286">sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="09ae0f534912a14155233d7f431ffb2e"></a><!-- doxytag: member="QwtArrowButton::num" ref="09ae0f534912a14155233d7f431ffb2e" 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 QwtArrowButton::num           </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>The number of arrows. <p><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00100">100</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.    </td>  </tr></table><a class="anchor" name="d9bdd4ed2e655aa19929ab436ec8ab45"></a><!-- doxytag: member="QwtArrowButton::paintEvent" ref="d9bdd4ed2e655aa19929ab436ec8ab45" args="(QPaintEvent *event)" --><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 QwtArrowButton::paintEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPaintEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>event</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Paint event handler <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>event</em>&nbsp;</td><td>Paint event </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00143">143</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.<p>References <a class="el" href="qwt__arrow__button_8cpp-source.html#l00157">drawButtonLabel()</a>.    </td>  </tr></table><a class="anchor" name="180ca16baa83c02e8dca4ffbe3dba2e8"></a><!-- doxytag: member="QwtArrowButton::sizeHint" ref="180ca16baa83c02e8dca4ffbe3dba2e8" 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">QSize QwtArrowButton::sizeHint           </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<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Returns:</b></dt><dd>a size hint </dd></dl><p>Definition at line <a class="el" href="qwt__arrow__button_8cpp-source.html#l00286">286</a> of file <a class="el" href="qwt__arrow__button_8cpp-source.html">qwt_arrow_button.cpp</a>.<p>References <a class="el" href="qwt__arrow__button_8cpp-source.html#l00294">minimumSizeHint()</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:23:03 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 + -