mainwindow.ui 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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="spacing">
  23. <number>6</number>
  24. </property>
  25. <property name="leftMargin">
  26. <number>6</number>
  27. </property>
  28. <property name="topMargin">
  29. <number>6</number>
  30. </property>
  31. <property name="rightMargin">
  32. <number>6</number>
  33. </property>
  34. <property name="bottomMargin">
  35. <number>6</number>
  36. </property>
  37. <item>
  38. <widget class="QScrollArea" name="networksScrollArea">
  39. <property name="sizePolicy">
  40. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  41. <horstretch>0</horstretch>
  42. <verstretch>0</verstretch>
  43. </sizepolicy>
  44. </property>
  45. <property name="toolTip">
  46. <string/>
  47. </property>
  48. <property name="horizontalScrollBarPolicy">
  49. <enum>Qt::ScrollBarAlwaysOff</enum>
  50. </property>
  51. <property name="widgetResizable">
  52. <bool>true</bool>
  53. </property>
  54. <property name="alignment">
  55. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  56. </property>
  57. <widget class="QWidget" name="scrollAreaWidgetContents">
  58. <property name="geometry">
  59. <rect>
  60. <x>0</x>
  61. <y>0</y>
  62. <width>654</width>
  63. <height>236</height>
  64. </rect>
  65. </property>
  66. <layout class="QVBoxLayout" name="verticalLayout_2">
  67. <property name="leftMargin">
  68. <number>0</number>
  69. </property>
  70. <property name="topMargin">
  71. <number>0</number>
  72. </property>
  73. <property name="rightMargin">
  74. <number>0</number>
  75. </property>
  76. <property name="bottomMargin">
  77. <number>0</number>
  78. </property>
  79. </layout>
  80. </widget>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="QWidget" name="bottomContainerWidget" native="true">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  87. <horstretch>0</horstretch>
  88. <verstretch>0</verstretch>
  89. </sizepolicy>
  90. </property>
  91. <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0">
  92. <property name="spacing">
  93. <number>6</number>
  94. </property>
  95. <property name="sizeConstraint">
  96. <enum>QLayout::SetDefaultConstraint</enum>
  97. </property>
  98. <property name="leftMargin">
  99. <number>0</number>
  100. </property>
  101. <property name="topMargin">
  102. <number>0</number>
  103. </property>
  104. <property name="rightMargin">
  105. <number>0</number>
  106. </property>
  107. <property name="bottomMargin">
  108. <number>0</number>
  109. </property>
  110. <item>
  111. <widget class="QToolButton" name="statusAndAddressButton">
  112. <property name="sizePolicy">
  113. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  114. <horstretch>0</horstretch>
  115. <verstretch>0</verstretch>
  116. </sizepolicy>
  117. </property>
  118. <property name="font">
  119. <font>
  120. <family>Courier</family>
  121. <pointsize>12</pointsize>
  122. </font>
  123. </property>
  124. <property name="toolTip">
  125. <string>Click to Copy Address to Clipboard</string>
  126. </property>
  127. <property name="styleSheet">
  128. <string notr="true">border: 0;</string>
  129. </property>
  130. <property name="text">
  131. <string>0000000000 (OFFLINE, 0 peers)</string>
  132. </property>
  133. <property name="toolButtonStyle">
  134. <enum>Qt::ToolButtonTextOnly</enum>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <widget class="QLineEdit" name="networkIdLineEdit">
  140. <property name="sizePolicy">
  141. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  142. <horstretch>0</horstretch>
  143. <verstretch>0</verstretch>
  144. </sizepolicy>
  145. </property>
  146. <property name="font">
  147. <font>
  148. <family>Courier</family>
  149. <pointsize>12</pointsize>
  150. </font>
  151. </property>
  152. <property name="toolTip">
  153. <string>Enter Hexadecimal Network ID</string>
  154. </property>
  155. <property name="frame">
  156. <bool>true</bool>
  157. </property>
  158. <property name="placeholderText">
  159. <string>(Numeric ID of Network to Join)</string>
  160. </property>
  161. </widget>
  162. </item>
  163. <item>
  164. <widget class="QToolButton" name="joinNetworkButton">
  165. <property name="sizePolicy">
  166. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  167. <horstretch>0</horstretch>
  168. <verstretch>0</verstretch>
  169. </sizepolicy>
  170. </property>
  171. <property name="font">
  172. <font>
  173. <family>Courier</family>
  174. <pointsize>12</pointsize>
  175. <weight>50</weight>
  176. <bold>false</bold>
  177. <underline>false</underline>
  178. </font>
  179. </property>
  180. <property name="toolTip">
  181. <string>Join Network</string>
  182. </property>
  183. <property name="autoFillBackground">
  184. <bool>false</bool>
  185. </property>
  186. <property name="styleSheet">
  187. <string notr="true"/>
  188. </property>
  189. <property name="text">
  190. <string>Join</string>
  191. </property>
  192. <property name="toolButtonStyle">
  193. <enum>Qt::ToolButtonTextOnly</enum>
  194. </property>
  195. </widget>
  196. </item>
  197. </layout>
  198. </widget>
  199. </item>
  200. </layout>
  201. </widget>
  202. <widget class="QMenuBar" name="menuBar">
  203. <property name="geometry">
  204. <rect>
  205. <x>0</x>
  206. <y>0</y>
  207. <width>668</width>
  208. <height>22</height>
  209. </rect>
  210. </property>
  211. <property name="layoutDirection">
  212. <enum>Qt::LeftToRight</enum>
  213. </property>
  214. <widget class="QMenu" name="menuHelp">
  215. <property name="title">
  216. <string>Help</string>
  217. </property>
  218. <addaction name="actionAbout"/>
  219. </widget>
  220. <widget class="QMenu" name="menuFile">
  221. <property name="title">
  222. <string>File</string>
  223. </property>
  224. <addaction name="actionJoin_Network"/>
  225. <addaction name="actionShow_Detailed_Status"/>
  226. <addaction name="separator"/>
  227. <addaction name="actionExit"/>
  228. </widget>
  229. <addaction name="menuFile"/>
  230. <addaction name="menuHelp"/>
  231. </widget>
  232. <action name="actionAbout">
  233. <property name="text">
  234. <string>About</string>
  235. </property>
  236. </action>
  237. <action name="actionJoin_Network">
  238. <property name="text">
  239. <string>Join Network</string>
  240. </property>
  241. </action>
  242. <action name="actionShow_Detailed_Status">
  243. <property name="text">
  244. <string>Show Detailed Status</string>
  245. </property>
  246. </action>
  247. <action name="actionExit">
  248. <property name="text">
  249. <string>Exit</string>
  250. </property>
  251. </action>
  252. </widget>
  253. <layoutdefault spacing="6" margin="11"/>
  254. <resources>
  255. <include location="resources.qrc"/>
  256. </resources>
  257. <connections>
  258. <connection>
  259. <sender>actionExit</sender>
  260. <signal>triggered()</signal>
  261. <receiver>MainWindow</receiver>
  262. <slot>close()</slot>
  263. <hints>
  264. <hint type="sourcelabel">
  265. <x>-1</x>
  266. <y>-1</y>
  267. </hint>
  268. <hint type="destinationlabel">
  269. <x>333</x>
  270. <y>149</y>
  271. </hint>
  272. </hints>
  273. </connection>
  274. </connections>
  275. </ui>