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

📄 class_qwt_dyn_grid_layout.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>Available width for all columns </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>, <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#l00353">353</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#l00205">maxCols()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00688">numCols()</a>.<p>Referenced by <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00557">heightForWidth()</a>, <a class="el" href="qwt__plot__print_8cpp-source.html#l00267">QwtPlot::printLegend()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00314">setGeometry()</a>.    </td>  </tr></table><a class="anchor" name="e8867d543d54d5da9657c55b3c329d8e"></a><!-- doxytag: member="QwtDynGridLayout::hasHeightForWidth" ref="e8867d543d54d5da9657c55b3c329d8e" 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">bool QwtDynGridLayout::hasHeightForWidth           </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>true: <a class="el" href="class_qwt_dyn_grid_layout.html">QwtDynGridLayout</a> implements heightForWidth. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#fa3fd53b485e9f1ed90796ff923466f1">QwtDynGridLayout::heightForWidth()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00547">547</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="fa3fd53b485e9f1ed90796ff923466f1"></a><!-- doxytag: member="QwtDynGridLayout::heightForWidth" ref="fa3fd53b485e9f1ed90796ff923466f1" args="(int) 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::heightForWidth           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>width</em>          </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 preferred height for this layout, given the width w. </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dyn_grid_layout.html#e8867d543d54d5da9657c55b3c329d8e">QwtDynGridLayout::hasHeightForWidth()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00557">557</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>, <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="755f41277b43417d6b719704dc2c0d29"></a><!-- doxytag: member="QwtDynGridLayout::isEmpty" ref="755f41277b43417d6b719704dc2c0d29" 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">bool QwtDynGridLayout::isEmpty           </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>true if this layout is empty. </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00222">222</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>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00557">heightForWidth()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00409">maxItemWidth()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00314">setGeometry()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00647">sizeHint()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00586">stretchGrid()</a>.    </td>  </tr></table><a class="anchor" name="d7df7a3f47055041d6dd5ab1c4c660e0"></a><!-- doxytag: member="QwtDynGridLayout::itemCount" ref="d7df7a3f47055041d6dd5ab1c4c660e0" 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::itemCount           </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 layout items </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00231">231</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>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00557">heightForWidth()</a>, <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00314">setGeometry()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00647">sizeHint()</a>.    </td>  </tr></table><a class="anchor" name="cbf0033801a9c0464fedb56b32d3f783"></a><!-- doxytag: member="QwtDynGridLayout::layoutGrid" ref="cbf0033801a9c0464fedb56b32d3f783" args="(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::layoutGrid           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">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>Calculate the dimensions for the columns and rows for a grid of numCols 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>numCols</em>&nbsp;</td><td>Number of columns. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>rowHeight</em>&nbsp;</td><td>Array where to fill in the calculated row heights. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>colWidth</em>&nbsp;</td><td>Array where to fill in the calculated column widths. </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00518">518</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="0fe5c2a70d1086036fac2487cc982341"></a><!-- doxytag: member="QwtDynGridLayout::layoutItems" ref="0fe5c2a70d1086036fac2487cc982341" args="(const QRect &amp;, uint numCols) 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">QList&lt; QRect &gt; QwtDynGridLayout::layoutItems           </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"></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>Calculate the geometries of the layout items for a layout with numCols columns and a given rect. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>Rect where to place the items </td></tr>    <tr><td valign="top"></td><td valign="top"><em>numCols</em>&nbsp;</td><td>Number of columns </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>item geometries </dd></dl><p>Definition at line <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00440">440</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_8h-source.html#l00101">d_data</a>.<p>Referenced by <a class="el" href="qwt__plot__print_8cpp-source.html#l00267">QwtPlot::printLegend()</a>, and <a class="el" href="qwt__dyngrid__layout_8cpp-source.html#l00314">setGeometry()</a>.    </td>  </tr></table><a class="anchor" name="6ffaad457d8c9b4d423c23fb6b433299"></a><!-- doxytag: member="QwtDynGridLayout::maxCols" ref="6ffaad457d8c9b4d423c23fb6b433299" 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::maxCols           </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>

⌨️ 快捷键说明

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