|
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 |
| - <string>Form</string> |
| 14 | + <string>Number Input</string> |
15 | 15 | </property>
|
16 | 16 | <layout class="QGridLayout" name="gridLayout">
|
17 | 17 | <item row="4" column="1">
|
|
21 | 21 | </property>
|
22 | 22 | </widget>
|
23 | 23 | </item>
|
24 |
| - <item row="7" column="2"> |
| 24 | + <item row="9" column="2"> |
| 25 | + <widget class="QPushButton" name="dash_pb"> |
| 26 | + <property name="text"> |
| 27 | + <string>-</string> |
| 28 | + </property> |
| 29 | + </widget> |
| 30 | + </item> |
| 31 | + <item row="8" column="2"> |
25 | 32 | <widget class="QPushButton" name="num_pb_3">
|
26 | 33 | <property name="text">
|
27 | 34 | <string>3</string>
|
28 | 35 | </property>
|
29 | 36 | </widget>
|
30 | 37 | </item>
|
31 |
| - <item row="5" column="2"> |
| 38 | + <item row="6" column="2"> |
32 | 39 | <widget class="QPushButton" name="num_pb_6">
|
33 | 40 | <property name="text">
|
34 | 41 | <string>6</string>
|
35 | 42 | </property>
|
36 | 43 | </widget>
|
37 | 44 | </item>
|
38 | 45 | <item row="0" column="0" colspan="3">
|
39 |
| - <widget class="QLabel" name="label"> |
| 46 | + <widget class="QLabel" name="numbers_lb"> |
| 47 | + <property name="font"> |
| 48 | + <font> |
| 49 | + <family>FreeMono</family> |
| 50 | + <pointsize>14</pointsize> |
| 51 | + <weight>75</weight> |
| 52 | + <bold>true</bold> |
| 53 | + </font> |
| 54 | + </property> |
40 | 55 | <property name="frameShape">
|
41 | 56 | <enum>QFrame::Box</enum>
|
42 | 57 | </property>
|
43 | 58 | <property name="text">
|
44 |
| - <string>TextLabel</string> |
| 59 | + <string/> |
45 | 60 | </property>
|
46 | 61 | <property name="alignment">
|
47 | 62 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
48 | 63 | </property>
|
49 | 64 | </widget>
|
50 | 65 | </item>
|
51 |
| - <item row="7" column="1"> |
| 66 | + <item row="10" column="0"> |
| 67 | + <widget class="QPushButton" name="clear_pb"> |
| 68 | + <property name="text"> |
| 69 | + <string>Clear</string> |
| 70 | + </property> |
| 71 | + </widget> |
| 72 | + </item> |
| 73 | + <item row="8" column="1"> |
52 | 74 | <widget class="QPushButton" name="num_pb_2">
|
53 | 75 | <property name="text">
|
54 | 76 | <string>2</string>
|
|
69 | 91 | </property>
|
70 | 92 | </widget>
|
71 | 93 | </item>
|
72 |
| - <item row="8" column="0"> |
| 94 | + <item row="9" column="0"> |
73 | 95 | <widget class="QPushButton" name="num_pb_0">
|
74 | 96 | <property name="text">
|
75 | 97 | <string>0</string>
|
76 | 98 | </property>
|
77 | 99 | </widget>
|
78 | 100 | </item>
|
79 |
| - <item row="5" column="0"> |
80 |
| - <widget class="QPushButton" name="num_pb_5"> |
81 |
| - <property name="text"> |
82 |
| - <string>4</string> |
83 |
| - </property> |
84 |
| - </widget> |
85 |
| - </item> |
86 |
| - <item row="5" column="1"> |
87 |
| - <widget class="QPushButton" name="num_pb_4"> |
88 |
| - <property name="text"> |
89 |
| - <string>5</string> |
| 101 | + <item row="10" column="1" colspan="2"> |
| 102 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 103 | + <property name="standardButtons"> |
| 104 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> |
90 | 105 | </property>
|
91 | 106 | </widget>
|
92 | 107 | </item>
|
93 |
| - <item row="7" column="0"> |
| 108 | + <item row="8" column="0"> |
94 | 109 | <widget class="QPushButton" name="num_pb_1">
|
95 | 110 | <property name="text">
|
96 | 111 | <string>1</string>
|
97 | 112 | </property>
|
98 | 113 | </widget>
|
99 | 114 | </item>
|
100 |
| - <item row="8" column="2"> |
101 |
| - <widget class="QPushButton" name="pushButton"> |
102 |
| - <property name="text"> |
103 |
| - <string>-</string> |
104 |
| - </property> |
105 |
| - </widget> |
106 |
| - </item> |
107 |
| - <item row="8" column="1"> |
108 |
| - <widget class="QPushButton" name="pushButton_2"> |
| 115 | + <item row="9" column="1"> |
| 116 | + <widget class="QPushButton" name="dot_pb"> |
109 | 117 | <property name="text">
|
110 | 118 | <string>.</string>
|
111 | 119 | </property>
|
112 | 120 | </widget>
|
113 | 121 | </item>
|
114 |
| - <item row="9" column="0"> |
115 |
| - <widget class="QPushButton" name="pushButton_4"> |
| 122 | + <item row="6" column="0"> |
| 123 | + <widget class="QPushButton" name="num_pb_4"> |
116 | 124 | <property name="text">
|
117 |
| - <string>Send</string> |
| 125 | + <string>4</string> |
118 | 126 | </property>
|
119 | 127 | </widget>
|
120 | 128 | </item>
|
121 |
| - <item row="9" column="2"> |
122 |
| - <widget class="QPushButton" name="pushButton_3"> |
| 129 | + <item row="6" column="1"> |
| 130 | + <widget class="QPushButton" name="num_pb_5"> |
123 | 131 | <property name="text">
|
124 |
| - <string>Clear</string> |
| 132 | + <string>5</string> |
125 | 133 | </property>
|
126 | 134 | </widget>
|
127 | 135 | </item>
|
|
0 commit comments