designer-manual-11.html

来自「QT 下载资料仅供参考」· HTML 代码 · 共 155 行 · 第 1/2 页

HTML
155
字号
<blockquote><p align="center"><em>Containers</em></p></blockquote><h4><a name="5-3"></a>Containers</h4><ul><li><p><b>GroupBox</b><br> Click this toolbar button, then click the form, to place a GroupBox on the form.</p><li><p><b>ButtonGroup</b><br> Click this toolbar button, then click the form, to place a ButtonGroup on the form.</p><li><p><b>Frame</b><br> Click this toolbar button, then click the form, to place a Frame on the form.</p><li><p><b>TabWidget</b><br> Click this toolbar button, then click the form, to place a TabWidget on the form. To add or remove tabs, right click the tab widget and choose 'Add Page' or 'Remove Page'.</p></ul><p align="center"><img align="middle" src="qd-viewstoolbuttons5.png" width="123" height="46"></p><blockquote><p align="center"><em>Views</em></p></blockquote><h4><a name="5-4"></a>Views</h4><ul><li><p><b>ListBox</b><br> Click this toolbar button, then click the form, to place a ListBox on the form.</p><li><p><b>ListView</b><br> Click this toolbar button, then click the form, to place a ListView on the form.</p><li><p><b>Icon View</b><br> Click this toolbar button, then click the form, to place an IconView on the form.</p><li><p><b>Table</b><br> Click this toolbar button, then click the form to place a Table on the form.</p></ul><p align="center"><img align="middle" src="qd-databasetoolbuttons3.png" width="93" height="46"></p><blockquote><p align="center"><em>Database Toolbuttons</em></p></blockquote><h4><a name="5-5"></a>Database</h4><ul><li><p><b>DataTable</b><br> Click this toolbar button, then click the form, to place a DataTable on the form.</p><li><p><b>DataBrowser</b><br> Click this toolbar button, then click the form, to place a DataBrowser on the form.</p><li><p><b>DataView</b><br> Click this toolbar button, then click the form, to place a DataView on the form.</p></ul><p align="center"><img align="middle" src="qd-inputtoolbuttons3.png" width="303" height="46"></p><blockquote><p align="center"><em>Input Toolbuttons</em></p></blockquote><h4><a name="5-6"></a>Input</h4><ul><li><p><b>LineEdit</b><br> Click this toolbar button, then click the form, to place a LineEdit on the form.</p><li><p><b>SpinBox</b><br> Click this toolbar button, then click the form, to place a SpinBox on the form.</p><li><p><b>DateEdit</b><br> Click this toolbar button, then click the form, to place a DateEdit on the form.</p><li><p><b>TimeEdit</b><br> Click this toolbar button, then click the form, to place a TimeEdit on the form.</p><li><p><b>DateTimeEdit</b><br> Click this toolbar button, then click the form, to place a DateTimeEdit on the form.</p><li><p><b>TextEdit</b><br> Click this toolbar button, then click the form, to place a TextEdit on the form.</p><li><p><b>ComboBox</b><br> Click this toolbar button, then click the form, to place a ComboBox on the form.</p><li><p><b>Slider</b><br> Click this toolbar button, then click the form, to place a Slider on the form.</p><li><p><b>ScrollBar</b><br> Click this toolbar button, then click the form, to place a Scrollbar on the form.</p><li><p><b>Dial</b><br> Click this toolbar button, then click the form, to place a Dial on the form.</p></ul><p align="center"><img align="middle" src="qd-displaytoolbuttons3.png" width="183" height="46"></p><blockquote><p align="center"><em>Display Toolbuttons</em></p></blockquote><h4><a name="5-7"></a>Display</h4><ul><li><p><b>TextLabel</b><br> Click this toolbar button, then click the form, to place a TextLabel on the form.</p><li><p><b>PixmapLabel</b><br> Click this toolbar button, then click the form, to place a PixmapLabel on the form.</p><li><p><b>LCDNumber</b><br> Click this toolbar button, then click the form, to place a LCDNumber on the form.</p><li><p><b>Line</b><br> Click this toolbar button, then click the form, to place a Line on the form.</p><li><p><b>ProgressBar</b><br> Click this toolbar button, then click the form, to place a ProgressBar on the form.</p><li><p><b>TextBrowser</b><br> Click this toolbar button, then click the form, to place a TextBrowser on the form.</p></ul><p align="center"><img align="middle" src="qd-customwidgettoolbutton.png" width="47" height="29"></p><blockquote><p align="center"><em>Custom Widget Toolbutton</em></p></blockquote><h4><a name="5-8"></a>Custom</h4><ul><li><p><b>My Custom Widget</b><br> Click this toolbar button, then click the form, to place a Custom Widget on the form. Note: this toolbar button only appears if you have created a custom widget using <b>Tools|Custom|Edit Custom Widgets</b>.</p></ul><p align="center"><img align="middle" src="qd-layouttoolbuttons3.png" width="257" height="46"></p><blockquote><p align="center"><em>Layout Toolbuttons</em></p></blockquote><h4><a name="5-9"></a>The Layout Toolbar Buttons</h4><ul><li><p><b>Adjust Size</b><br> Click this toolbar button (or press <b>Ctrl+J</b>) to adjust the size of the widget to it's recommended size.</p><li><p><b>Lay Out Horizontally</b><br> Click this toolbar button (or press <b>Ctrl+H</b>) to lay out the selected widgets or layouts side by side. Use <b>Shift+Click</b> to select each widget or layout, and then choose this toolbar button to group them horizontally. Note that for complex widgets it is sometimes easiest to select widgets and layouts by clicking them in the Widgets tab of the <a href="designer-manual-14.html#3">Object Explorer Window</a>.</p><li><p><b>Lay Out Vertically</b><br> Click this toolbar button (or press <b>Ctrl+L</b>) to lay out the selected widgets one above the other. Use <b>Shift+Click</b> to select each widget or layout, and then choose this toolbar button to group them vertically. Note that for complex widgets it is sometimes easiest to select widgets and layouts by clicking them in the Widgets tab of the <a href="designer-manual-14.html#3">Object Explorer Window</a>.</p><li><p><b>Lay out in a Grid</b><br> Click the widgets you want and then click this toolbar button (or press <b>Ctrl+G</b>) to lay out widgets in a grid.</p><li><p><b>Lay Out Horizontally (in Splitter)</b><br> Click this toolbar button to lay out the selected groups of widgets or layouts side by side with a splitter between each group. Use <b>Shift+Click</b> to select each widget or layout, and then choose this toolbar button to group them horizontally. Note that for complex widgets it is sometimes easiest to select widgets and layouts by clicking them in the Widgets tab of the <a href="designer-manual-14.html#3">Object Explorer Window</a>.</p><li><p><b>Lay Out Vertically (in Splitter)</b><br> Click this toolbar button to lay out the selected groups of widgets or layouts one above the other with a splitter between each group. Use <b>Shift+Click</b> to select each widget or layout, and then choose this toolbar button to group them vertically. Note that for complex widgets it is sometimes easiest to select widgets and layouts by clicking them in the Widgets tab of the <a href="designer-manual-14.html#3">Object Explorer Window</a>.</p><li><p><b>Break Layout</b><br> Click this toolbar button (or press <b>Ctrl+B</b>) to break a layout. Click on the layout and select this option; the layout is deleted.</p><li><p><b>Add Spacer</b><br> Click this toolbar button to add a spacer to widgets that take up too much space on the form. The spacer consumes extra space in the layout.</p></ul><p align="center"><img align="middle" src="qd-helptoolbuttons3.png" width="27" height="40"></p><blockquote><p align="center"><em>Help Toolbutton</em></p></blockquote><h3><a name="6"></a>The Help Toolbar Button</h3><ul><li><p><b>What's This?</b><br> Click this menu option to invoke a small question mark that is attached to the mouse pointer. Click on a feature which you would like more information about. A message box appears with information about the feature.</p></ul><!-- eof --><p align="right">[<a href="designer-manual-10.html">Prev: Reference: Menu Options</a>] [<a href="designer-manual.html">Home</a>] [<a href="designer-manual-12.html">Next: Reference: Dialogs</a>]</p><p><address><hr><div align=center><table width=100% cellspacing=0 border=0><tr><td>Copyright &copy; 2002 <a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align=right><div align=right>Qt version 3.0.5</div></table></div></address></body></html>

⌨️ 快捷键说明

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