mainwindow.ui 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>668</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>ZeroTier One</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="resources.qrc">
  18. <normaloff>:/img/zt1icon.png</normaloff>:/img/zt1icon.png</iconset>
  19. </property>
  20. <widget class="QWidget" name="centralWidget">
  21. <layout class="QVBoxLayout" name="verticalLayout">
  22. <property name="leftMargin">
  23. <number>6</number>
  24. </property>
  25. <property name="topMargin">
  26. <number>6</number>
  27. </property>
  28. <property name="rightMargin">
  29. <number>6</number>
  30. </property>
  31. <property name="bottomMargin">
  32. <number>6</number>
  33. </property>
  34. <item>
  35. <widget class="QScrollArea" name="networksScrollArea">
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  38. <horstretch>0</horstretch>
  39. <verstretch>0</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="horizontalScrollBarPolicy">
  43. <enum>Qt::ScrollBarAlwaysOff</enum>
  44. </property>
  45. <property name="widgetResizable">
  46. <bool>true</bool>
  47. </property>
  48. <widget class="QWidget" name="scrollAreaWidgetContents">
  49. <property name="geometry">
  50. <rect>
  51. <x>0</x>
  52. <y>0</y>
  53. <width>654</width>
  54. <height>222</height>
  55. </rect>
  56. </property>
  57. <layout class="QVBoxLayout" name="verticalLayout_2">
  58. <property name="leftMargin">
  59. <number>0</number>
  60. </property>
  61. <property name="topMargin">
  62. <number>0</number>
  63. </property>
  64. <property name="rightMargin">
  65. <number>0</number>
  66. </property>
  67. <property name="bottomMargin">
  68. <number>0</number>
  69. </property>
  70. </layout>
  71. </widget>
  72. </widget>
  73. </item>
  74. <item>
  75. <widget class="QWidget" name="bottomContainerWidget" native="true">
  76. <property name="sizePolicy">
  77. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  78. <horstretch>0</horstretch>
  79. <verstretch>0</verstretch>
  80. </sizepolicy>
  81. </property>
  82. <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0">
  83. <property name="leftMargin">
  84. <number>2</number>
  85. </property>
  86. <property name="topMargin">
  87. <number>0</number>
  88. </property>
  89. <property name="rightMargin">
  90. <number>2</number>
  91. </property>
  92. <property name="bottomMargin">
  93. <number>0</number>
  94. </property>
  95. <item>
  96. <widget class="QLabel" name="statusLabel">
  97. <property name="sizePolicy">
  98. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  99. <horstretch>0</horstretch>
  100. <verstretch>0</verstretch>
  101. </sizepolicy>
  102. </property>
  103. <property name="text">
  104. <string>OFFLINE (0 direct peers)</string>
  105. </property>
  106. </widget>
  107. </item>
  108. <item>
  109. <widget class="QLineEdit" name="networkIdLineEdit">
  110. <property name="font">
  111. <font>
  112. <family>Courier</family>
  113. <pointsize>12</pointsize>
  114. </font>
  115. </property>
  116. <property name="frame">
  117. <bool>true</bool>
  118. </property>
  119. <property name="placeholderText">
  120. <string>[Network ID, e.g. 8056c2e21c000001]</string>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QPushButton" name="joinNetworkButton">
  126. <property name="sizePolicy">
  127. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  128. <horstretch>0</horstretch>
  129. <verstretch>0</verstretch>
  130. </sizepolicy>
  131. </property>
  132. <property name="font">
  133. <font>
  134. <weight>75</weight>
  135. <bold>true</bold>
  136. <underline>false</underline>
  137. </font>
  138. </property>
  139. <property name="autoFillBackground">
  140. <bool>false</bool>
  141. </property>
  142. <property name="text">
  143. <string>+ Join</string>
  144. </property>
  145. <property name="default">
  146. <bool>false</bool>
  147. </property>
  148. <property name="flat">
  149. <bool>true</bool>
  150. </property>
  151. </widget>
  152. </item>
  153. </layout>
  154. </widget>
  155. </item>
  156. </layout>
  157. </widget>
  158. <widget class="QMenuBar" name="menuBar">
  159. <property name="geometry">
  160. <rect>
  161. <x>0</x>
  162. <y>0</y>
  163. <width>668</width>
  164. <height>22</height>
  165. </rect>
  166. </property>
  167. <property name="layoutDirection">
  168. <enum>Qt::LeftToRight</enum>
  169. </property>
  170. <widget class="QMenu" name="menuHelp">
  171. <property name="title">
  172. <string>Help</string>
  173. </property>
  174. <addaction name="actionAbout_2"/>
  175. </widget>
  176. <widget class="QMenu" name="menuFile">
  177. <property name="title">
  178. <string>File</string>
  179. </property>
  180. <addaction name="actionJoin_Network_2"/>
  181. <addaction name="actionShow_Detailed_Status"/>
  182. <addaction name="separator"/>
  183. <addaction name="actionExit_2"/>
  184. </widget>
  185. <addaction name="menuFile"/>
  186. <addaction name="menuHelp"/>
  187. </widget>
  188. <action name="actionJoin_Network">
  189. <property name="text">
  190. <string>Join Network</string>
  191. </property>
  192. </action>
  193. <action name="actionExit">
  194. <property name="text">
  195. <string>Exit</string>
  196. </property>
  197. </action>
  198. <action name="actionAbout">
  199. <property name="text">
  200. <string>About</string>
  201. </property>
  202. </action>
  203. <action name="actionAbout_2">
  204. <property name="text">
  205. <string>About</string>
  206. </property>
  207. </action>
  208. <action name="actionJoin_Network_2">
  209. <property name="text">
  210. <string>Join Network</string>
  211. </property>
  212. </action>
  213. <action name="actionShow_Detailed_Status">
  214. <property name="text">
  215. <string>Show Detailed Status</string>
  216. </property>
  217. </action>
  218. <action name="actionExit_2">
  219. <property name="text">
  220. <string>Exit</string>
  221. </property>
  222. </action>
  223. </widget>
  224. <layoutdefault spacing="6" margin="11"/>
  225. <resources>
  226. <include location="resources.qrc"/>
  227. </resources>
  228. <connections/>
  229. </ui>