wpagui.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <ui version="4.0" >
  2. <class>WpaGui</class>
  3. <widget class="QMainWindow" name="WpaGui" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>345</width>
  9. <height>330</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>wpa_gui</string>
  14. </property>
  15. <property name="windowIcon" >
  16. <iconset resource="icons.qrc" >
  17. <normaloff>:/icons/wpa_gui.svg</normaloff>:/icons/wpa_gui.svg</iconset>
  18. </property>
  19. <widget class="QWidget" name="widget" >
  20. <layout class="QGridLayout" >
  21. <item row="0" column="0" >
  22. <widget class="QLabel" name="adapterLabel" >
  23. <property name="text" >
  24. <string>Adapter:</string>
  25. </property>
  26. </widget>
  27. </item>
  28. <item row="0" column="1" >
  29. <widget class="QComboBox" name="adapterSelect" />
  30. </item>
  31. <item row="1" column="0" >
  32. <widget class="QLabel" name="networkLabel" >
  33. <property name="text" >
  34. <string>Network:</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item row="1" column="1" >
  39. <widget class="QComboBox" name="networkSelect" />
  40. </item>
  41. <item row="2" column="0" colspan="2" >
  42. <widget class="QTabWidget" name="wpaguiTab" >
  43. <property name="currentIndex" >
  44. <number>0</number>
  45. </property>
  46. <widget class="QWidget" name="statusTab" >
  47. <attribute name="title" >
  48. <string>Current Status</string>
  49. </attribute>
  50. <layout class="QGridLayout" >
  51. <item row="0" column="0" colspan="5" >
  52. <widget class="QFrame" name="frame3" >
  53. <property name="frameShape" >
  54. <enum>QFrame::NoFrame</enum>
  55. </property>
  56. <property name="frameShadow" >
  57. <enum>QFrame::Plain</enum>
  58. </property>
  59. <layout class="QGridLayout" >
  60. <item row="0" column="0" >
  61. <widget class="QLabel" name="statusLabel" >
  62. <property name="text" >
  63. <string>Status:</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item row="1" column="0" >
  68. <widget class="QLabel" name="lastMessageLabel" >
  69. <property name="text" >
  70. <string>Last message:</string>
  71. </property>
  72. </widget>
  73. </item>
  74. <item row="2" column="0" >
  75. <widget class="QLabel" name="authenticationLabel" >
  76. <property name="text" >
  77. <string>Authentication:</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="3" column="0" >
  82. <widget class="QLabel" name="encryptionLabel" >
  83. <property name="text" >
  84. <string>Encryption:</string>
  85. </property>
  86. </widget>
  87. </item>
  88. <item row="4" column="0" >
  89. <widget class="QLabel" name="ssidLabel" >
  90. <property name="text" >
  91. <string>SSID:</string>
  92. </property>
  93. </widget>
  94. </item>
  95. <item row="5" column="0" >
  96. <widget class="QLabel" name="bssidLabel" >
  97. <property name="text" >
  98. <string>BSSID:</string>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="6" column="0" >
  103. <widget class="QLabel" name="ipAddressLabel" >
  104. <property name="text" >
  105. <string>IP address:</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="0" column="1" >
  110. <widget class="QLabel" name="textStatus" >
  111. <property name="text" >
  112. <string/>
  113. </property>
  114. </widget>
  115. </item>
  116. <item row="1" column="1" colspan="3" >
  117. <widget class="QLabel" name="textLastMessage" >
  118. <property name="text" >
  119. <string/>
  120. </property>
  121. </widget>
  122. </item>
  123. <item row="2" column="1" >
  124. <widget class="QLabel" name="textAuthentication" >
  125. <property name="text" >
  126. <string/>
  127. </property>
  128. </widget>
  129. </item>
  130. <item row="3" column="1" >
  131. <widget class="QLabel" name="textEncryption" >
  132. <property name="text" >
  133. <string/>
  134. </property>
  135. </widget>
  136. </item>
  137. <item row="4" column="1" >
  138. <widget class="QLabel" name="textSsid" >
  139. <property name="text" >
  140. <string/>
  141. </property>
  142. </widget>
  143. </item>
  144. <item row="5" column="1" >
  145. <widget class="QLabel" name="textBssid" >
  146. <property name="text" >
  147. <string/>
  148. </property>
  149. </widget>
  150. </item>
  151. <item row="6" column="1" >
  152. <widget class="QLabel" name="textIpAddress" >
  153. <property name="text" >
  154. <string/>
  155. </property>
  156. </widget>
  157. </item>
  158. </layout>
  159. </widget>
  160. </item>
  161. <item row="1" column="0" >
  162. <spacer>
  163. <property name="orientation" >
  164. <enum>Qt::Vertical</enum>
  165. </property>
  166. <property name="sizeHint" >
  167. <size>
  168. <width>20</width>
  169. <height>40</height>
  170. </size>
  171. </property>
  172. </spacer>
  173. </item>
  174. <item row="1" column="1" >
  175. <widget class="QPushButton" name="connectButton" >
  176. <property name="text" >
  177. <string>Connect</string>
  178. </property>
  179. </widget>
  180. </item>
  181. <item row="1" column="2" >
  182. <widget class="QPushButton" name="disconnectButton" >
  183. <property name="text" >
  184. <string>Disconnect</string>
  185. </property>
  186. </widget>
  187. </item>
  188. <item row="1" column="3" >
  189. <widget class="QPushButton" name="scanButton" >
  190. <property name="text" >
  191. <string>Scan</string>
  192. </property>
  193. </widget>
  194. </item>
  195. <item row="1" column="4" >
  196. <spacer>
  197. <property name="orientation" >
  198. <enum>Qt::Vertical</enum>
  199. </property>
  200. <property name="sizeHint" >
  201. <size>
  202. <width>20</width>
  203. <height>40</height>
  204. </size>
  205. </property>
  206. </spacer>
  207. </item>
  208. </layout>
  209. </widget>
  210. <widget class="QWidget" name="networkconfigTab" >
  211. <attribute name="title" >
  212. <string>Manage Networks</string>
  213. </attribute>
  214. <layout class="QGridLayout" >
  215. <item row="0" column="0" colspan="5" >
  216. <widget class="QListWidget" name="networkList" >
  217. <property name="selectionRectVisible" >
  218. <bool>true</bool>
  219. </property>
  220. </widget>
  221. </item>
  222. <item rowspan="2" row="1" column="0" >
  223. <spacer>
  224. <property name="orientation" >
  225. <enum>Qt::Vertical</enum>
  226. </property>
  227. <property name="sizeHint" >
  228. <size>
  229. <width>20</width>
  230. <height>61</height>
  231. </size>
  232. </property>
  233. </spacer>
  234. </item>
  235. <item row="1" column="1" >
  236. <widget class="QRadioButton" name="enableRadioButton" >
  237. <property name="text" >
  238. <string>Enabled</string>
  239. </property>
  240. </widget>
  241. </item>
  242. <item row="1" column="2" >
  243. <widget class="QPushButton" name="editNetworkButton" >
  244. <property name="text" >
  245. <string>Edit</string>
  246. </property>
  247. </widget>
  248. </item>
  249. <item row="1" column="3" >
  250. <widget class="QPushButton" name="removeNetworkButton" >
  251. <property name="text" >
  252. <string>Remove</string>
  253. </property>
  254. </widget>
  255. </item>
  256. <item rowspan="2" row="1" column="4" >
  257. <spacer>
  258. <property name="orientation" >
  259. <enum>Qt::Vertical</enum>
  260. </property>
  261. <property name="sizeHint" >
  262. <size>
  263. <width>20</width>
  264. <height>61</height>
  265. </size>
  266. </property>
  267. </spacer>
  268. </item>
  269. <item row="2" column="1" >
  270. <widget class="QRadioButton" name="disableRadioButton" >
  271. <property name="text" >
  272. <string>Disabled</string>
  273. </property>
  274. </widget>
  275. </item>
  276. <item row="2" column="2" >
  277. <widget class="QPushButton" name="addNetworkButton" >
  278. <property name="text" >
  279. <string>Add</string>
  280. </property>
  281. </widget>
  282. </item>
  283. <item row="2" column="3" >
  284. <widget class="QPushButton" name="scanNetworkButton" >
  285. <property name="text" >
  286. <string>Scan</string>
  287. </property>
  288. </widget>
  289. </item>
  290. </layout>
  291. </widget>
  292. <widget class="QWidget" name="wpsTab" >
  293. <attribute name="title" >
  294. <string>WPS</string>
  295. </attribute>
  296. <layout class="QGridLayout" name="wpsGridLayout" >
  297. <item row="0" column="0" >
  298. <widget class="QLabel" name="label_2" >
  299. <property name="text" >
  300. <string>Status:</string>
  301. </property>
  302. </widget>
  303. </item>
  304. <item row="0" column="1" colspan="3" >
  305. <widget class="QLabel" name="wpsStatusText" >
  306. <property name="text" >
  307. <string/>
  308. </property>
  309. </widget>
  310. </item>
  311. <item row="1" column="0" colspan="2" >
  312. <widget class="QPushButton" name="wpsPbcButton" >
  313. <property name="text" >
  314. <string>PBC - push button</string>
  315. </property>
  316. </widget>
  317. </item>
  318. <item row="2" column="0" colspan="2" >
  319. <widget class="QPushButton" name="wpsPinButton" >
  320. <property name="text" >
  321. <string>Generate PIN</string>
  322. </property>
  323. </widget>
  324. </item>
  325. <item row="2" column="2" >
  326. <widget class="QLabel" name="label" >
  327. <property name="text" >
  328. <string>PIN:</string>
  329. </property>
  330. </widget>
  331. </item>
  332. <item row="2" column="3" >
  333. <widget class="QLineEdit" name="wpsPinEdit" >
  334. <property name="enabled" >
  335. <bool>false</bool>
  336. </property>
  337. <property name="readOnly" >
  338. <bool>true</bool>
  339. </property>
  340. </widget>
  341. </item>
  342. <item row="3" column="0" colspan="2" >
  343. <widget class="QPushButton" name="wpsApPinButton" >
  344. <property name="enabled" >
  345. <bool>false</bool>
  346. </property>
  347. <property name="text" >
  348. <string>Use AP PIN</string>
  349. </property>
  350. </widget>
  351. </item>
  352. <item row="3" column="2" >
  353. <widget class="QLabel" name="label_3" >
  354. <property name="text" >
  355. <string>AP PIN:</string>
  356. </property>
  357. </widget>
  358. </item>
  359. <item row="3" column="3" >
  360. <widget class="QLineEdit" name="wpsApPinEdit" >
  361. <property name="enabled" >
  362. <bool>false</bool>
  363. </property>
  364. </widget>
  365. </item>
  366. <item row="4" column="0" colspan="4" >
  367. <widget class="QTextEdit" name="wpsInstructions" >
  368. <property name="readOnly" >
  369. <bool>true</bool>
  370. </property>
  371. </widget>
  372. </item>
  373. </layout>
  374. </widget>
  375. </widget>
  376. </item>
  377. </layout>
  378. </widget>
  379. <widget class="QMenuBar" name="MenuBar" >
  380. <property name="geometry" >
  381. <rect>
  382. <x>0</x>
  383. <y>0</y>
  384. <width>345</width>
  385. <height>24</height>
  386. </rect>
  387. </property>
  388. <widget class="QMenu" name="fileMenu" >
  389. <property name="title" >
  390. <string>&amp;File</string>
  391. </property>
  392. <addaction name="fileEventHistoryAction" />
  393. <addaction name="fileSaveConfigAction" />
  394. <addaction name="actionWPS" />
  395. <addaction name="actionPeers" />
  396. <addaction name="separator" />
  397. <addaction name="fileExitAction" />
  398. </widget>
  399. <widget class="QMenu" name="networkMenu" >
  400. <property name="title" >
  401. <string>&amp;Network</string>
  402. </property>
  403. <addaction name="networkAddAction" />
  404. <addaction name="networkEditAction" />
  405. <addaction name="networkRemoveAction" />
  406. <addaction name="separator" />
  407. <addaction name="networkEnableAllAction" />
  408. <addaction name="networkDisableAllAction" />
  409. <addaction name="networkRemoveAllAction" />
  410. </widget>
  411. <widget class="QMenu" name="helpMenu" >
  412. <property name="title" >
  413. <string>&amp;Help</string>
  414. </property>
  415. <addaction name="helpContentsAction" />
  416. <addaction name="helpIndexAction" />
  417. <addaction name="separator" />
  418. <addaction name="helpAboutAction" />
  419. </widget>
  420. <addaction name="fileMenu" />
  421. <addaction name="networkMenu" />
  422. <addaction name="helpMenu" />
  423. </widget>
  424. <action name="fileEventHistoryAction" >
  425. <property name="text" >
  426. <string>Event &amp;History</string>
  427. </property>
  428. </action>
  429. <action name="fileSaveConfigAction" >
  430. <property name="text" >
  431. <string>&amp;Save Configuration</string>
  432. </property>
  433. <property name="shortcut" >
  434. <string>Ctrl+S</string>
  435. </property>
  436. </action>
  437. <action name="fileExitAction" >
  438. <property name="text" >
  439. <string>E&amp;xit</string>
  440. </property>
  441. <property name="shortcut" >
  442. <string>Ctrl+Q</string>
  443. </property>
  444. </action>
  445. <action name="networkAddAction" >
  446. <property name="text" >
  447. <string>&amp;Add</string>
  448. </property>
  449. </action>
  450. <action name="networkEditAction" >
  451. <property name="text" >
  452. <string>&amp;Edit</string>
  453. </property>
  454. </action>
  455. <action name="networkRemoveAction" >
  456. <property name="text" >
  457. <string>&amp;Remove</string>
  458. </property>
  459. </action>
  460. <action name="networkEnableAllAction" >
  461. <property name="text" >
  462. <string>E&amp;nable All</string>
  463. </property>
  464. </action>
  465. <action name="networkDisableAllAction" >
  466. <property name="text" >
  467. <string>&amp;Disable All</string>
  468. </property>
  469. </action>
  470. <action name="networkRemoveAllAction" >
  471. <property name="text" >
  472. <string>Re&amp;move All</string>
  473. </property>
  474. </action>
  475. <action name="helpContentsAction" >
  476. <property name="enabled" >
  477. <bool>false</bool>
  478. </property>
  479. <property name="text" >
  480. <string>&amp;Contents...</string>
  481. </property>
  482. </action>
  483. <action name="helpIndexAction" >
  484. <property name="enabled" >
  485. <bool>false</bool>
  486. </property>
  487. <property name="text" >
  488. <string>&amp;Index...</string>
  489. </property>
  490. </action>
  491. <action name="helpAboutAction" >
  492. <property name="text" >
  493. <string>&amp;About</string>
  494. </property>
  495. </action>
  496. <action name="actionWPS" >
  497. <property name="enabled" >
  498. <bool>false</bool>
  499. </property>
  500. <property name="text" >
  501. <string>&amp;Wi-Fi Protected Setup</string>
  502. </property>
  503. </action>
  504. <action name="actionPeers" >
  505. <property name="text" >
  506. <string>&amp;Peers</string>
  507. </property>
  508. </action>
  509. </widget>
  510. <layoutdefault spacing="6" margin="11" />
  511. <pixmapfunction></pixmapfunction>
  512. <includes>
  513. <include location="global" >qtimer.h</include>
  514. <include location="global" >qsocketnotifier.h</include>
  515. <include location="local" >wpamsg.h</include>
  516. <include location="local" >eventhistory.h</include>
  517. <include location="local" >scanresults.h</include>
  518. <include location="local" >peers.h</include>
  519. </includes>
  520. <resources>
  521. <include location="icons.qrc" />
  522. </resources>
  523. <connections/>
  524. </ui>