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

📄 class_qwt_scale_widget.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<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 QwtScaleWidget::getMinBorderDist           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>start</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>end</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the minimum value for the distances of the scale's endpoints from the widget borders.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_widget.html#4299d99073231d977924c7e40ff9a6a9">setMinBorderDist()</a>, <a class="el" href="class_qwt_scale_widget.html#57ca1a6a87417a732e0b1e66ac2a3493">getBorderDistHint()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00806">806</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.    </td>  </tr></table><a class="anchor" name="5964a55d1572ea775eae3ca93a755358"></a><!-- doxytag: member="QwtScaleWidget::layoutScale" ref="5964a55d1572ea775eae3ca93a755358" args="(bool update=true)" --><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 QwtScaleWidget::layoutScale           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>update</em> = <code>true</code>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Recalculate the scale's geometry and layout based on. <p><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00552">552</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.<p>References <a class="el" href="qwt__scale__widget_8cpp-source.html#l00883">colorBarWidth()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00775">getBorderDistHint()</a>.<p>Referenced by <a class="el" href="qwt__scale__widget_8cpp-source.html#l00542">resizeEvent()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00682">scaleChange()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00187">setAlignment()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00234">setBorderDist()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00858">setColorBarEnabled()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00873">setColorBarWidth()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00893">setColorMap()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00311">setLabelRotation()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00249">setMargin()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00279">setPenWidth()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00840">setScaleDiv()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00322">setScaleDraw()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00264">setSpacing()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00151">setTitle()</a>.    </td>  </tr></table><a class="anchor" name="4827906c3f11825d479c6e493c8e1b4c"></a><!-- doxytag: member="QwtScaleWidget::margin" ref="4827906c3f11825d479c6e493c8e1b4c" 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 QwtScaleWidget::margin           </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><dl compact><dt><b>Returns:</b></dt><dd>margin </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_widget.html#36d92ef63d996fe1fd58a46431924ab6">QwtScaleWidget::setMargin</a> </dd></dl><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00385">385</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.    </td>  </tr></table><a class="anchor" name="ee41cd1b3eff4cf06559e7a36baee5a5"></a><!-- doxytag: member="QwtScaleWidget::minimumSizeHint" ref="ee41cd1b3eff4cf06559e7a36baee5a5" 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 QwtScaleWidget::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><dl compact><dt><b>Returns:</b></dt><dd>a minimum size hint </dd></dl><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00698">698</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.<p>References <a class="el" href="qwt__scale__widget_8cpp-source.html#l00747">dimForLength()</a>, and <a class="el" href="qwt__scale__widget_8cpp-source.html#l00775">getBorderDistHint()</a>.<p>Referenced by <a class="el" href="qwt__plot__layout_8cpp-source.html#l00464">QwtPlotLayout::minimumSizeHint()</a>, <a class="el" href="qwt__scale__widget_8cpp-source.html#l00690">sizeHint()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00316">QwtPlot::sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="50af2b1e5f320a63cf71db6d0f18860d"></a><!-- doxytag: member="QwtScaleWidget::paintEvent" ref="50af2b1e5f320a63cf71db6d0f18860d" args="(QPaintEvent *e)" --><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 QwtScaleWidget::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>e</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>paintEvent <p><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00410">410</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.<p>References <a class="el" href="qwt__scale__widget_8cpp-source.html#l00428">draw()</a>.    </td>  </tr></table><a class="anchor" name="69546c75ba60b66c3fe675e69a3f9253"></a><!-- doxytag: member="QwtScaleWidget::penWidth" ref="69546c75ba60b66c3fe675e69a3f9253" 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 QwtScaleWidget::penWidth           </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><dl compact><dt><b>Returns:</b></dt><dd>Scale pen width </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_scale_widget.html#af416874df0dbb5932f1427e41e4d1b4">QwtScaleWidget::setPenWidth</a> </dd></dl><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00403">403</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.    </td>  </tr></table><a class="anchor" name="049a30a94bf5ee2da74a5762346a333c"></a><!-- doxytag: member="QwtScaleWidget::resizeEvent" ref="049a30a94bf5ee2da74a5762346a333c" args="(QResizeEvent *e)" --><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 QwtScaleWidget::resizeEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QResizeEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>e</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>resizeEvent <p><p>Definition at line <a class="el" href="qwt__scale__widget_8cpp-source.html#l00542">542</a> of file <a class="el" href="qwt__scale__widget_8cpp-source.html">qwt_scale_widget.cpp</a>.<p>References <a class="el" href="qwt__scale__widget_8cpp-source.html#l00552">layoutScale()</a>.    </td>  </tr></table><a class="anchor" name="f151a963ea3cb7f04815db93e8f4882d"></a><!-- doxytag: member="QwtScaleWidget::scaleChange" ref="f151a963ea3cb7f04815db93e8f4882d" 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">void QwtScaleWidget::scaleChange           </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> [protected]</code></td>        </tr>      </table>    </td>  </tr></table>

⌨️ 快捷键说明

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