You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

273 lines
7.0 KiB

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
6 years ago
​
​
6 years ago
​
​
​
​
​
​
​
​
​
​
6 years ago
​
​
​
6 years ago
​
​
​
​
6 years ago
​
​
​
6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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>794</width>
  10. <height>604</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <widget class="QWidget" name="verticalLayoutWidget">
  18. <property name="geometry">
  19. <rect>
  20. <x>0</x>
  21. <y>0</y>
  22. <width>791</width>
  23. <height>561</height>
  24. </rect>
  25. </property>
  26. <layout class="QVBoxLayout" name="verticalLayout">
  27. <item>
  28. <layout class="QHBoxLayout" name="horizontalLayout">
  29. <item>
  30. <widget class="QListWidget" name="listWidget">
  31. <item>
  32. <property name="text">
  33. <string>koko</string>
  34. </property>
  35. </item>
  36. <item>
  37. <property name="text">
  38. <string>kokol</string>
  39. </property>
  40. </item>
  41. </widget>
  42. </item>
  43. <item>
  44. <layout class="QVBoxLayout" name="verticalLayout_2">
  45. <item>
  46. <widget class="QPushButton" name="pushButton">
  47. <property name="text">
  48. <string>PushButton</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item>
  53. <spacer name="verticalSpacer">
  54. <property name="orientation">
  55. <enum>Qt::Vertical</enum>
  56. </property>
  57. <property name="sizeHint" stdset="0">
  58. <size>
  59. <width>20</width>
  60. <height>40</height>
  61. </size>
  62. </property>
  63. </spacer>
  64. </item>
  65. </layout>
  66. </item>
  67. </layout>
  68. </item>
  69. <item>
  70. <widget class="QTabWidget" name="tabWidget">
  71. <property name="currentIndex">
  72. <number>0</number>
  73. </property>
  74. <widget class="QWidget" name="tab">
  75. <attribute name="title">
  76. <string>Tab 1</string>
  77. </attribute>
  78. <widget class="QTableWidget" name="tableWidget">
  79. <property name="geometry">
  80. <rect>
  81. <x>20</x>
  82. <y>10</y>
  83. <width>321</width>
  84. <height>211</height>
  85. </rect>
  86. </property>
  87. <property name="selectionMode">
  88. <enum>QAbstractItemView::SingleSelection</enum>
  89. </property>
  90. <property name="selectionBehavior">
  91. <enum>QAbstractItemView::SelectRows</enum>
  92. </property>
  93. <property name="gridStyle">
  94. <enum>Qt::DashLine</enum>
  95. </property>
  96. <property name="cornerButtonEnabled">
  97. <bool>true</bool>
  98. </property>
  99. <row>
  100. <property name="text">
  101. <string>1</string>
  102. </property>
  103. </row>
  104. <row>
  105. <property name="text">
  106. <string>2</string>
  107. </property>
  108. </row>
  109. <column>
  110. <property name="text">
  111. <string>kaka</string>
  112. </property>
  113. </column>
  114. <column>
  115. <property name="text">
  116. <string>Maka</string>
  117. </property>
  118. </column>
  119. <column>
  120. <property name="text">
  121. <string>Baka</string>
  122. </property>
  123. </column>
  124. <item row="0" column="0">
  125. <property name="text">
  126. <string>11</string>
  127. </property>
  128. </item>
  129. <item row="0" column="1">
  130. <property name="text">
  131. <string>22</string>
  132. </property>
  133. </item>
  134. <item row="0" column="2">
  135. <property name="text">
  136. <string>33</string>
  137. </property>
  138. </item>
  139. <item row="1" column="0">
  140. <property name="text">
  141. <string>22</string>
  142. </property>
  143. </item>
  144. <item row="1" column="1">
  145. <property name="text">
  146. <string>33</string>
  147. </property>
  148. </item>
  149. <item row="1" column="2">
  150. <property name="text">
  151. <string>44</string>
  152. </property>
  153. </item>
  154. </widget>
  155. </widget>
  156. <widget class="QWidget" name="tab_2">
  157. <attribute name="title">
  158. <string>Tab 2</string>
  159. </attribute>
  160. </widget>
  161. </widget>
  162. </item>
  163. </layout>
  164. </widget>
  165. </widget>
  166. <widget class="QMenuBar" name="menubar">
  167. <property name="geometry">
  168. <rect>
  169. <x>0</x>
  170. <y>0</y>
  171. <width>794</width>
  172. <height>21</height>
  173. </rect>
  174. </property>
  175. <widget class="QMenu" name="menuFile">
  176. <property name="title">
  177. <string>File</string>
  178. </property>
  179. <addaction name="actionNew_Network"/>
  180. <addaction name="actionOpen"/>
  181. <addaction name="actionSave"/>
  182. <addaction name="actionSave_As"/>
  183. </widget>
  184. <addaction name="menuFile"/>
  185. </widget>
  186. <widget class="QStatusBar" name="statusbar"/>
  187. <widget class="QToolBar" name="toolBar">
  188. <property name="windowTitle">
  189. <string>toolBar</string>
  190. </property>
  191. <property name="orientation">
  192. <enum>Qt::Horizontal</enum>
  193. </property>
  194. <property name="toolButtonStyle">
  195. <enum>Qt::ToolButtonTextBesideIcon</enum>
  196. </property>
  197. <property name="floatable">
  198. <bool>true</bool>
  199. </property>
  200. <attribute name="toolBarArea">
  201. <enum>TopToolBarArea</enum>
  202. </attribute>
  203. <attribute name="toolBarBreak">
  204. <bool>true</bool>
  205. </attribute>
  206. </widget>
  207. <action name="actionNew_Network">
  208. <property name="icon">
  209. <iconset resource="../../resources/cudawork_resources.qrc">
  210. <normaloff>:/general/bulb.png</normaloff>:/general/bulb.png</iconset>
  211. </property>
  212. <property name="text">
  213. <string>New Network</string>
  214. </property>
  215. </action>
  216. <action name="actionOpen">
  217. <property name="icon">
  218. <iconset resource="../../resources/cudawork_resources.qrc">
  219. <normaloff>:/menu/PNG/devices/030.png</normaloff>:/menu/PNG/devices/030.png</iconset>
  220. </property>
  221. <property name="text">
  222. <string>Open</string>
  223. </property>
  224. </action>
  225. <action name="actionSave">
  226. <property name="text">
  227. <string>Save</string>
  228. </property>
  229. </action>
  230. <action name="actionSave_As">
  231. <property name="text">
  232. <string>Save As</string>
  233. </property>
  234. </action>
  235. </widget>
  236. <resources>
  237. <include location="../../resources/cudawork_resources.qrc"/>
  238. </resources>
  239. <connections>
  240. <connection>
  241. <sender>listWidget</sender>
  242. <signal>clicked(QModelIndex)</signal>
  243. <receiver>MainWindow</receiver>
  244. <slot>close()</slot>
  245. <hints>
  246. <hint type="sourcelabel">
  247. <x>353</x>
  248. <y>160</y>
  249. </hint>
  250. <hint type="destinationlabel">
  251. <x>396</x>
  252. <y>301</y>
  253. </hint>
  254. </hints>
  255. </connection>
  256. <connection>
  257. <sender>tableWidget</sender>
  258. <signal>cellClicked(int,int)</signal>
  259. <receiver>MainWindow</receiver>
  260. <slot>show()</slot>
  261. <hints>
  262. <hint type="sourcelabel">
  263. <x>183</x>
  264. <y>454</y>
  265. </hint>
  266. <hint type="destinationlabel">
  267. <x>396</x>
  268. <y>301</y>
  269. </hint>
  270. </hints>
  271. </connection>
  272. </connections>
  273. </ui>