|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>400</width> |
10 | | - <height>252</height> |
| 9 | + <width>399</width> |
| 10 | + <height>261</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
14 | 14 | <string>About MQTT Utility</string> |
15 | 15 | </property> |
16 | 16 | <layout class="QVBoxLayout" name="verticalLayout"> |
17 | 17 | <item> |
18 | | - <widget class="QWidget" name="widget_2" native="true"> |
| 18 | + <widget class="QWidget" name="logo" native="true"> |
19 | 19 | <layout class="QGridLayout" name="gridLayout_2"> |
| 20 | + <item row="1" column="6"> |
| 21 | + <spacer name="nameRightSpacer"> |
| 22 | + <property name="orientation"> |
| 23 | + <enum>Qt::Horizontal</enum> |
| 24 | + </property> |
| 25 | + <property name="sizeHint" stdset="0"> |
| 26 | + <size> |
| 27 | + <width>40</width> |
| 28 | + <height>20</height> |
| 29 | + </size> |
| 30 | + </property> |
| 31 | + </spacer> |
| 32 | + </item> |
20 | 33 | <item row="0" column="1" rowspan="3"> |
21 | 34 | <widget class="QLabel" name="label"> |
22 | 35 | <property name="maximumSize"> |
|
42 | 55 | </property> |
43 | 56 | </widget> |
44 | 57 | </item> |
45 | | - <item row="0" column="2" rowspan="3" colspan="2"> |
46 | | - <spacer name="horizontalSpacer_4"> |
| 58 | + <item row="2" column="5"> |
| 59 | + <widget class="QLabel" name="version"> |
| 60 | + <property name="text"> |
| 61 | + <string>Beta v1.0.1</string> |
| 62 | + </property> |
| 63 | + <property name="alignment"> |
| 64 | + <set>Qt::AlignCenter</set> |
| 65 | + </property> |
| 66 | + </widget> |
| 67 | + </item> |
| 68 | + <item row="1" column="5"> |
| 69 | + <widget class="QLabel" name="name"> |
| 70 | + <property name="styleSheet"> |
| 71 | + <string notr="true">font-family:Microsoft YaHei;font-size:30px;</string> |
| 72 | + </property> |
| 73 | + <property name="text"> |
| 74 | + <string>MqttClient</string> |
| 75 | + </property> |
| 76 | + <property name="alignment"> |
| 77 | + <set>Qt::AlignCenter</set> |
| 78 | + </property> |
| 79 | + </widget> |
| 80 | + </item> |
| 81 | + <item row="0" column="0" rowspan="3"> |
| 82 | + <spacer name="logoLeftSpacer"> |
47 | 83 | <property name="orientation"> |
48 | 84 | <enum>Qt::Horizontal</enum> |
49 | 85 | </property> |
|
55 | 91 | </property> |
56 | 92 | </spacer> |
57 | 93 | </item> |
58 | | - <item row="0" column="0" rowspan="3"> |
59 | | - <spacer name="horizontalSpacer_2"> |
| 94 | + <item row="2" column="6"> |
| 95 | + <spacer name="versionRightSpacer"> |
60 | 96 | <property name="orientation"> |
61 | 97 | <enum>Qt::Horizontal</enum> |
62 | 98 | </property> |
|
68 | 104 | </property> |
69 | 105 | </spacer> |
70 | 106 | </item> |
71 | | - <item row="1" column="5"> |
72 | | - <widget class="QLabel" name="label_3"> |
73 | | - <property name="styleSheet"> |
74 | | - <string notr="true">font-family:Microsoft YaHei;font-size:30px;</string> |
75 | | - </property> |
76 | | - <property name="text"> |
77 | | - <string>MqttClient</string> |
78 | | - </property> |
79 | | - <property name="alignment"> |
80 | | - <set>Qt::AlignCenter</set> |
81 | | - </property> |
82 | | - </widget> |
83 | | - </item> |
84 | | - <item row="1" column="6"> |
85 | | - <spacer name="horizontalSpacer_3"> |
| 107 | + <item row="1" column="2" colspan="3"> |
| 108 | + <spacer name="logoRightSpacer"> |
86 | 109 | <property name="orientation"> |
87 | 110 | <enum>Qt::Horizontal</enum> |
88 | 111 | </property> |
|
94 | 117 | </property> |
95 | 118 | </spacer> |
96 | 119 | </item> |
97 | | - <item row="2" column="3" colspan="4"> |
98 | | - <widget class="QLabel" name="label_2"> |
99 | | - <property name="text"> |
100 | | - <string>Beta v1.0.1</string> |
| 120 | + <item row="2" column="2" colspan="3"> |
| 121 | + <spacer name="versionLeftSpacer"> |
| 122 | + <property name="orientation"> |
| 123 | + <enum>Qt::Horizontal</enum> |
101 | 124 | </property> |
102 | | - <property name="alignment"> |
103 | | - <set>Qt::AlignCenter</set> |
| 125 | + <property name="sizeHint" stdset="0"> |
| 126 | + <size> |
| 127 | + <width>40</width> |
| 128 | + <height>20</height> |
| 129 | + </size> |
104 | 130 | </property> |
105 | | - </widget> |
| 131 | + </spacer> |
106 | 132 | </item> |
107 | 133 | </layout> |
108 | 134 | </widget> |
109 | 135 | </item> |
110 | 136 | <item> |
111 | | - <widget class="QWidget" name="widget" native="true"> |
| 137 | + <widget class="QWidget" name="link" native="true"> |
112 | 138 | <property name="maximumSize"> |
113 | 139 | <size> |
114 | 140 | <width>16777215</width> |
115 | | - <height>100</height> |
| 141 | + <height>130</height> |
116 | 142 | </size> |
117 | 143 | </property> |
118 | 144 | <property name="styleSheet"> |
119 | 145 | <string notr="true">QWidget#widget{border-top:1px solid}</string> |
120 | 146 | </property> |
121 | 147 | <layout class="QGridLayout" name="gridLayout"> |
122 | | - <item row="3" column="1"> |
123 | | - <widget class="QPushButton" name="license"> |
| 148 | + <item row="2" column="1" colspan="3"> |
| 149 | + <widget class="QLabel" name="license"> |
124 | 150 | <property name="text"> |
125 | | - <string>License</string> |
| 151 | + <string><a href = GNU General Public License v3.0 >GNU General Public License v3.0</a></string> |
126 | 152 | </property> |
127 | 153 | </widget> |
128 | 154 | </item> |
129 | | - <item row="3" column="2"> |
130 | | - <spacer name="horizontalSpacer"> |
| 155 | + <item row="1" column="1" colspan="3"> |
| 156 | + <widget class="QLabel" name="github"> |
| 157 | + <property name="text"> |
| 158 | + <string><a href = https://github.com/yuaners/mqtt-client >https://github.com/yuaners/mqtt-client</a></string> |
| 159 | + </property> |
| 160 | + </widget> |
| 161 | + </item> |
| 162 | + <item row="1" column="0"> |
| 163 | + <widget class="QLabel" name="githubTitle"> |
| 164 | + <property name="text"> |
| 165 | + <string>github:</string> |
| 166 | + </property> |
| 167 | + </widget> |
| 168 | + </item> |
| 169 | + <item row="0" column="4"> |
| 170 | + <spacer name="emailSpacer"> |
131 | 171 | <property name="orientation"> |
132 | 172 | <enum>Qt::Horizontal</enum> |
133 | 173 | </property> |
134 | 174 | <property name="sizeHint" stdset="0"> |
135 | 175 | <size> |
136 | | - <width>164</width> |
| 176 | + <width>40</width> |
137 | 177 | <height>20</height> |
138 | 178 | </size> |
139 | 179 | </property> |
140 | 180 | </spacer> |
141 | 181 | </item> |
142 | | - <item row="0" column="1" colspan="4"> |
143 | | - <widget class="QLabel" name="github"> |
| 182 | + <item row="4" column="4"> |
| 183 | + <widget class="QPushButton" name="okButton"> |
144 | 184 | <property name="text"> |
145 | | - <string><a href = https://github.com/yuaners/mqtt-client >https://github.com/yuaners/mqtt-client</a></string> |
| 185 | + <string>OK</string> |
146 | 186 | </property> |
147 | 187 | </widget> |
148 | 188 | </item> |
149 | | - <item row="3" column="3"> |
150 | | - <widget class="QPushButton" name="okButton"> |
| 189 | + <item row="2" column="0"> |
| 190 | + <widget class="QLabel" name="licenseTitle"> |
151 | 191 | <property name="text"> |
152 | | - <string>OK</string> |
| 192 | + <string>license:</string> |
153 | 193 | </property> |
154 | 194 | </widget> |
155 | 195 | </item> |
156 | | - <item row="3" column="4"> |
157 | | - <spacer name="horizontalSpacer_6"> |
| 196 | + <item row="0" column="1" colspan="2"> |
| 197 | + <widget class="QLabel" name="email"> |
| 198 | + <property name="text"> |
| 199 | + <string><a href = zhangzhongyuan132@163.com >zhangzhongyuan132@163.com</a></string> |
| 200 | + </property> |
| 201 | + </widget> |
| 202 | + </item> |
| 203 | + <item row="2" column="4"> |
| 204 | + <spacer name="licenseSpacer"> |
158 | 205 | <property name="orientation"> |
159 | 206 | <enum>Qt::Horizontal</enum> |
160 | 207 | </property> |
|
166 | 213 | </property> |
167 | 214 | </spacer> |
168 | 215 | </item> |
169 | | - <item row="2" column="2"> |
170 | | - <spacer name="verticalSpacer"> |
| 216 | + <item row="4" column="0" colspan="4"> |
| 217 | + <spacer name="okLeftSpacer"> |
171 | 218 | <property name="orientation"> |
172 | | - <enum>Qt::Vertical</enum> |
| 219 | + <enum>Qt::Horizontal</enum> |
173 | 220 | </property> |
174 | 221 | <property name="sizeHint" stdset="0"> |
175 | 222 | <size> |
176 | | - <width>20</width> |
177 | | - <height>50</height> |
| 223 | + <width>164</width> |
| 224 | + <height>20</height> |
178 | 225 | </size> |
179 | 226 | </property> |
180 | 227 | </spacer> |
181 | 228 | </item> |
182 | 229 | <item row="0" column="0"> |
183 | | - <widget class="QLabel" name="label_4"> |
| 230 | + <widget class="QLabel" name="emailTitle"> |
184 | 231 | <property name="text"> |
185 | | - <string>github:</string> |
| 232 | + <string>email:</string> |
186 | 233 | </property> |
187 | 234 | </widget> |
188 | 235 | </item> |
189 | | - <item row="3" column="0"> |
190 | | - <spacer name="horizontalSpacer_5"> |
| 236 | + <item row="1" column="4"> |
| 237 | + <spacer name="githubSpacer"> |
191 | 238 | <property name="orientation"> |
192 | 239 | <enum>Qt::Horizontal</enum> |
193 | 240 | </property> |
|
199 | 246 | </property> |
200 | 247 | </spacer> |
201 | 248 | </item> |
202 | | - <item row="1" column="0"> |
203 | | - <widget class="QLabel" name="label_6"> |
204 | | - <property name="text"> |
205 | | - <string>license:</string> |
206 | | - </property> |
207 | | - </widget> |
208 | | - </item> |
209 | | - <item row="1" column="1" colspan="3"> |
210 | | - <widget class="QLabel" name="label_7"> |
211 | | - <property name="text"> |
212 | | - <string>GNU General Public License v3.0</string> |
213 | | - </property> |
214 | | - </widget> |
215 | | - </item> |
216 | 249 | </layout> |
217 | 250 | </widget> |
218 | 251 | </item> |
|
0 commit comments