ctkPluginGeneratorMainWindow.ui 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ctkPluginGeneratorMainWindow</class>
  4. <widget class="QMainWindow" name="ctkPluginGeneratorMainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>800</width>
  10. <height>600</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>CTK Plugin Generator</string>
  15. </property>
  16. <property name="unifiedTitleAndToolBarOnMac">
  17. <bool>true</bool>
  18. </property>
  19. <widget class="QWidget" name="centralwidget">
  20. <layout class="QVBoxLayout" name="verticalLayout">
  21. <item>
  22. <widget class="QStackedWidget" name="modeStack">
  23. <property name="sizePolicy">
  24. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  25. <horstretch>0</horstretch>
  26. <verstretch>1</verstretch>
  27. </sizepolicy>
  28. </property>
  29. <widget class="QWidget" name="editPage">
  30. <layout class="QVBoxLayout" name="verticalLayout_4">
  31. <property name="margin">
  32. <number>0</number>
  33. </property>
  34. <item>
  35. <widget class="QSplitter" name="splitter">
  36. <property name="orientation">
  37. <enum>Qt::Horizontal</enum>
  38. </property>
  39. <widget class="QWidget" name="widget_5" native="true">
  40. <layout class="QVBoxLayout" name="verticalLayout_3">
  41. <property name="margin">
  42. <number>0</number>
  43. </property>
  44. <item>
  45. <widget class="QLabel" name="uiExtensionListLabel">
  46. <property name="minimumSize">
  47. <size>
  48. <width>0</width>
  49. <height>40</height>
  50. </size>
  51. </property>
  52. <property name="text">
  53. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  54. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  55. p, li { white-space: pre-wrap; }
  56. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  57. &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
  58. &lt;tr&gt;
  59. &lt;td style=&quot;border: none;&quot;&gt;
  60. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Plugin&lt;/span&gt;&lt;/p&gt;
  61. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Generator&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
  62. </property>
  63. <property name="alignment">
  64. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  65. </property>
  66. </widget>
  67. </item>
  68. <item>
  69. <widget class="QListWidget" name="uiExtensionList">
  70. <property name="sizePolicy">
  71. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  72. <horstretch>0</horstretch>
  73. <verstretch>0</verstretch>
  74. </sizepolicy>
  75. </property>
  76. <property name="minimumSize">
  77. <size>
  78. <width>200</width>
  79. <height>0</height>
  80. </size>
  81. </property>
  82. </widget>
  83. </item>
  84. </layout>
  85. </widget>
  86. <widget class="QWidget" name="widget_4" native="true">
  87. <layout class="QVBoxLayout" name="verticalLayout_2">
  88. <property name="leftMargin">
  89. <number>6</number>
  90. </property>
  91. <property name="topMargin">
  92. <number>0</number>
  93. </property>
  94. <property name="rightMargin">
  95. <number>0</number>
  96. </property>
  97. <property name="bottomMargin">
  98. <number>0</number>
  99. </property>
  100. <item>
  101. <widget class="QLabel" name="sectionMessageLabel">
  102. <property name="minimumSize">
  103. <size>
  104. <width>0</width>
  105. <height>40</height>
  106. </size>
  107. </property>
  108. <property name="text">
  109. <string/>
  110. </property>
  111. <property name="alignment">
  112. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  113. </property>
  114. </widget>
  115. </item>
  116. <item>
  117. <widget class="QStackedWidget" name="sectionsStack">
  118. <property name="sizePolicy">
  119. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  120. <horstretch>1</horstretch>
  121. <verstretch>0</verstretch>
  122. </sizepolicy>
  123. </property>
  124. </widget>
  125. </item>
  126. </layout>
  127. </widget>
  128. </widget>
  129. </item>
  130. </layout>
  131. </widget>
  132. <widget class="QWidget" name="previewPage">
  133. <property name="layoutDirection">
  134. <enum>Qt::LeftToRight</enum>
  135. </property>
  136. <layout class="QVBoxLayout" name="verticalLayout_5">
  137. <property name="margin">
  138. <number>0</number>
  139. </property>
  140. <item>
  141. <widget class="QSplitter" name="splitter_2">
  142. <property name="orientation">
  143. <enum>Qt::Horizontal</enum>
  144. </property>
  145. <widget class="QWidget" name="widget_2" native="true">
  146. <layout class="QVBoxLayout" name="verticalLayout_6">
  147. <property name="margin">
  148. <number>0</number>
  149. </property>
  150. <item>
  151. <widget class="QLabel" name="previewLabel">
  152. <property name="minimumSize">
  153. <size>
  154. <width>0</width>
  155. <height>40</height>
  156. </size>
  157. </property>
  158. <property name="text">
  159. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  160. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  161. p, li { white-space: pre-wrap; }
  162. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  163. &lt;table border=&quot;0&quot; style=&quot;-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;&quot;&gt;
  164. &lt;tr&gt;
  165. &lt;td style=&quot;border: none;&quot;&gt;
  166. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Plugin &lt;/span&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Generator&lt;/span&gt;&lt;/p&gt;
  167. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Preview&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</string>
  168. </property>
  169. <property name="alignment">
  170. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  171. </property>
  172. </widget>
  173. </item>
  174. <item>
  175. <widget class="QTreeView" name="previewTreeView"/>
  176. </item>
  177. </layout>
  178. </widget>
  179. <widget class="QWidget" name="widget_6" native="true">
  180. <layout class="QVBoxLayout" name="verticalLayout_7">
  181. <property name="margin">
  182. <number>0</number>
  183. </property>
  184. <item>
  185. <widget class="QLabel" name="previewTextLabel">
  186. <property name="minimumSize">
  187. <size>
  188. <width>0</width>
  189. <height>40</height>
  190. </size>
  191. </property>
  192. <property name="text">
  193. <string/>
  194. </property>
  195. <property name="alignment">
  196. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  197. </property>
  198. </widget>
  199. </item>
  200. <item>
  201. <widget class="QTextEdit" name="previewTextEdit"/>
  202. </item>
  203. </layout>
  204. </widget>
  205. </widget>
  206. </item>
  207. </layout>
  208. </widget>
  209. </widget>
  210. </item>
  211. <item>
  212. <widget class="QWidget" name="widget" native="true">
  213. <layout class="QHBoxLayout" name="horizontalLayout_3">
  214. <property name="margin">
  215. <number>0</number>
  216. </property>
  217. <item>
  218. <widget class="QLabel" name="label">
  219. <property name="sizePolicy">
  220. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  221. <horstretch>0</horstretch>
  222. <verstretch>0</verstretch>
  223. </sizepolicy>
  224. </property>
  225. <property name="text">
  226. <string>Output Directory</string>
  227. </property>
  228. </widget>
  229. </item>
  230. <item>
  231. <widget class="QPushButton" name="outputDirButton">
  232. <property name="sizePolicy">
  233. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  234. <horstretch>1</horstretch>
  235. <verstretch>0</verstretch>
  236. </sizepolicy>
  237. </property>
  238. <property name="text">
  239. <string>PushButton</string>
  240. </property>
  241. </widget>
  242. </item>
  243. </layout>
  244. </widget>
  245. </item>
  246. <item>
  247. <widget class="Line" name="line">
  248. <property name="orientation">
  249. <enum>Qt::Horizontal</enum>
  250. </property>
  251. </widget>
  252. </item>
  253. <item>
  254. <spacer name="verticalSpacer">
  255. <property name="orientation">
  256. <enum>Qt::Vertical</enum>
  257. </property>
  258. <property name="sizeHint" stdset="0">
  259. <size>
  260. <width>20</width>
  261. <height>4</height>
  262. </size>
  263. </property>
  264. </spacer>
  265. </item>
  266. <item>
  267. <widget class="QWidget" name="widget_3" native="true">
  268. <layout class="QHBoxLayout" name="horizontalLayout">
  269. <property name="margin">
  270. <number>0</number>
  271. </property>
  272. <item>
  273. <widget class="QPushButton" name="previewButton">
  274. <property name="text">
  275. <string>Preview &gt;&gt;</string>
  276. </property>
  277. </widget>
  278. </item>
  279. <item>
  280. <spacer name="horizontalSpacer_2">
  281. <property name="orientation">
  282. <enum>Qt::Horizontal</enum>
  283. </property>
  284. <property name="sizeHint" stdset="0">
  285. <size>
  286. <width>40</width>
  287. <height>20</height>
  288. </size>
  289. </property>
  290. </spacer>
  291. </item>
  292. <item>
  293. <widget class="QPushButton" name="generateButton">
  294. <property name="text">
  295. <string>Generate</string>
  296. </property>
  297. </widget>
  298. </item>
  299. <item>
  300. <widget class="QPushButton" name="cancelButton">
  301. <property name="text">
  302. <string>Cancel</string>
  303. </property>
  304. </widget>
  305. </item>
  306. </layout>
  307. </widget>
  308. </item>
  309. </layout>
  310. </widget>
  311. <widget class="QMenuBar" name="menubar">
  312. <property name="geometry">
  313. <rect>
  314. <x>0</x>
  315. <y>0</y>
  316. <width>800</width>
  317. <height>23</height>
  318. </rect>
  319. </property>
  320. <widget class="QMenu" name="menuFile">
  321. <property name="title">
  322. <string>File</string>
  323. </property>
  324. <addaction name="actionExit"/>
  325. </widget>
  326. <addaction name="menuFile"/>
  327. </widget>
  328. <widget class="QStatusBar" name="statusbar"/>
  329. <action name="actionExit">
  330. <property name="text">
  331. <string>Exit</string>
  332. </property>
  333. <property name="shortcut">
  334. <string>Ctrl+Q</string>
  335. </property>
  336. </action>
  337. </widget>
  338. <resources/>
  339. <connections>
  340. <connection>
  341. <sender>actionExit</sender>
  342. <signal>triggered()</signal>
  343. <receiver>cancelButton</receiver>
  344. <slot>click()</slot>
  345. <hints>
  346. <hint type="sourcelabel">
  347. <x>-1</x>
  348. <y>-1</y>
  349. </hint>
  350. <hint type="destinationlabel">
  351. <x>748</x>
  352. <y>555</y>
  353. </hint>
  354. </hints>
  355. </connection>
  356. </connections>
  357. </ui>