networkwidget.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NetworkWidget</class>
  4. <widget class="QWidget" name="NetworkWidget">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>689</width>
  10. <height>253</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Network</string>
  21. </property>
  22. <property name="class" stdset="0">
  23. <string notr="true">networkListItem</string>
  24. </property>
  25. <layout class="QHBoxLayout">
  26. <property name="spacing">
  27. <number>0</number>
  28. </property>
  29. <property name="leftMargin">
  30. <number>2</number>
  31. </property>
  32. <property name="topMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="rightMargin">
  36. <number>2</number>
  37. </property>
  38. <property name="bottomMargin">
  39. <number>0</number>
  40. </property>
  41. <item>
  42. <widget class="QWidget" name="leftWidget" native="true">
  43. <property name="sizePolicy">
  44. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  45. <horstretch>0</horstretch>
  46. <verstretch>0</verstretch>
  47. </sizepolicy>
  48. </property>
  49. <layout class="QVBoxLayout" name="verticalLayout_2">
  50. <property name="spacing">
  51. <number>2</number>
  52. </property>
  53. <property name="leftMargin">
  54. <number>0</number>
  55. </property>
  56. <property name="topMargin">
  57. <number>0</number>
  58. </property>
  59. <property name="rightMargin">
  60. <number>0</number>
  61. </property>
  62. <property name="bottomMargin">
  63. <number>0</number>
  64. </property>
  65. <item>
  66. <widget class="QWidget" name="networkInfoWidget" native="true">
  67. <property name="sizePolicy">
  68. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  69. <horstretch>0</horstretch>
  70. <verstretch>0</verstretch>
  71. </sizepolicy>
  72. </property>
  73. <layout class="QHBoxLayout" name="horizontalLayout">
  74. <property name="leftMargin">
  75. <number>0</number>
  76. </property>
  77. <property name="topMargin">
  78. <number>4</number>
  79. </property>
  80. <property name="rightMargin">
  81. <number>0</number>
  82. </property>
  83. <property name="bottomMargin">
  84. <number>0</number>
  85. </property>
  86. <item>
  87. <widget class="QToolButton" name="networkIdButton">
  88. <property name="font">
  89. <font>
  90. <family>Courier</family>
  91. <pointsize>13</pointsize>
  92. <weight>75</weight>
  93. <bold>true</bold>
  94. </font>
  95. </property>
  96. <property name="statusTip">
  97. <string>Hexadecimal network ID; click to copy to clipboard.</string>
  98. </property>
  99. <property name="text">
  100. <string notr="true">----------------</string>
  101. </property>
  102. <property name="toolButtonStyle">
  103. <enum>Qt::ToolButtonTextOnly</enum>
  104. </property>
  105. <property name="class" stdset="0">
  106. <string notr="true">clickToCopy</string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item>
  111. <widget class="QLabel" name="label_2">
  112. <property name="font">
  113. <font>
  114. <pointsize>14</pointsize>
  115. </font>
  116. </property>
  117. <property name="text">
  118. <string>[</string>
  119. </property>
  120. <property name="textFormat">
  121. <enum>Qt::PlainText</enum>
  122. </property>
  123. <property name="textInteractionFlags">
  124. <set>Qt::NoTextInteraction</set>
  125. </property>
  126. </widget>
  127. </item>
  128. <item>
  129. <widget class="QLabel" name="nameLabel">
  130. <property name="font">
  131. <font>
  132. <pointsize>13</pointsize>
  133. <weight>75</weight>
  134. <bold>true</bold>
  135. </font>
  136. </property>
  137. <property name="statusTip">
  138. <string>This network's short name.</string>
  139. </property>
  140. <property name="text">
  141. <string>networkname</string>
  142. </property>
  143. <property name="textFormat">
  144. <enum>Qt::PlainText</enum>
  145. </property>
  146. <property name="alignment">
  147. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  148. </property>
  149. <property name="textInteractionFlags">
  150. <set>Qt::NoTextInteraction</set>
  151. </property>
  152. <property name="class" stdset="0">
  153. <string notr="true">networkName</string>
  154. </property>
  155. </widget>
  156. </item>
  157. <item>
  158. <widget class="QLabel" name="label_3">
  159. <property name="font">
  160. <font>
  161. <pointsize>14</pointsize>
  162. </font>
  163. </property>
  164. <property name="text">
  165. <string>]</string>
  166. </property>
  167. <property name="textFormat">
  168. <enum>Qt::PlainText</enum>
  169. </property>
  170. <property name="textInteractionFlags">
  171. <set>Qt::NoTextInteraction</set>
  172. </property>
  173. </widget>
  174. </item>
  175. <item>
  176. <spacer name="horizontalSpacer_3">
  177. <property name="orientation">
  178. <enum>Qt::Horizontal</enum>
  179. </property>
  180. <property name="sizeHint" stdset="0">
  181. <size>
  182. <width>40</width>
  183. <height>20</height>
  184. </size>
  185. </property>
  186. </spacer>
  187. </item>
  188. </layout>
  189. </widget>
  190. </item>
  191. <item>
  192. <widget class="QWidget" name="networkStatsWidget" native="true">
  193. <property name="sizePolicy">
  194. <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
  195. <horstretch>0</horstretch>
  196. <verstretch>0</verstretch>
  197. </sizepolicy>
  198. </property>
  199. <layout class="QFormLayout" name="formLayout">
  200. <property name="fieldGrowthPolicy">
  201. <enum>QFormLayout::ExpandingFieldsGrow</enum>
  202. </property>
  203. <property name="rowWrapPolicy">
  204. <enum>QFormLayout::DontWrapRows</enum>
  205. </property>
  206. <property name="labelAlignment">
  207. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  208. </property>
  209. <property name="formAlignment">
  210. <set>Qt::AlignHCenter|Qt::AlignTop</set>
  211. </property>
  212. <property name="horizontalSpacing">
  213. <number>4</number>
  214. </property>
  215. <property name="verticalSpacing">
  216. <number>2</number>
  217. </property>
  218. <property name="leftMargin">
  219. <number>4</number>
  220. </property>
  221. <property name="topMargin">
  222. <number>4</number>
  223. </property>
  224. <property name="rightMargin">
  225. <number>0</number>
  226. </property>
  227. <property name="bottomMargin">
  228. <number>4</number>
  229. </property>
  230. <item row="2" column="0">
  231. <widget class="QLabel" name="label_5">
  232. <property name="font">
  233. <font>
  234. <pointsize>12</pointsize>
  235. </font>
  236. </property>
  237. <property name="text">
  238. <string>Type:</string>
  239. </property>
  240. <property name="textFormat">
  241. <enum>Qt::PlainText</enum>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="2" column="1">
  246. <widget class="QLabel" name="networkTypeLabel">
  247. <property name="sizePolicy">
  248. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  249. <horstretch>0</horstretch>
  250. <verstretch>0</verstretch>
  251. </sizepolicy>
  252. </property>
  253. <property name="font">
  254. <font>
  255. <pointsize>12</pointsize>
  256. <weight>75</weight>
  257. <bold>true</bold>
  258. </font>
  259. </property>
  260. <property name="statusTip">
  261. <string>What kind of network? Public or private?</string>
  262. </property>
  263. <property name="text">
  264. <string>?</string>
  265. </property>
  266. <property name="textFormat">
  267. <enum>Qt::PlainText</enum>
  268. </property>
  269. </widget>
  270. </item>
  271. <item row="3" column="0">
  272. <widget class="QLabel" name="label">
  273. <property name="font">
  274. <font>
  275. <pointsize>12</pointsize>
  276. </font>
  277. </property>
  278. <property name="text">
  279. <string>Status:</string>
  280. </property>
  281. <property name="textFormat">
  282. <enum>Qt::PlainText</enum>
  283. </property>
  284. </widget>
  285. </item>
  286. <item row="3" column="1">
  287. <widget class="QLabel" name="statusLabel">
  288. <property name="sizePolicy">
  289. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  290. <horstretch>0</horstretch>
  291. <verstretch>0</verstretch>
  292. </sizepolicy>
  293. </property>
  294. <property name="font">
  295. <font>
  296. <pointsize>12</pointsize>
  297. <weight>75</weight>
  298. <bold>true</bold>
  299. </font>
  300. </property>
  301. <property name="statusTip">
  302. <string>Status of this network.</string>
  303. </property>
  304. <property name="text">
  305. <string>?</string>
  306. </property>
  307. <property name="textFormat">
  308. <enum>Qt::PlainText</enum>
  309. </property>
  310. </widget>
  311. </item>
  312. <item row="5" column="0">
  313. <widget class="QLabel" name="label_4">
  314. <property name="font">
  315. <font>
  316. <pointsize>12</pointsize>
  317. </font>
  318. </property>
  319. <property name="text">
  320. <string>Device:</string>
  321. </property>
  322. <property name="textFormat">
  323. <enum>Qt::PlainText</enum>
  324. </property>
  325. </widget>
  326. </item>
  327. <item row="5" column="1">
  328. <widget class="QLabel" name="deviceLabel">
  329. <property name="sizePolicy">
  330. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  331. <horstretch>0</horstretch>
  332. <verstretch>0</verstretch>
  333. </sizepolicy>
  334. </property>
  335. <property name="font">
  336. <font>
  337. <pointsize>12</pointsize>
  338. <weight>75</weight>
  339. <bold>true</bold>
  340. </font>
  341. </property>
  342. <property name="statusTip">
  343. <string>The name of the network device on your system.</string>
  344. </property>
  345. <property name="text">
  346. <string>?</string>
  347. </property>
  348. <property name="textFormat">
  349. <enum>Qt::PlainText</enum>
  350. </property>
  351. </widget>
  352. </item>
  353. <item row="4" column="0">
  354. <widget class="QLabel" name="label_7">
  355. <property name="font">
  356. <font>
  357. <pointsize>12</pointsize>
  358. </font>
  359. </property>
  360. <property name="text">
  361. <string>MAC:</string>
  362. </property>
  363. <property name="textFormat">
  364. <enum>Qt::PlainText</enum>
  365. </property>
  366. </widget>
  367. </item>
  368. <item row="4" column="1">
  369. <widget class="QLabel" name="macLabel">
  370. <property name="sizePolicy">
  371. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  372. <horstretch>0</horstretch>
  373. <verstretch>0</verstretch>
  374. </sizepolicy>
  375. </property>
  376. <property name="font">
  377. <font>
  378. <pointsize>12</pointsize>
  379. <weight>75</weight>
  380. <bold>true</bold>
  381. </font>
  382. </property>
  383. <property name="statusTip">
  384. <string>Your system's Ethernet MAC address.</string>
  385. </property>
  386. <property name="text">
  387. <string>?</string>
  388. </property>
  389. <property name="textFormat">
  390. <enum>Qt::PlainText</enum>
  391. </property>
  392. </widget>
  393. </item>
  394. </layout>
  395. </widget>
  396. </item>
  397. <item>
  398. <spacer name="verticalSpacer">
  399. <property name="orientation">
  400. <enum>Qt::Vertical</enum>
  401. </property>
  402. <property name="sizeType">
  403. <enum>QSizePolicy::Expanding</enum>
  404. </property>
  405. <property name="sizeHint" stdset="0">
  406. <size>
  407. <width>20</width>
  408. <height>40</height>
  409. </size>
  410. </property>
  411. </spacer>
  412. </item>
  413. </layout>
  414. </widget>
  415. </item>
  416. <item>
  417. <widget class="QWidget" name="rightWidget" native="true">
  418. <property name="sizePolicy">
  419. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  420. <horstretch>0</horstretch>
  421. <verstretch>0</verstretch>
  422. </sizepolicy>
  423. </property>
  424. <layout class="QVBoxLayout" name="verticalLayout">
  425. <property name="spacing">
  426. <number>0</number>
  427. </property>
  428. <property name="leftMargin">
  429. <number>0</number>
  430. </property>
  431. <property name="topMargin">
  432. <number>0</number>
  433. </property>
  434. <property name="rightMargin">
  435. <number>0</number>
  436. </property>
  437. <property name="bottomMargin">
  438. <number>0</number>
  439. </property>
  440. <item>
  441. <widget class="QLabel" name="label_6">
  442. <property name="sizePolicy">
  443. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  444. <horstretch>0</horstretch>
  445. <verstretch>0</verstretch>
  446. </sizepolicy>
  447. </property>
  448. <property name="font">
  449. <font>
  450. <pointsize>12</pointsize>
  451. <underline>false</underline>
  452. </font>
  453. </property>
  454. <property name="styleSheet">
  455. <string notr="true">padding: 0.1em 0 0.1em 0;</string>
  456. </property>
  457. <property name="text">
  458. <string>IP Addresses</string>
  459. </property>
  460. <property name="textFormat">
  461. <enum>Qt::PlainText</enum>
  462. </property>
  463. </widget>
  464. </item>
  465. <item>
  466. <widget class="QListWidget" name="ipListWidget">
  467. <property name="sizePolicy">
  468. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  469. <horstretch>0</horstretch>
  470. <verstretch>0</verstretch>
  471. </sizepolicy>
  472. </property>
  473. <property name="minimumSize">
  474. <size>
  475. <width>0</width>
  476. <height>0</height>
  477. </size>
  478. </property>
  479. <property name="font">
  480. <font>
  481. <family>Courier</family>
  482. <pointsize>12</pointsize>
  483. </font>
  484. </property>
  485. <property name="statusTip">
  486. <string>IP addresses assigned to this interface; click to copy to clipboard.</string>
  487. </property>
  488. <property name="frameShape">
  489. <enum>QFrame::NoFrame</enum>
  490. </property>
  491. <property name="editTriggers">
  492. <set>QAbstractItemView::NoEditTriggers</set>
  493. </property>
  494. <property name="showDropIndicator" stdset="0">
  495. <bool>false</bool>
  496. </property>
  497. <property name="selectionMode">
  498. <enum>QAbstractItemView::SingleSelection</enum>
  499. </property>
  500. <property name="horizontalScrollMode">
  501. <enum>QAbstractItemView::ScrollPerPixel</enum>
  502. </property>
  503. <property name="sortingEnabled">
  504. <bool>true</bool>
  505. </property>
  506. <property name="class" stdset="0">
  507. <string notr="true">ipAddressList</string>
  508. </property>
  509. </widget>
  510. </item>
  511. <item>
  512. <widget class="QWidget" name="leaveButtonContainerWidget" native="true">
  513. <layout class="QHBoxLayout" name="horizontalLayout_2">
  514. <property name="spacing">
  515. <number>0</number>
  516. </property>
  517. <property name="leftMargin">
  518. <number>0</number>
  519. </property>
  520. <property name="topMargin">
  521. <number>0</number>
  522. </property>
  523. <property name="rightMargin">
  524. <number>0</number>
  525. </property>
  526. <property name="bottomMargin">
  527. <number>0</number>
  528. </property>
  529. <item>
  530. <spacer name="horizontalSpacer">
  531. <property name="orientation">
  532. <enum>Qt::Horizontal</enum>
  533. </property>
  534. <property name="sizeHint" stdset="0">
  535. <size>
  536. <width>40</width>
  537. <height>1</height>
  538. </size>
  539. </property>
  540. </spacer>
  541. </item>
  542. <item>
  543. <widget class="QToolButton" name="leaveNetworkButton">
  544. <property name="sizePolicy">
  545. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  546. <horstretch>0</horstretch>
  547. <verstretch>0</verstretch>
  548. </sizepolicy>
  549. </property>
  550. <property name="statusTip">
  551. <string>Leave this network.</string>
  552. </property>
  553. <property name="text">
  554. <string>Leave Network</string>
  555. </property>
  556. <property name="class" stdset="0">
  557. <string notr="true">leaveNetworkButton</string>
  558. </property>
  559. </widget>
  560. </item>
  561. </layout>
  562. </widget>
  563. </item>
  564. </layout>
  565. </widget>
  566. </item>
  567. </layout>
  568. </widget>
  569. <tabstops>
  570. <tabstop>ipListWidget</tabstop>
  571. </tabstops>
  572. <resources/>
  573. <connections/>
  574. </ui>