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

📄 class_qwt_dyn_grid_layout.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<p>Return the upper limit for the number of columns. 0 means unlimited, what is the default. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#edec17be16b997ecd1acff8424e02843">QwtDynGridLayout::setMaxCols()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00205">205</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>Referenced by <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00353">columnsForWidth()</a>.    </td>  </tr></table><a class="anchor" name="74ebb14c4b4fae32354d3824bf29c93e"></a><!-- doxytag: member="QwtDynGridLayout::maxItemWidth" ref="74ebb14c4b4fae32354d3824bf29c93e" 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 QwtDynGridLayout::maxItemWidth           </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>the maximum width of all layout items </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00409">409</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>References <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00222">isEmpty()</a>.    </td>  </tr></table><a class="anchor" name="4678cd0f67c332162c266ac9661b5db6"></a><!-- doxytag: member="QwtDynGridLayout::numCols" ref="4678cd0f67c332162c266ac9661b5db6" 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">uint QwtDynGridLayout::numCols           </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>Number of columns of the current layout. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#d3f387078e5e78b66b452c72e99923c2">QwtDynGridLayout::numRows</a> </dd></dl><dl compact><dt><b>Warning:</b></dt><dd>The number of columns might change whenever the geometry changes </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00688">688</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>Referenced by <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00353">columnsForWidth()</a>.    </td>  </tr></table><a class="anchor" name="d3f387078e5e78b66b452c72e99923c2"></a><!-- doxytag: member="QwtDynGridLayout::numRows" ref="d3f387078e5e78b66b452c72e99923c2" 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">uint QwtDynGridLayout::numRows           </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>Number of rows of the current layout. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#4678cd0f67c332162c266ac9661b5db6">QwtDynGridLayout::numCols</a> </dd></dl><dl compact><dt><b>Warning:</b></dt><dd>The number of rows might change whenever the geometry changes </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00678">678</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>Referenced by <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00557">heightForWidth()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00647">sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="fdf23bb94de5258f14fb077b39a64391"></a><!-- doxytag: member="QwtDynGridLayout::setGeometry" ref="fdf23bb94de5258f14fb077b39a64391" args="(const QRect &amp;rect)" --><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 QwtDynGridLayout::setGeometry           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QRect &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>rect</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Reorganizes columns and rows and resizes managed widgets within the rectangle rect. <p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00314">314</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>References <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00353">columnsForWidth()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00222">isEmpty()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00231">itemCount()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00440">layoutItems()</a>.    </td>  </tr></table><a class="anchor" name="edec17be16b997ecd1acff8424e02843"></a><!-- doxytag: member="QwtDynGridLayout::setMaxCols" ref="edec17be16b997ecd1acff8424e02843" args="(uint maxCols)" --><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 QwtDynGridLayout::setMaxCols           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">uint&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>maxCols</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>Limit the number of columns. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>maxCols</em>&nbsp;</td><td>upper limit, 0 means unlimited </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#6ffaad457d8c9b4d423c23fb6b433299">QwtDynGridLayout::maxCols()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00194">194</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.    </td>  </tr></table><a class="anchor" name="fed46e3a8e1b6e67dcf62eca0bc948d6"></a><!-- doxytag: member="QwtDynGridLayout::sizeHint" ref="fed46e3a8e1b6e67dcf62eca0bc948d6" 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 QwtDynGridLayout::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>Return the size hint. If <a class="el" href="class_qwt_dyn_grid_layout.html#6ffaad457d8c9b4d423c23fb6b433299">maxCols()</a> &gt; 0 it is the size for a grid with <a class="el" href="class_qwt_dyn_grid_layout.html#6ffaad457d8c9b4d423c23fb6b433299">maxCols()</a> columns, otherwise it is the size for a grid with only one row. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#6ffaad457d8c9b4d423c23fb6b433299">QwtDynGridLayout::maxCols()</a>, <a class="el" href="class_qwt_dyn_grid_layout.html#edec17be16b997ecd1acff8424e02843">QwtDynGridLayout::setMaxCols()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00647">647</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>References <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00222">isEmpty()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00231">itemCount()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00518">layoutGrid()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00678">numRows()</a>.    </td>  </tr></table><a class="anchor" name="ee71c314a421165f80fa724a59c2c899"></a><!-- doxytag: member="QwtDynGridLayout::stretchGrid" ref="ee71c314a421165f80fa724a59c2c899" args="(const QRect &amp;rect, uint numCols, QwtArray&lt; int &gt; &amp;rowHeight, QwtArray&lt; int &gt; &amp;colWidth) 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 QwtDynGridLayout::stretchGrid           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QRect &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>rect</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>uint&nbsp;</td>          <td class="mdname" nowrap> <em>numCols</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>QwtArray&lt; int &gt; &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>rowHeight</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>QwtArray&lt; int &gt; &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>colWidth</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Stretch columns in case of expanding() &amp; QSizePolicy::Horizontal and rows in case of expanding() &amp; QSizePolicy::Vertical to fill the entire rect. Rows and columns are stretched with the same factor. <dl compact><dt><b>See also:</b></dt><dd>QwtDynGridLayout::setExpanding(), QwtDynGridLayout::expanding() </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00586">586</a> of file <a class="el" href="qwt__dyngrid__layout_8cpp-source.html">qwt_dyngrid_layout.cpp</a>.<p>References <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00302">expandingDirections()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00222">isEmpty()</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:23:51 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 + -