File: chap7_12.html

package info (click to toggle)
qt-embedded 2.3.2-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 68,608 kB
  • ctags: 45,998
  • sloc: cpp: 276,654; ansic: 71,987; makefile: 29,074; sh: 12,305; yacc: 2,465; python: 1,863; perl: 481; lex: 480; xml: 68; lisp: 15
file content (94 lines) | stat: -rw-r--r-- 5,606 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html>

	<head>
		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
		<title>The New Form Dialog</title>
		<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.49">
		<link rel="HOME" href="book1.html">
		<link rel="UP" title="The Dialogs" href="chap7_1.html">
		<link rel="PREVIOUS" title="The Help Dialog" href="chap7_11.html">
		<link rel="NEXT" title="The Palette Editor Dialog" href="chap7_13.html">
		
	</head>

	<body class="SECT1" bgcolor="white" text="black" link="blue" vlink="#840084" alink="blue">
		<div class="NAVHEADER">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td width="500" align="left" valign="middle"><img height="90" width="475" src="figures/title.png" border="0"></td>
					<td></td>
					<td align="right" valign="top"><a href="../company/about/trolls.html">
						<table border="0" cellpadding="0" cellspacing="0" width="137">
							<tr>
								<td><img height="100" width="100" src="figures/f001.png" border="0"></td>
								<td><img height="100" width="100" src="figures/qtlogo.png" align="top" border="0"></td>
							</tr>
						</table>
						</a></td>
				</tr>
				<tr>
					<td width="500"><spacer type="block" width="500" height="20"></td>
					<td><spacer type="block" width="42" height="20"></td>
					<td><br>
					</td>
				</tr>
			</table>
			<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="black">
				<tr>
					<td width="10%" align="left" valign="bottom"><a href="chap7_11.html"><img height="20" width="20" src="arrows/left.png" border="0"></a></td>
					<td width="80%" align="center" valign="bottom"><font color="white"><b>Chapter 7. The Dialogs</b></font></td>
					<td width="10%" align="right" valign="bottom"><a href="chap7_13.html"><img height="20" width="20" src="arrows/right.png" border="0"></a></td>
				</tr>
			</table>
		</div>
		<div class="SECT1">
			<h1 class="SECT1"><a name="AEN2282"></a>The New Form Dialog</h1>
			<div class="FIGURE">
				<a name="QT-DESIGNER-DIALOGS-NEWFORMDIALOG"></a>
				<p><b>Figure 7-12. The New Form dialog</b></p>
				<p><img src="figures/newformdialog.png"></p>
			</div>
			<p>This dialog appears when you create a new form; e.g., by selecting <span class="GUIMENU">File/New</span> from the menu bar. It lets you select one of several base classes and styles for the new form. To create the form, just click on one of the provided items and click <span class="GUILABEL">OK</span>. The following classes and styles are currently available; future editions of Qt Designer might provide more templates. You can also easily make your own by designing a form, saving it as a <tt class="FILENAME">.ui</tt> file, and copying this file into the directory <tt class="LITERAL">$QTDIR/tools/designer/templates</tt>.</p>
			<dl>
				<dt><span class="GUILABEL">Dialog</span>
				<dd>
				<p>Use this style for an ordinary dialog, modal or modeless. If the dialog has a row of push buttons, it is easier to choose one of the other dialog styles described here.</p>
				<dt><span class="GUILABEL">Wizard</span>
				<dd>
				<p>Use this style to create a wizard; i.e., a series of dialog pages that guide the user through a certain task.</p>
				<dt><span class="GUILABEL">Widget</span>
				<dd>
				<p>This is the most general style, without any presets. Use it if none of the other styles fit what you need.</p>
				<dt><span class="GUILABEL">Configuration Dialog</span>
				<dd>
				<p>This is a style that can be used for configuration dialogs with lots of options. It consists of a list box on the left-hand side and a number of tab pages. By selecting one of the entries in the list box, you switch to one of the tab pages. Each tab page should contain configuration options that belong together.</p>
				<dt><span class="GUILABEL">Dialog with Buttons (Bottom)</span>
				<dd>
				<p>This style is a dialog with four buttons (<span class="GUILABEL">Apply</span>, <span class="GUILABEL">OK</span>, <span class="GUILABEL">Cancel</span>, and <span class="GUILABEL">Help</span>) that are nicely arranged at the bottom of the dialog. Using this style instead of the standard dialog style gives you a small head start.</p>
				<dt><span class="GUILABEL">Dialog with Buttons (Right)</span>
				<dd>
				<p>This style is similar to the previous one but arranges the buttons at the far right side of the dialog.</p>
				<dt><span class="GUILABEL">Tab Dialog</span>
				<dd>
				<p>This style creates a tab dialog; i.e., a dialog with a number of different tab pages (by default two) on which you can distribute the GUI elements.</p>
			</dl>
		</div>
		<div class="NAVFOOTER">
			<br>
			<br>
			<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="black">
				<tr>
					<td width="33%" align="left" valign="top"><a href="chap7_11.html"><img height="20" width="20" src="arrows/left.png" border="0"></a></td>
					<td width="34%" align="center" valign="top"><a href="book1.html"><img height="20" width="25" src="arrows/home.png" border="0"></a></td>
					<td width="33%" align="right" valign="top"><a href="chap7_13.html"><img height="20" width="20" src="arrows/right.png" border="0"></a></td>
				</tr>
				<tr>
					<td width="33%" align="left" valign="top"><font  color="white">The Help Dialog</font></td>
					<td width="34%" align="center" valign="top"><a href="chap7_1.html"><img height="20" width="20" src="arrows/up.png" border="0"></a></td>
					<td width="33%" align="right" valign="top"><font  color="white">The Palette Editor Dialog</font></td>
				</tr>
			</table>
		</div>
	</body>

</html>