1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
<title>Qt 4.7: myinputpanelform.ui Example File (tools/inputpanel/myinputpanelform.ui)</title>
7
<link rel="stylesheet" type="text/css" href="style/style.css" />
8
<script src="scripts/jquery.js" type="text/javascript"></script>
9
<script src="scripts/functions.js" type="text/javascript"></script>
11
<body class="offline narrow creator">
12
<div class="header" id="qtdocheader">
15
<a href="index.html">Home</a></div>
16
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
17
<div id="nav-topright">
19
<li class="nav-topright-home"><a href="http://qt.nokia.com/">Qt HOME</a></li>
20
<li class="nav-topright-dev"><a href="http://developer.qt.nokia.com/">DEV</a></li>
21
<li class="nav-topright-labs"><a href="http://labs.qt.nokia.com/blogs/">LABS</a></li>
22
<li class="nav-topright-doc nav-topright-doc-active"><a href="http://doc.qt.nokia.com/">
24
<li class="nav-topright-blog"><a href="http://blog.qt.nokia.com/">BLOG</a></li>
29
<li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.7</a></span></li>
30
<li class="shortCut-topleft-active"><a href="http://doc.qt.nokia.com">ALL VERSIONS </a></li>
33
<ul class="sf-menu sf-js-enabled sf-shadow" id="narrowmenu">
34
<li><a href="#">API Lookup</a>
36
<li><a href="classes.html">Class index</a></li>
37
<li><a href="functions.html">Function index</a></li>
38
<li><a href="modules.html">Modules</a></li>
39
<li><a href="namespaces.html">Namespaces</a></li>
40
<li><a href="qtglobal.html">Global Declarations</a></li>
41
<li><a href="licensing.html">Licenses and Credits</a></li>
44
<li><a href="#">Qt Topics</a>
45
<ul id="topmenuTopic">
46
<li><a href="qt-basic-concepts.html">Programming with Qt</a></li>
47
<li><a href="qtquick.html">Device UI's & Qt Quick</a></li>
48
<li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
49
<li><a href="developing-with-qt.html">Cross-platform and Platform-specific</a></li>
50
<li><a href="platform-specific.html">Platform-specific info</a></li>
51
<li><a href="technology-apis.html">Qt and Key Technologies</a></li>
52
<li><a href="best-practices.html">How-To's and Best Practices</a></li>
55
<li><a href="#">Examples</a>
56
<ul id="topmenuexample">
57
<li><a href="all-examples.html">Examples</a></li>
58
<li><a href="tutorials.html">Tutorials</a></li>
59
<li><a href="demos.html">Demos</a></li>
60
<li><a href="qdeclarativeexamples.html">QML Examples</a></li>
70
<div class="bd group">
72
<div class="searchlabel">
75
<form id="qtdocsearch" action="" onsubmit="return false;">
77
<input type="text" name="searchstring" id="pageType" value="" />
81
<div class="box first bottombar" id="lookup">
82
<h2 title="API Lookup"><span></span>
84
<div id="list001" class="list">
86
<li class="defaultLink"><a href="classes.html">Class index</a></li>
87
<li class="defaultLink"><a href="functions.html">Function index</a></li>
88
<li class="defaultLink"><a href="modules.html">Modules</a></li>
89
<li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
90
<li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
91
<li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
95
<div class="box bottombar" id="topics">
96
<h2 title="Qt Topics"><span></span>
98
<div id="list002" class="list">
100
<li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li>
101
<li class="defaultLink"><a href="qtquick.html">Device UI's & Qt Quick</a></li>
102
<li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li>
103
<li class="defaultLink"><a href="developing-with-qt.html">Cross-platform and Platform-specific</a></li>
104
<li class="defaultLink"><a href="platform-specific.html">Platform-specific info</a></li>
105
<li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li>
106
<li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li>
110
<div class="box" id="examples">
111
<h2 title="Examples"><span></span>
113
<div id="list003" class="list">
115
<li class="defaultLink"><a href="all-examples.html">Examples</a></li>
116
<li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
117
<li class="defaultLink"><a href="demos.html">Demos</a></li>
118
<li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
124
<div class="toolbar">
125
<div class="breadcrumb toolblock">
127
<li class="first"><a href="index.html">Home</a></li>
128
<!-- Bread crumbs goes here -->
131
<div class="toolbuttons toolblock">
133
<li id="smallA" class="t_button">A</li>
134
<li id="medA" class="t_button active">A</li>
135
<li id="bigA" class="t_button">A</li>
136
<li id="print" class="t_button"><a href="javascript:this.print();">
137
<span>Print</span></a></li>
141
<div class="content">
142
<h1 class="title">myinputpanelform.ui Example File</h1>
143
<span class="small-subtitle">tools/inputpanel/myinputpanelform.ui</span>
144
<!-- $$$tools/inputpanel/myinputpanelform.ui-description -->
145
<div class="descr"> <a name="details"></a>
146
<pre class="highlightedCode brush: cpp"> <?xml version="1.0" encoding="UTF-8"?>
147
<ui version="4.0">
148
<class>MyInputPanelForm</class>
149
<widget class="QWidget" name="MyInputPanelForm">
150
<property name="geometry">
154
<width>167</width>
155
<height>233</height>
158
<property name="windowTitle">
159
<string>Input Panel</string>
161
<layout class="QVBoxLayout" name="verticalLayout">
163
<layout class="QGridLayout" name="gridLayout">
164
<item row="0" column="0">
165
<widget class="QPushButton" name="panelButton_1">
166
<property name="sizePolicy">
167
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
168
<horstretch>0</horstretch>
169
<verstretch>0</verstretch>
172
<property name="minimumSize">
174
<width>45</width>
175
<height>40</height>
178
<property name="focusPolicy">
179
<enum>Qt::NoFocus</enum>
181
<property name="text">
182
<string>1</string>
184
<property name="buttonValue" stdset="0">
186
<unicode>49</unicode>
191
<item row="0" column="1">
192
<widget class="QPushButton" name="panelButton_2">
193
<property name="sizePolicy">
194
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
195
<horstretch>0</horstretch>
196
<verstretch>0</verstretch>
199
<property name="minimumSize">
201
<width>45</width>
202
<height>40</height>
205
<property name="focusPolicy">
206
<enum>Qt::NoFocus</enum>
208
<property name="text">
209
<string>2</string>
211
<property name="buttonValue" stdset="0">
213
<unicode>50</unicode>
218
<item row="0" column="2">
219
<widget class="QPushButton" name="panelButton_3">
220
<property name="sizePolicy">
221
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
222
<horstretch>0</horstretch>
223
<verstretch>0</verstretch>
226
<property name="minimumSize">
228
<width>45</width>
229
<height>40</height>
232
<property name="focusPolicy">
233
<enum>Qt::NoFocus</enum>
235
<property name="text">
236
<string>3</string>
238
<property name="buttonValue" stdset="0">
240
<unicode>51</unicode>
245
<item row="1" column="0">
246
<widget class="QPushButton" name="panelButton_4">
247
<property name="sizePolicy">
248
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
249
<horstretch>0</horstretch>
250
<verstretch>0</verstretch>
253
<property name="minimumSize">
255
<width>45</width>
256
<height>40</height>
259
<property name="focusPolicy">
260
<enum>Qt::NoFocus</enum>
262
<property name="text">
263
<string>4</string>
265
<property name="buttonValue" stdset="0">
267
<unicode>52</unicode>
272
<item row="1" column="1">
273
<widget class="QPushButton" name="panelButton_5">
274
<property name="sizePolicy">
275
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
276
<horstretch>0</horstretch>
277
<verstretch>0</verstretch>
280
<property name="minimumSize">
282
<width>45</width>
283
<height>40</height>
286
<property name="focusPolicy">
287
<enum>Qt::NoFocus</enum>
289
<property name="text">
290
<string>5</string>
292
<property name="buttonValue" stdset="0">
294
<unicode>53</unicode>
299
<item row="1" column="2">
300
<widget class="QPushButton" name="panelButton_6">
301
<property name="sizePolicy">
302
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
303
<horstretch>0</horstretch>
304
<verstretch>0</verstretch>
307
<property name="minimumSize">
309
<width>45</width>
310
<height>40</height>
313
<property name="focusPolicy">
314
<enum>Qt::NoFocus</enum>
316
<property name="text">
317
<string>6</string>
319
<property name="buttonValue" stdset="0">
321
<unicode>54</unicode>
326
<item row="2" column="0">
327
<widget class="QPushButton" name="panelButton_7">
328
<property name="sizePolicy">
329
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
330
<horstretch>0</horstretch>
331
<verstretch>0</verstretch>
334
<property name="minimumSize">
336
<width>45</width>
337
<height>40</height>
340
<property name="focusPolicy">
341
<enum>Qt::NoFocus</enum>
343
<property name="text">
344
<string>7</string>
346
<property name="buttonValue" stdset="0">
348
<unicode>55</unicode>
353
<item row="2" column="1">
354
<widget class="QPushButton" name="panelButton_8">
355
<property name="sizePolicy">
356
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
357
<horstretch>0</horstretch>
358
<verstretch>0</verstretch>
361
<property name="minimumSize">
363
<width>45</width>
364
<height>40</height>
367
<property name="focusPolicy">
368
<enum>Qt::NoFocus</enum>
370
<property name="text">
371
<string>8</string>
373
<property name="buttonValue" stdset="0">
375
<unicode>56</unicode>
380
<item row="2" column="2">
381
<widget class="QPushButton" name="panelButton_9">
382
<property name="sizePolicy">
383
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
384
<horstretch>0</horstretch>
385
<verstretch>0</verstretch>
388
<property name="minimumSize">
390
<width>45</width>
391
<height>40</height>
394
<property name="focusPolicy">
395
<enum>Qt::NoFocus</enum>
397
<property name="text">
398
<string>9</string>
400
<property name="buttonValue" stdset="0">
402
<unicode>57</unicode>
407
<item row="3" column="0">
408
<widget class="QPushButton" name="panelButton_star">
409
<property name="sizePolicy">
410
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
411
<horstretch>0</horstretch>
412
<verstretch>0</verstretch>
415
<property name="minimumSize">
417
<width>45</width>
418
<height>40</height>
421
<property name="focusPolicy">
422
<enum>Qt::NoFocus</enum>
424
<property name="text">
425
<string>*</string>
427
<property name="buttonValue" stdset="0">
429
<unicode>42</unicode>
434
<item row="3" column="1">
435
<widget class="QPushButton" name="panelButton_0">
436
<property name="sizePolicy">
437
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
438
<horstretch>0</horstretch>
439
<verstretch>0</verstretch>
442
<property name="minimumSize">
444
<width>45</width>
445
<height>40</height>
448
<property name="focusPolicy">
449
<enum>Qt::NoFocus</enum>
451
<property name="text">
452
<string>0</string>
454
<property name="buttonValue" stdset="0">
456
<unicode>48</unicode>
461
<item row="3" column="2">
462
<widget class="QPushButton" name="panelButton_hash">
463
<property name="sizePolicy">
464
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
465
<horstretch>0</horstretch>
466
<verstretch>0</verstretch>
469
<property name="minimumSize">
471
<width>45</width>
472
<height>40</height>
475
<property name="focusPolicy">
476
<enum>Qt::NoFocus</enum>
478
<property name="text">
479
<string>#</string>
481
<property name="buttonValue" stdset="0">
483
<unicode>35</unicode>
491
<layout class="QHBoxLayout" name="horizontalLayout">
493
<spacer name="horizontalSpacer">
494
<property name="orientation">
495
<enum>Qt::Horizontal</enum>
497
<property name="sizeHint" stdset="0">
499
<width>40</width>
500
<height>20</height>
506
<widget class="QPushButton" name="closeButton">
507
<property name="font">
509
<pointsize>8</pointsize>
512
<property name="focusPolicy">
513
<enum>Qt::NoFocus</enum>
515
<property name="text">
516
<string>Close</string>
527
<sender>closeButton</sender>
528
<signal>clicked()</signal>
529
<receiver>MyInputPanelForm</receiver>
530
<slot>hide()</slot>
532
<hint type="sourcelabel">
533
<x>114</x>
534
<y>209</y>
536
<hint type="destinationlabel">
537
<x>83</x>
538
<y>116</y>
545
<!-- @@@tools/inputpanel/myinputpanelform.ui -->
546
<div class="feedback t_button">
547
[+] Documentation Feedback</div>
557
<acronym title="Copyright">©</acronym> 2008-2010 Nokia Corporation and/or its
558
subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation
559
in Finland and/or other countries worldwide.</p>
561
All other trademarks are property of their respective owners. <a title="Privacy Policy"
562
href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
565
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.</p>
567
Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
568
Free Documentation License version 1.3</a>
569
as published by the Free Software Foundation.</p>
571
<div id="feedbackBox">
572
<div id="feedcloseX" class="feedclose t_button">X</div>
573
<form id="feedform" action="http://doc.qt.nokia.com/docFeedbck/feedback.php" method="get">
574
<p id="noteHead">Thank you for giving your feedback.</p> <p class="note">Make sure it is related to this specific page. For more general bugs and
575
requests, please use the <a href="http://bugreports.qt.nokia.com/secure/Dashboard.jspa">Qt Bug Tracker</a>.</p>
576
<p><textarea id="feedbox" name="feedText" rows="5" cols="40"></textarea></p>
577
<p><input id="feedsubmit" class="feedclose" type="submit" name="feedback" /></p>