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

📄 class_qwt_picker.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_text.html">QwtText</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#48ab7695edfa22df80490bf930f16cc4">trackerText</a> (const QPoint &amp;pos) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_picker_machine.html">QwtPickerMachine</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine</a> (int) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03aa9bf28f991473d564a57d1bf3bdcc"></a><!-- doxytag: member="QwtPicker::updateDisplay" ref="03aa9bf28f991473d564a57d1bf3bdcc" args="()" -->virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#03aa9bf28f991473d564a57d1bf3bdcc">updateDisplay</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a13f79148c53b9aec63f14b62ccc98cb"></a><!-- doxytag: member="QwtPicker::rubberBandWidget" ref="a13f79148c53b9aec63f14b62ccc98cb" args="() const " -->const QWidget *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#a13f79148c53b9aec63f14b62ccc98cb">rubberBandWidget</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5eb014068d91e1b26a937fc90b035efc"></a><!-- doxytag: member="QwtPicker::trackerWidget" ref="5eb014068d91e1b26a937fc90b035efc" args="() const " -->const QWidget *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#5eb014068d91e1b26a937fc90b035efc">trackerWidget</a> () const </td></tr></table><hr><h2>Member Enumeration Documentation</h2><a class="anchor" name="01be4d404ffc3a7b238b0d0aaeb66b93"></a><!-- doxytag: member="QwtPicker::DisplayMode" ref="01be4d404ffc3a7b238b0d0aaeb66b93" 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_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">QwtPicker::DisplayMode</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><ul><li>AlwaysOff<br> Display never.</li><li>AlwaysOn<br> Display always.</li><li>ActiveOnly<br> Display only when the selection is active.</li></ul><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">QwtPicker::setTrackerMode()</a>, <a class="el" href="class_qwt_picker.html#0647370ed08612d2a55742dc00f6acb7">QwtPicker::trackerMode()</a>, <a class="el" href="class_qwt_picker.html#f825f383c74928d1541f139e102983f9">QwtPicker::isActive()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__picker_8h-source.html#l00217">217</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.    </td>  </tr></table><a class="anchor" name="7417aae2fb1ba27fa864ac153df18b6c"></a><!-- doxytag: member="QwtPicker::RectSelectionType" ref="7417aae2fb1ba27fa864ac153df18b6c" 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_picker.html#7417aae2fb1ba27fa864ac153df18b6c">QwtPicker::RectSelectionType</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Selection subtype for RectSelection This enum type describes the type of rectangle selections. It can be or磀 with <a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">QwtPicker::RectSelectionType</a> and <a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">QwtPicker::SelectionMode</a> and passed to <a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>.<ul><li>CornerToCorner<br> The first and the second selected point are the corners of the rectangle.</li><li>CenterToCorner<br> The first point is the center, the second a corner of the rectangle.</li><li>CenterToRadius<br> The first point is the center of a quadrat, calculated by the maximum of the x- and y-distance. </li></ul><p>The default value is CornerToCorner. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>, <a class="el" href="class_qwt_picker.html#d8e6fc50cd841e543a359c099024c448">QwtPicker::selectionFlags()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__picker_8h-source.html#l00143">143</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.    </td>  </tr></table><a class="anchor" name="b3c894deed026f392496dd07809a6fd3"></a><!-- doxytag: member="QwtPicker::ResizeMode" ref="b3c894deed026f392496dd07809a6fd3" 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_picker.html#b3c894deed026f392496dd07809a6fd3">QwtPicker::ResizeMode</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Controls what to do with the selected points of an active selection when the observed widget is resized.<ul><li>Stretch<br> All points are scaled according to the new size,</li><li>KeepSize<br> All points remain unchanged.</li></ul><p>The default value is Stretch. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#f85c8a3c709bd106d2b34b718a746e03">QwtPicker::setResizeMode()</a>, QwtPicker::resize() </dd></dl><p>Definition at line <a class="el" href="qwt__picker_8h-source.html#l00236">236</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.    </td>  </tr></table><a class="anchor" name="b36c79d8ff20aba5b778d2823c1f7894"></a><!-- doxytag: member="QwtPicker::RubberBand" ref="b36c79d8ff20aba5b778d2823c1f7894" 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_picker.html#b36c79d8ff20aba5b778d2823c1f7894">QwtPicker::RubberBand</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Rubberband style<ul><li>NoRubberBand<br> No rubberband.</li><li>HLineRubberBand &amp; PointSelection<br> A horizontal line.</li><li>VLineRubberBand &amp; PointSelection<br> A vertical line.</li><li>CrossRubberBand &amp; PointSelection<br> A horizontal and a vertical line.</li><li>RectRubberBand &amp; RectSelection<br> A rectangle.</li><li>EllipseRubberBand &amp; RectSelection<br> An ellipse.</li><li>PolygonRubberBand &amp;PolygonSelection<br> A polygon.</li><li>UserRubberBand<br> Values &gt;= UserRubberBand can be used to define additional rubber bands.</li></ul><p>The default value is NoRubberBand. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#83096bad2662e02e4914a7b40241c351">QwtPicker::setRubberBand()</a>, <a class="el" href="class_qwt_picker.html#6a7af18636587af2c11a6c060929403a">QwtPicker::rubberBand()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__picker_8h-source.html#l00187">187</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.    </td>  </tr></table><a class="anchor" name="7fde641b6e2514f5271106a1cedd8718"></a><!-- doxytag: member="QwtPicker::SelectionMode" ref="7fde641b6e2514f5271106a1cedd8718" 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_picker.html#7fde641b6e2514f5271106a1cedd8718">QwtPicker::SelectionMode</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Values of this enum type or磀 together with a SelectionType value identifies which state machine should be used for the selection.<p>The default value is ClickSelection. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__picker_8h-source.html#l00157">157</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.    </td>  </tr></table><a class="anchor" name="446d9f87a6796d62949c62d77c51e3eb"></a><!-- doxytag: member="QwtPicker::SelectionType" ref="446d9f87a6796d62949c62d77c51e3eb" 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_picker.html#446d9f87a6796d62949c62d77c51e3eb">QwtPicker::SelectionType</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This enum type describes the type of a selection. It can be or磀 with <a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">QwtPicker::RectSelectionType</a> and <a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">QwtPicker::SelectionMode</a> and passed to <a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a><ul><li>NoSelection<br> Selection is disabled. Note this is different to the disabled state, as you might have a tracker.</li><li>PointSelection<br> Select a single point.</li><li>RectSelection<br> Select a rectangle.</li><li>PolygonSelection<br> Select a polygon.</li></ul><p>The default value is NoSelection. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>, <a class="el" href="class_qwt_picker.html#d8e6fc50cd841e543a359c099024c448">QwtPicker::selectionFlags()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__picker_8h-source.html#l00117">117</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.    </td>  </tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="f9a5f4b0e4b37e2f323e801aa9dd6fe1"></a><!-- doxytag: member="QwtPicker::QwtPicker" ref="f9a5f4b0e4b37e2f323e801aa9dd6fe1" args="(QWidget *parent)" --><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">QwtPicker::QwtPicker           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QWidget *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>parent</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [explicit]</code></td>

⌨️ 快捷键说明

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