File: ch08lev1sec9.html

package info (click to toggle)
ebook-dev-kde20 200010-3
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k, sarge
  • size: 11,428 kB
  • ctags: 2,726
  • sloc: sh: 96; makefile: 35
file content (236 lines) | stat: -rw-r--r-- 4,524 bytes parent folder | download | duplicates (2)
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>Exercises</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.54"/><LINK
REL="HOME"
TITLE="KDE 2.0 Development"
HREF="index.html"/><LINK
REL="UP"
TITLE="Using Dialog Boxes"
HREF="ch08.html"/><LINK
REL="PREVIOUS"
TITLE="Summary"
HREF="ch08lev1sec8.html"/><LINK
REL="NEXT"
TITLE="Constructing A Responsive User Interface"
HREF="ch09.html"/><META
HTTP-EQUIV="Content-Style-Type"
CONTENT="text/css"/><LINK
REL="stylesheet"
HREF="kde-common.css"
TYPE="text/css"/><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1"/><META
HTTP-EQUIV="Content-Language"
CONTENT="en"/><LINK
REL="stylesheet"
HREF="kde-localised.css"
TYPE="text/css"
TITLE="KDE-English"/><LINK
REL="stylesheet"
HREF="kde-default.css"
TYPE="text/css"
TITLE="KDE-Default"/></HEAD
><BODY
CLASS="section"
LINK="#336699"
VLINK="#336699"
ALINK="#336699"
BGCOLOR="#FFFFFF"
><DIV
ALIGN="RIGHT"
CLASS="NAVBAR"
><P
><A
HREF="ch08lev1sec8.html"
>Prev</A
> <A
HREF="ch09.html"
>Next</A
> <A
HREF="index.html"
>Table of Contents</A
></P
></DIV
><DIV
CLASS="section"
><TABLE
WIDTH="100%"
CELLPADDING="0"
CELLSPACING="0"
BORDER="0"
ALIGN="CENTER"
><TR
><TD
WIDTH="90%"
><H1
CLASS="section"
><A
NAME="ch08lev1sec9"
>8.9. Exercises</A
></H1
><P
>See <A
HREF="ap-c.html"
>Appendix C, <SPAN
CLASS="QUOTE"
>"Answers"</SPAN
></A
>, for the exercise answers.</P
><DIV
CLASS="qandaset"
><DL
><DT
>8.9.1. <A
HREF="ch08lev1sec9.html#ch08que01"
><A
HREF="appc13.html#ch08ans01"
>Make a dialog box that can be used to compose and send an email message. The dialog box must contain vertically aligned <SPAN
CLASS="QUOTE"
>"From:"</SPAN
>, <SPAN
CLASS="QUOTE"
>"To:"</SPAN
>, <SPAN
CLASS="QUOTE"
>"Cc:"</SPAN
>, and <SPAN
CLASS="QUOTE"
>"Subject:"</SPAN
> labels each with a line edit widget to the right. The line edit widgets shall be able to display at least 20 characters regardless of the font size. Beneath the labels, add a multiline edit widget that uses the rest of the available space in the dialog box. The dialog box should have the following action buttons at the bottom: Address&#8243;, <SPAN
CLASS="QUOTE"
>"Send"</SPAN
>, and <SPAN
CLASS="QUOTE"
>"Cancel"</SPAN
></A
>.</A
></DT
><DT
>8.9.2. <A
HREF="ch08lev1sec9.html#ch08que02"
><A
HREF="appc13.html#ch08ans02"
>Change the dialog box so that it no longer contains the <SPAN
CLASS="QUOTE"
>"Address"</SPAN
> action button. Add a <SPAN
CLASS="QUOTE"
>"Help"</SPAN
> button instead. Add pushbuttons labeled <SPAN
CLASS="QUOTE"
>"Choose&#8230;"</SPAN
> to the right of the line edit widgets belonging to the <SPAN
CLASS="QUOTE"
>"To:"</SPAN
> and <SPAN
CLASS="QUOTE"
>"Cc:"</SPAN
> fields</A
>.</A
></DT
></DL
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="ch08que01"
></A
><B
>8.9.1. </B
><A
HREF="appc13.html#ch08ans01"
>Make a dialog box that can be used to compose and send an email message. The dialog box must contain vertically aligned <SPAN
CLASS="QUOTE"
>"From:"</SPAN
>, <SPAN
CLASS="QUOTE"
>"To:"</SPAN
>, <SPAN
CLASS="QUOTE"
>"Cc:"</SPAN
>, and <SPAN
CLASS="QUOTE"
>"Subject:"</SPAN
> labels each with a line edit widget to the right. The line edit widgets shall be able to display at least 20 characters regardless of the font size. Beneath the labels, add a multiline edit widget that uses the rest of the available space in the dialog box. The dialog box should have the following action buttons at the bottom: Address&#8243;, <SPAN
CLASS="QUOTE"
>"Send"</SPAN
>, and <SPAN
CLASS="QUOTE"
>"Cancel"</SPAN
></A
>.</P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="ch08que02"
></A
><B
>8.9.2. </B
><A
HREF="appc13.html#ch08ans02"
>Change the dialog box so that it no longer contains the <SPAN
CLASS="QUOTE"
>"Address"</SPAN
> action button. Add a <SPAN
CLASS="QUOTE"
>"Help"</SPAN
> button instead. Add pushbuttons labeled <SPAN
CLASS="QUOTE"
>"Choose&#8230;"</SPAN
> to the right of the line edit widgets belonging to the <SPAN
CLASS="QUOTE"
>"To:"</SPAN
> and <SPAN
CLASS="QUOTE"
>"Cc:"</SPAN
> fields</A
>.</P
></DIV
></DIV
></DIV
></TD
><TD
WIDTH="10%"
VALIGN="BOTTOM"
ALIGN="CENTER"
><ANNMARK
NAME="ch08lev1sec9"/></TD
></TR
><ANNOTATION
NAME="ch08lev1sec9"
TITLE="Exercises"/></TABLE
></DIV
><DIV
ALIGN="RIGHT"
CLASS="NAVBAR"
><P
><A
HREF="ch08lev1sec8.html"
>Prev</A
> <A
HREF="ch09.html"
>Next</A
> <A
HREF="index.html"
>Table of Contents</A
></P
></DIV
><HR
WIDTH="100%"
SIZE="2"
ALIGN="CENTER"
NOSHADE="NOSHADE"/></BODY
></HTML
>