ctkPluginGeneratorMainWindow.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  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. <property name="currentIndex">
  30. <number>0</number>
  31. </property>
  32. <widget class="QWidget" name="editPage">
  33. <layout class="QVBoxLayout" name="verticalLayout_4">
  34. <property name="margin">
  35. <number>0</number>
  36. </property>
  37. <item>
  38. <widget class="QSplitter" name="splitter">
  39. <property name="orientation">
  40. <enum>Qt::Horizontal</enum>
  41. </property>
  42. <widget class="QWidget" name="widget_5" native="true">
  43. <layout class="QVBoxLayout" name="verticalLayout_3">
  44. <property name="margin">
  45. <number>0</number>
  46. </property>
  47. <item>
  48. <widget class="QLabel" name="uiExtensionListLabel">
  49. <property name="minimumSize">
  50. <size>
  51. <width>0</width>
  52. <height>40</height>
  53. </size>
  54. </property>
  55. <property name="text">
  56. <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;
  57. &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;
  58. p, li { white-space: pre-wrap; }
  59. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  60. &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;
  61. &lt;tr&gt;
  62. &lt;td style=&quot;border: none;&quot;&gt;
  63. &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;
  64. &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>
  65. </property>
  66. <property name="alignment">
  67. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  68. </property>
  69. </widget>
  70. </item>
  71. <item>
  72. <widget class="QListWidget" name="uiExtensionList">
  73. <property name="sizePolicy">
  74. <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
  75. <horstretch>0</horstretch>
  76. <verstretch>0</verstretch>
  77. </sizepolicy>
  78. </property>
  79. <property name="minimumSize">
  80. <size>
  81. <width>200</width>
  82. <height>0</height>
  83. </size>
  84. </property>
  85. </widget>
  86. </item>
  87. </layout>
  88. </widget>
  89. <widget class="QWidget" name="widget_4" native="true">
  90. <property name="sizePolicy">
  91. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  92. <horstretch>1</horstretch>
  93. <verstretch>0</verstretch>
  94. </sizepolicy>
  95. </property>
  96. <layout class="QVBoxLayout" name="verticalLayout_2">
  97. <property name="leftMargin">
  98. <number>6</number>
  99. </property>
  100. <property name="topMargin">
  101. <number>0</number>
  102. </property>
  103. <property name="rightMargin">
  104. <number>0</number>
  105. </property>
  106. <property name="bottomMargin">
  107. <number>0</number>
  108. </property>
  109. <item>
  110. <widget class="QWidget" name="widget_7" native="true">
  111. <layout class="QVBoxLayout" name="verticalLayout_8">
  112. <property name="spacing">
  113. <number>0</number>
  114. </property>
  115. <property name="margin">
  116. <number>0</number>
  117. </property>
  118. <item>
  119. <widget class="QLabel" name="extensionMsgLabel">
  120. <property name="minimumSize">
  121. <size>
  122. <width>0</width>
  123. <height>20</height>
  124. </size>
  125. </property>
  126. <property name="font">
  127. <font>
  128. <weight>75</weight>
  129. <bold>true</bold>
  130. </font>
  131. </property>
  132. <property name="text">
  133. <string>TextLabel</string>
  134. </property>
  135. </widget>
  136. </item>
  137. <item>
  138. <widget class="QLabel" name="extensionErrMsgLabel">
  139. <property name="minimumSize">
  140. <size>
  141. <width>0</width>
  142. <height>20</height>
  143. </size>
  144. </property>
  145. <property name="palette">
  146. <palette>
  147. <active>
  148. <colorrole role="WindowText">
  149. <brush brushstyle="SolidPattern">
  150. <color alpha="255">
  151. <red>255</red>
  152. <green>0</green>
  153. <blue>0</blue>
  154. </color>
  155. </brush>
  156. </colorrole>
  157. </active>
  158. <inactive>
  159. <colorrole role="WindowText">
  160. <brush brushstyle="SolidPattern">
  161. <color alpha="255">
  162. <red>255</red>
  163. <green>0</green>
  164. <blue>0</blue>
  165. </color>
  166. </brush>
  167. </colorrole>
  168. </inactive>
  169. <disabled>
  170. <colorrole role="WindowText">
  171. <brush brushstyle="SolidPattern">
  172. <color alpha="255">
  173. <red>150</red>
  174. <green>147</green>
  175. <blue>140</blue>
  176. </color>
  177. </brush>
  178. </colorrole>
  179. </disabled>
  180. </palette>
  181. </property>
  182. <property name="text">
  183. <string>TextLabel</string>
  184. </property>
  185. </widget>
  186. </item>
  187. </layout>
  188. </widget>
  189. </item>
  190. <item>
  191. <widget class="QStackedWidget" name="extensionStack">
  192. <property name="sizePolicy">
  193. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  194. <horstretch>1</horstretch>
  195. <verstretch>0</verstretch>
  196. </sizepolicy>
  197. </property>
  198. </widget>
  199. </item>
  200. </layout>
  201. </widget>
  202. </widget>
  203. </item>
  204. </layout>
  205. </widget>
  206. <widget class="QWidget" name="previewPage">
  207. <property name="layoutDirection">
  208. <enum>Qt::LeftToRight</enum>
  209. </property>
  210. <layout class="QVBoxLayout" name="verticalLayout_5">
  211. <property name="margin">
  212. <number>0</number>
  213. </property>
  214. <item>
  215. <widget class="QSplitter" name="splitter_2">
  216. <property name="orientation">
  217. <enum>Qt::Horizontal</enum>
  218. </property>
  219. <widget class="QWidget" name="widget_2" native="true">
  220. <layout class="QVBoxLayout" name="verticalLayout_6">
  221. <property name="margin">
  222. <number>0</number>
  223. </property>
  224. <item>
  225. <widget class="QLabel" name="previewLabel">
  226. <property name="minimumSize">
  227. <size>
  228. <width>0</width>
  229. <height>40</height>
  230. </size>
  231. </property>
  232. <property name="text">
  233. <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;
  234. &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;
  235. p, li { white-space: pre-wrap; }
  236. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  237. &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;
  238. &lt;tr&gt;
  239. &lt;td style=&quot;border: none;&quot;&gt;
  240. &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;
  241. &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>
  242. </property>
  243. <property name="alignment">
  244. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
  245. </property>
  246. </widget>
  247. </item>
  248. <item>
  249. <widget class="QTreeView" name="previewTreeView"/>
  250. </item>
  251. </layout>
  252. </widget>
  253. <widget class="QWidget" name="widget_6" native="true">
  254. <layout class="QVBoxLayout" name="verticalLayout_7">
  255. <property name="margin">
  256. <number>0</number>
  257. </property>
  258. <item>
  259. <widget class="QLabel" name="previewTextLabel">
  260. <property name="minimumSize">
  261. <size>
  262. <width>0</width>
  263. <height>40</height>
  264. </size>
  265. </property>
  266. <property name="text">
  267. <string/>
  268. </property>
  269. <property name="alignment">
  270. <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
  271. </property>
  272. <property name="wordWrap">
  273. <bool>true</bool>
  274. </property>
  275. </widget>
  276. </item>
  277. <item>
  278. <widget class="QTextEdit" name="previewTextEdit">
  279. <property name="readOnly">
  280. <bool>true</bool>
  281. </property>
  282. </widget>
  283. </item>
  284. </layout>
  285. </widget>
  286. </widget>
  287. </item>
  288. </layout>
  289. </widget>
  290. </widget>
  291. </item>
  292. <item>
  293. <widget class="QWidget" name="widget" native="true">
  294. <layout class="QHBoxLayout" name="horizontalLayout_3">
  295. <property name="margin">
  296. <number>0</number>
  297. </property>
  298. <item>
  299. <widget class="QLabel" name="label">
  300. <property name="sizePolicy">
  301. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  302. <horstretch>0</horstretch>
  303. <verstretch>0</verstretch>
  304. </sizepolicy>
  305. </property>
  306. <property name="text">
  307. <string>Output directory</string>
  308. </property>
  309. </widget>
  310. </item>
  311. <item>
  312. <widget class="ctkDirectoryButton" name="outputDirButton">
  313. <property name="sizePolicy">
  314. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  315. <horstretch>1</horstretch>
  316. <verstretch>0</verstretch>
  317. </sizepolicy>
  318. </property>
  319. <property name="caption">
  320. <string>Choose output directory</string>
  321. </property>
  322. <property name="options">
  323. <set>ctkDirectoryButton::HideNameFilterDetails</set>
  324. </property>
  325. </widget>
  326. </item>
  327. </layout>
  328. </widget>
  329. </item>
  330. <item>
  331. <widget class="Line" name="line">
  332. <property name="orientation">
  333. <enum>Qt::Horizontal</enum>
  334. </property>
  335. </widget>
  336. </item>
  337. <item>
  338. <spacer name="verticalSpacer">
  339. <property name="orientation">
  340. <enum>Qt::Vertical</enum>
  341. </property>
  342. <property name="sizeHint" stdset="0">
  343. <size>
  344. <width>20</width>
  345. <height>4</height>
  346. </size>
  347. </property>
  348. </spacer>
  349. </item>
  350. <item>
  351. <widget class="QWidget" name="widget_3" native="true">
  352. <layout class="QHBoxLayout" name="horizontalLayout">
  353. <property name="margin">
  354. <number>0</number>
  355. </property>
  356. <item>
  357. <widget class="QPushButton" name="previewButton">
  358. <property name="text">
  359. <string>Preview &gt;&gt;</string>
  360. </property>
  361. </widget>
  362. </item>
  363. <item>
  364. <spacer name="horizontalSpacer_2">
  365. <property name="orientation">
  366. <enum>Qt::Horizontal</enum>
  367. </property>
  368. <property name="sizeHint" stdset="0">
  369. <size>
  370. <width>40</width>
  371. <height>20</height>
  372. </size>
  373. </property>
  374. </spacer>
  375. </item>
  376. <item>
  377. <widget class="QPushButton" name="generateButton">
  378. <property name="text">
  379. <string>Generate</string>
  380. </property>
  381. </widget>
  382. </item>
  383. <item>
  384. <widget class="QPushButton" name="cancelButton">
  385. <property name="text">
  386. <string>Exit</string>
  387. </property>
  388. </widget>
  389. </item>
  390. </layout>
  391. </widget>
  392. </item>
  393. </layout>
  394. </widget>
  395. <widget class="QMenuBar" name="menubar">
  396. <property name="geometry">
  397. <rect>
  398. <x>0</x>
  399. <y>0</y>
  400. <width>800</width>
  401. <height>25</height>
  402. </rect>
  403. </property>
  404. <widget class="QMenu" name="menuFile">
  405. <property name="title">
  406. <string>File</string>
  407. </property>
  408. <addaction name="actionOptions"/>
  409. <addaction name="separator"/>
  410. <addaction name="actionExit"/>
  411. </widget>
  412. <addaction name="menuFile"/>
  413. </widget>
  414. <widget class="QStatusBar" name="statusbar"/>
  415. <action name="actionExit">
  416. <property name="text">
  417. <string>Exit</string>
  418. </property>
  419. <property name="shortcut">
  420. <string>Ctrl+Q</string>
  421. </property>
  422. </action>
  423. <action name="actionOptions">
  424. <property name="text">
  425. <string>Options...</string>
  426. </property>
  427. </action>
  428. </widget>
  429. <customwidgets>
  430. <customwidget>
  431. <class>ctkDirectoryButton</class>
  432. <extends>QWidget</extends>
  433. <header>ctkDirectoryButton.h</header>
  434. </customwidget>
  435. </customwidgets>
  436. <resources/>
  437. <connections>
  438. <connection>
  439. <sender>actionExit</sender>
  440. <signal>triggered()</signal>
  441. <receiver>cancelButton</receiver>
  442. <slot>click()</slot>
  443. <hints>
  444. <hint type="sourcelabel">
  445. <x>-1</x>
  446. <y>-1</y>
  447. </hint>
  448. <hint type="destinationlabel">
  449. <x>748</x>
  450. <y>555</y>
  451. </hint>
  452. </hints>
  453. </connection>
  454. </connections>
  455. </ui>