1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>WIFIWidget</class> 4 <widget class="QWidget" name="WIFIWidget"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>612</width> 10 <height>283</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Form</string> 15 </property> 16 <property name="styleSheet"> 17 <string notr="true"/> 18 </property> 19 <layout class="QGridLayout" name="gridLayout_2"> 20 <property name="leftMargin"> 21 <number>0</number> 22 </property> 23 <property name="topMargin"> 24 <number>0</number> 25 </property> 26 <property name="rightMargin"> 27 <number>0</number> 28 </property> 29 <property name="bottomMargin"> 30 <number>0</number> 31 </property> 32 <property name="spacing"> 33 <number>0</number> 34 </property> 35 <item row="0" column="0"> 36 <widget class="QStackedWidget" name="stackedWidget"> 37 <property name="sizePolicy"> 38 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 39 <horstretch>0</horstretch> 40 <verstretch>0</verstretch> 41 </sizepolicy> 42 </property> 43 <property name="minimumSize"> 44 <size> 45 <width>300</width> 46 <height>0</height> 47 </size> 48 </property> 49 <property name="currentIndex"> 50 <number>0</number> 51 </property> 52 <widget class="QWidget" name="page"> 53 <layout class="QHBoxLayout" name="horizontalLayout"> 54 <item> 55 <widget class="QListView" name="listViewWpa"/> 56 </item> 57 <item> 58 <widget class="QFrame" name="frame_2"> 59 <property name="minimumSize"> 60 <size> 61 <width>300</width> 62 <height>0</height> 63 </size> 64 </property> 65 <property name="maximumSize"> 66 <size> 67 <width>300</width> 68 <height>16777215</height> 69 </size> 70 </property> 71 <property name="frameShape"> 72 <enum>QFrame::StyledPanel</enum> 73 </property> 74 <property name="frameShadow"> 75 <enum>QFrame::Raised</enum> 76 </property> 77 <layout class="QVBoxLayout" name="verticalLayout_3"> 78 <item> 79 <layout class="QVBoxLayout" name="verticalLayout"> 80 <item> 81 <widget class="SwitchWidget" name="staBtn" native="true"> 82 <property name="sizePolicy"> 83 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 84 <horstretch>0</horstretch> 85 <verstretch>0</verstretch> 86 </sizepolicy> 87 </property> 88 <property name="minimumSize"> 89 <size> 90 <width>120</width> 91 <height>35</height> 92 </size> 93 </property> 94 </widget> 95 </item> 96 <item> 97 <widget class="QLineEdit" name="wifiNameEdt"> 98 <property name="sizePolicy"> 99 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 100 <horstretch>0</horstretch> 101 <verstretch>0</verstretch> 102 </sizepolicy> 103 </property> 104 <property name="minimumSize"> 105 <size> 106 <width>0</width> 107 <height>0</height> 108 </size> 109 </property> 110 <property name="readOnly"> 111 <bool>true</bool> 112 </property> 113 <property name="placeholderText"> 114 <string>WIFi Name</string> 115 </property> 116 </widget> 117 </item> 118 <item> 119 <widget class="QLineEdit" name="WifiPasswordEdt"> 120 <property name="sizePolicy"> 121 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 122 <horstretch>0</horstretch> 123 <verstretch>0</verstretch> 124 </sizepolicy> 125 </property> 126 <property name="placeholderText"> 127 <string>WIFI passworkd</string> 128 </property> 129 </widget> 130 </item> 131 <item> 132 <widget class="QPushButton" name="connect"> 133 <property name="sizePolicy"> 134 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 135 <horstretch>0</horstretch> 136 <verstretch>0</verstretch> 137 </sizepolicy> 138 </property> 139 <property name="minimumSize"> 140 <size> 141 <width>0</width> 142 <height>0</height> 143 </size> 144 </property> 145 <property name="text"> 146 <string>Connect</string> 147 </property> 148 </widget> 149 </item> 150 <item> 151 <spacer name="verticalSpacer_3"> 152 <property name="orientation"> 153 <enum>Qt::Vertical</enum> 154 </property> 155 <property name="sizeHint" stdset="0"> 156 <size> 157 <width>20</width> 158 <height>40</height> 159 </size> 160 </property> 161 </spacer> 162 </item> 163 <item> 164 <widget class="QLabel" name="statusLbl"> 165 <property name="text"> 166 <string/> 167 </property> 168 </widget> 169 </item> 170 <item> 171 <spacer name="verticalSpacer"> 172 <property name="orientation"> 173 <enum>Qt::Vertical</enum> 174 </property> 175 <property name="sizeHint" stdset="0"> 176 <size> 177 <width>20</width> 178 <height>40</height> 179 </size> 180 </property> 181 </spacer> 182 </item> 183 <item> 184 <widget class="QCommandLinkButton" name="commandLinkButton_ap"> 185 <property name="text"> 186 <string>GO AP</string> 187 </property> 188 </widget> 189 </item> 190 <item> 191 <widget class="QPushButton" name="openTestBtn"> 192 <property name="text"> 193 <string>Test</string> 194 </property> 195 </widget> 196 </item> 197 </layout> 198 </item> 199 </layout> 200 </widget> 201 </item> 202 </layout> 203 </widget> 204 <widget class="QWidget" name="page_2"> 205 <property name="sizePolicy"> 206 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 207 <horstretch>0</horstretch> 208 <verstretch>0</verstretch> 209 </sizepolicy> 210 </property> 211 <layout class="QGridLayout" name="gridLayout"> 212 <item row="0" column="1"> 213 <widget class="QFrame" name="frame"> 214 <property name="minimumSize"> 215 <size> 216 <width>300</width> 217 <height>0</height> 218 </size> 219 </property> 220 <property name="maximumSize"> 221 <size> 222 <width>300</width> 223 <height>16777215</height> 224 </size> 225 </property> 226 <property name="frameShape"> 227 <enum>QFrame::StyledPanel</enum> 228 </property> 229 <property name="frameShadow"> 230 <enum>QFrame::Raised</enum> 231 </property> 232 <layout class="QVBoxLayout" name="verticalLayout_4"> 233 <item> 234 <layout class="QVBoxLayout" name="verticalLayout_2"> 235 <item> 236 <widget class="SwitchWidget" name="apBtn" native="true"> 237 <property name="sizePolicy"> 238 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 239 <horstretch>0</horstretch> 240 <verstretch>0</verstretch> 241 </sizepolicy> 242 </property> 243 <property name="minimumSize"> 244 <size> 245 <width>120</width> 246 <height>35</height> 247 </size> 248 </property> 249 </widget> 250 </item> 251 <item> 252 <widget class="QLineEdit" name="wifiAPNameEdt"> 253 <property name="sizePolicy"> 254 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 255 <horstretch>0</horstretch> 256 <verstretch>0</verstretch> 257 </sizepolicy> 258 </property> 259 </widget> 260 </item> 261 <item> 262 <widget class="QLineEdit" name="wifiAPPasswordEdt"> 263 <property name="sizePolicy"> 264 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 265 <horstretch>0</horstretch> 266 <verstretch>0</verstretch> 267 </sizepolicy> 268 </property> 269 </widget> 270 </item> 271 <item> 272 <spacer name="verticalSpacer_2"> 273 <property name="orientation"> 274 <enum>Qt::Vertical</enum> 275 </property> 276 <property name="sizeHint" stdset="0"> 277 <size> 278 <width>20</width> 279 <height>40</height> 280 </size> 281 </property> 282 </spacer> 283 </item> 284 <item> 285 <widget class="QCommandLinkButton" name="commandLinkButton_sta"> 286 <property name="text"> 287 <string>GO STA</string> 288 </property> 289 </widget> 290 </item> 291 </layout> 292 </item> 293 </layout> 294 </widget> 295 </item> 296 <item row="0" column="0"> 297 <widget class="QListView" name="listViewHost"/> 298 </item> 299 </layout> 300 </widget> 301 <widget class="QWidget" name="page_3"> 302 <layout class="QHBoxLayout" name="horizontalLayout_2"> 303 <item> 304 <widget class="QTextBrowser" name="textBrowser"/> 305 </item> 306 <item> 307 <widget class="QFrame" name="frame_3"> 308 <property name="minimumSize"> 309 <size> 310 <width>300</width> 311 <height>0</height> 312 </size> 313 </property> 314 <property name="maximumSize"> 315 <size> 316 <width>300</width> 317 <height>16777215</height> 318 </size> 319 </property> 320 <property name="frameShape"> 321 <enum>QFrame::StyledPanel</enum> 322 </property> 323 <property name="frameShadow"> 324 <enum>QFrame::Raised</enum> 325 </property> 326 <layout class="QVBoxLayout" name="verticalLayout_5"> 327 <property name="spacing"> 328 <number>15</number> 329 </property> 330 <item> 331 <widget class="QLineEdit" name="addressEdt"> 332 <property name="placeholderText"> 333 <string>www.forlinx.com</string> 334 </property> 335 </widget> 336 </item> 337 <item> 338 <widget class="QPushButton" name="pingBtn"> 339 <property name="text"> 340 <string>Ping</string> 341 </property> 342 </widget> 343 </item> 344 <item> 345 <widget class="QPushButton" name="returnBtn"> 346 <property name="text"> 347 <string>Return</string> 348 </property> 349 </widget> 350 </item> 351 <item> 352 <spacer name="verticalSpacer_4"> 353 <property name="orientation"> 354 <enum>Qt::Vertical</enum> 355 </property> 356 <property name="sizeHint" stdset="0"> 357 <size> 358 <width>20</width> 359 <height>40</height> 360 </size> 361 </property> 362 </spacer> 363 </item> 364 </layout> 365 </widget> 366 </item> 367 </layout> 368 </widget> 369 </widget> 370 </item> 371 </layout> 372 </widget> 373 <customwidgets> 374 <customwidget> 375 <class>SwitchWidget</class> 376 <extends>QWidget</extends> 377 <header location="global">switchwidget.h</header> 378 <container>1</container> 379 </customwidget> 380 </customwidgets> 381 <resources/> 382 <connections/> 383</ui> 384