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

📄 class_qwt_slider.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 4 页
字号:
    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return a minimum size hint. <p><dl compact><dt><b>Warning:</b></dt><dd>The return value of <a class="el" href="class_qwt_slider.html#1cc878ed8746de2ea7c33a88f1c4652c">QwtSlider::minimumSizeHint()</a> depends on the font and the scale. </dd></dl><p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00777">777</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__scale__draw_8cpp-source.html#l00280">QwtScaleDraw::extent()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00139">QwtScaleDraw::getBorderDistHint()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00318">QwtScaleDraw::minLength()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>, and <a class="el" href="qwt__slider_8cpp-source.html#l00294">scaleDraw()</a>.<p>Referenced by <a class="el" href="qwt__slider_8cpp-source.html#l00767">sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="374057359bceeb3174a35b9240feacf0"></a><!-- doxytag: member="QwtSlider::paintEvent" ref="374057359bceeb3174a35b9240feacf0" 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 QwtSlider::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>Qt paint event. <p><p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00501">501</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__slider_8cpp-source.html#l00517">draw()</a>.    </td>  </tr></table><a class="anchor" name="e8eff3a30ef4086cac42d244cef81ac0"></a><!-- doxytag: member="QwtSlider::rangeChange" ref="e8eff3a30ef4086cac42d244cef81ac0" 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 QwtSlider::rangeChange           </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, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Notify change of range. <p><p>Reimplemented from <a class="el" href="class_qwt_double_range.html#3583134a1ac32706aa4742088bb9d4dc">QwtDoubleRange</a>.<p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00692">692</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00159">QwtAbstractScale::autoScale()</a>, <a class="el" href="qwt__slider_8cpp-source.html#l00546">layoutSlider()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00326">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00339">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00294">QwtDoubleRange::rangeChange()</a>, and <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00127">QwtAbstractScale::rescale()</a>.    </td>  </tr></table><a class="anchor" name="92af990b20794fe27934c6fa2ee7a435"></a><!-- doxytag: member="QwtSlider::resizeEvent" ref="92af990b20794fe27934c6fa2ee7a435" 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 QwtSlider::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>Qt resize event. <p><p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00535">535</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__slider_8cpp-source.html#l00546">layoutSlider()</a>.    </td>  </tr></table><a class="anchor" name="31ae4c53eb17d77ee0fd846ff6eea7e3"></a><!-- doxytag: member="QwtSlider::scaleChange" ref="31ae4c53eb17d77ee0fd846ff6eea7e3" 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 QwtSlider::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, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Notify changed scale. <p><p>Reimplemented from <a class="el" href="class_qwt_abstract_scale.html#0dbb7bdc557c0a7b163643e41970ed6a">QwtAbstractScale</a>.<p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00305">305</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__slider_8cpp-source.html#l00546">layoutSlider()</a>.    </td>  </tr></table><a class="anchor" name="438bcc6e8ffc676eaeff80d057185ae6"></a><!-- doxytag: member="QwtSlider::scalePosition" ref="438bcc6e8ffc676eaeff80d057185ae6" 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"><a class="el" href="class_qwt_slider.html#10836f1e83b9c8ef8e229bf7c65c3659">QwtSlider::ScalePos</a> QwtSlider::scalePosition           </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>Return the scale position. <p><p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00236">236</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.    </td>  </tr></table><a class="anchor" name="425ca7b06f3cde9625b35e643ed2c647"></a><!-- doxytag: member="QwtSlider::setBgStyle" ref="425ca7b06f3cde9625b35e643ed2c647" args="(BGSTYLE)" --><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 QwtSlider::setBgStyle           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_slider.html#60df2c6dd8d5419625a2f3f024bf29c6">BGSTYLE</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>st</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 the background style. <p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00726">726</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__slider_8cpp-source.html#l00546">layoutSlider()</a>.    </td>  </tr></table><a class="anchor" name="0d40da533b9417974240e127b5d701e4"></a><!-- doxytag: member="QwtSlider::setBorderWidth" ref="0d40da533b9417974240e127b5d701e4" args="(int bw)" --><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 QwtSlider::setBorderWidth           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>bd</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>Change the slider's border width. <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>bd</em>&nbsp;</td><td>border width </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00245">245</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__slider_8cpp-source.html#l00546">layoutSlider()</a>.    </td>  </tr></table><a class="anchor" name="32e5dabf7627458b97f81be6c5272a52"></a><!-- doxytag: member="QwtSlider::setMargins" ref="32e5dabf7627458b97f81be6c5272a52" args="(int x, int y)" --><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 QwtSlider::setMargins           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>xMargin</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>yMargin</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set distances between the widget's border and internals. <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>xMargin</em>&nbsp;</td><td>Horizontal margin </td></tr>    <tr><td valign="top"></td><td valign="top"><em>yMargin</em>&nbsp;</td><td>Vertical margin </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__slider_8cpp-source.html#l00708">708</a> of file <a class="el" href="qwt__slider_8cpp-source.html">qwt_slider.cpp</a>.<p>References <a class="el" href="qwt__slider_8cpp-source.html#l00546">layoutSlider()</a>.    </td>  </tr></table><a class="anchor" name="3a5d51f56dee5e51dc37bb6f546b16b5"></a><!-- doxytag: member="QwtSlider::setOrientation" ref="3a5d51f56dee5e51dc37bb6f546b16b5" args="(Qt::Orientation)" --><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 QwtSlider::setOrientation           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">Qt::Orientation&nbsp;</td>

⌨️ 快捷键说明

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