qtlangset.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>QtLangSetClass</class>
  4. <widget class="QMainWindow" name="QtLangSetClass">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>749</width>
  10. <height>589</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>QtLangSet</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="RealCompare.qrc">
  18. <normaloff>:/Resources/edit/global/ndd.ico</normaloff>:/Resources/edit/global/ndd.ico</iconset>
  19. </property>
  20. <widget class="QWidget" name="centralWidget">
  21. <layout class="QHBoxLayout" name="horizontalLayout_5">
  22. <item>
  23. <layout class="QHBoxLayout" name="horizontalLayout">
  24. <item>
  25. <layout class="QVBoxLayout" name="verticalLayout">
  26. <item>
  27. <widget class="QLabel" name="label">
  28. <property name="text">
  29. <string>Language</string>
  30. </property>
  31. </widget>
  32. </item>
  33. <item>
  34. <widget class="QListWidget" name="langListWidget">
  35. <property name="minimumSize">
  36. <size>
  37. <width>100</width>
  38. <height>0</height>
  39. </size>
  40. </property>
  41. <property name="maximumSize">
  42. <size>
  43. <width>200</width>
  44. <height>16777215</height>
  45. </size>
  46. </property>
  47. </widget>
  48. </item>
  49. </layout>
  50. </item>
  51. <item>
  52. <layout class="QVBoxLayout" name="verticalLayout_2">
  53. <item>
  54. <widget class="QLabel" name="label_2">
  55. <property name="text">
  56. <string>Style</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item>
  61. <widget class="QListWidget" name="styleListWidget">
  62. <property name="minimumSize">
  63. <size>
  64. <width>250</width>
  65. <height>0</height>
  66. </size>
  67. </property>
  68. <property name="maximumSize">
  69. <size>
  70. <width>500</width>
  71. <height>16777215</height>
  72. </size>
  73. </property>
  74. </widget>
  75. </item>
  76. </layout>
  77. </item>
  78. </layout>
  79. </item>
  80. <item>
  81. <layout class="QVBoxLayout" name="verticalLayout_5">
  82. <item>
  83. <layout class="QVBoxLayout" name="verticalLayout_4">
  84. <item>
  85. <widget class="QGroupBox" name="groupBox_2">
  86. <property name="title">
  87. <string>Color</string>
  88. </property>
  89. <layout class="QVBoxLayout" name="verticalLayout_6">
  90. <item>
  91. <layout class="QHBoxLayout" name="horizontalLayout_6">
  92. <item>
  93. <widget class="QLabel" name="label_3">
  94. <property name="text">
  95. <string>Foreground:</string>
  96. </property>
  97. </widget>
  98. </item>
  99. <item>
  100. <widget class="QLabel" name="label_fc">
  101. <property name="sizePolicy">
  102. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  103. <horstretch>0</horstretch>
  104. <verstretch>0</verstretch>
  105. </sizepolicy>
  106. </property>
  107. <property name="minimumSize">
  108. <size>
  109. <width>32</width>
  110. <height>32</height>
  111. </size>
  112. </property>
  113. <property name="text">
  114. <string>TextLabel</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <widget class="QToolButton" name="toolButton">
  120. <property name="text">
  121. <string>Select</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item>
  126. <spacer name="horizontalSpacer">
  127. <property name="orientation">
  128. <enum>Qt::Horizontal</enum>
  129. </property>
  130. <property name="sizeHint" stdset="0">
  131. <size>
  132. <width>40</width>
  133. <height>20</height>
  134. </size>
  135. </property>
  136. </spacer>
  137. </item>
  138. </layout>
  139. </item>
  140. <item>
  141. <layout class="QHBoxLayout" name="horizontalLayout_7">
  142. <item>
  143. <widget class="QLabel" name="label_4">
  144. <property name="text">
  145. <string>background:</string>
  146. </property>
  147. </widget>
  148. </item>
  149. <item>
  150. <widget class="QLabel" name="label_bc">
  151. <property name="sizePolicy">
  152. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  153. <horstretch>0</horstretch>
  154. <verstretch>0</verstretch>
  155. </sizepolicy>
  156. </property>
  157. <property name="minimumSize">
  158. <size>
  159. <width>32</width>
  160. <height>32</height>
  161. </size>
  162. </property>
  163. <property name="text">
  164. <string>Same As Theme</string>
  165. </property>
  166. </widget>
  167. </item>
  168. <item>
  169. <spacer name="horizontalSpacer_2">
  170. <property name="orientation">
  171. <enum>Qt::Horizontal</enum>
  172. </property>
  173. <property name="sizeHint" stdset="0">
  174. <size>
  175. <width>40</width>
  176. <height>20</height>
  177. </size>
  178. </property>
  179. </spacer>
  180. </item>
  181. </layout>
  182. </item>
  183. </layout>
  184. </widget>
  185. </item>
  186. <item>
  187. <widget class="QGroupBox" name="groupBox_3">
  188. <property name="title">
  189. <string>Font</string>
  190. </property>
  191. <layout class="QGridLayout" name="gridLayout_2">
  192. <item row="1" column="1">
  193. <layout class="QHBoxLayout" name="horizontalLayout_3">
  194. <item>
  195. <widget class="QLabel" name="label_8">
  196. <property name="text">
  197. <string>Font Size:</string>
  198. </property>
  199. </widget>
  200. </item>
  201. <item>
  202. <widget class="QSpinBox" name="fontSpinBox"/>
  203. </item>
  204. </layout>
  205. </item>
  206. <item row="1" column="0">
  207. <layout class="QVBoxLayout" name="verticalLayout_3">
  208. <item>
  209. <widget class="QCheckBox" name="boldCheckBox">
  210. <property name="text">
  211. <string>Bold</string>
  212. </property>
  213. </widget>
  214. </item>
  215. <item>
  216. <widget class="QCheckBox" name="italicCheckBox">
  217. <property name="text">
  218. <string>Italic</string>
  219. </property>
  220. </widget>
  221. </item>
  222. <item>
  223. <widget class="QCheckBox" name="underlineCheckBox">
  224. <property name="text">
  225. <string>Underline</string>
  226. </property>
  227. </widget>
  228. </item>
  229. </layout>
  230. </item>
  231. <item row="0" column="0" colspan="2">
  232. <layout class="QHBoxLayout" name="horizontalLayout_2">
  233. <item>
  234. <widget class="QLabel" name="label_7">
  235. <property name="text">
  236. <string>Name:</string>
  237. </property>
  238. </widget>
  239. </item>
  240. <item>
  241. <widget class="QFontComboBox" name="fontComboBox"/>
  242. </item>
  243. </layout>
  244. </item>
  245. </layout>
  246. </widget>
  247. </item>
  248. <item>
  249. <spacer name="verticalSpacer">
  250. <property name="orientation">
  251. <enum>Qt::Vertical</enum>
  252. </property>
  253. <property name="sizeHint" stdset="0">
  254. <size>
  255. <width>20</width>
  256. <height>40</height>
  257. </size>
  258. </property>
  259. </spacer>
  260. </item>
  261. </layout>
  262. </item>
  263. <item>
  264. <layout class="QHBoxLayout" name="horizontalLayout_4">
  265. <item>
  266. <widget class="QPushButton" name="saveBt">
  267. <property name="text">
  268. <string>Save</string>
  269. </property>
  270. </widget>
  271. </item>
  272. <item>
  273. <widget class="QPushButton" name="cancelBt">
  274. <property name="text">
  275. <string>Close</string>
  276. </property>
  277. </widget>
  278. </item>
  279. </layout>
  280. </item>
  281. </layout>
  282. </item>
  283. </layout>
  284. </widget>
  285. <widget class="QMenuBar" name="menuBar">
  286. <property name="geometry">
  287. <rect>
  288. <x>0</x>
  289. <y>0</y>
  290. <width>749</width>
  291. <height>23</height>
  292. </rect>
  293. </property>
  294. </widget>
  295. <widget class="QToolBar" name="mainToolBar">
  296. <attribute name="toolBarArea">
  297. <enum>TopToolBarArea</enum>
  298. </attribute>
  299. <attribute name="toolBarBreak">
  300. <bool>false</bool>
  301. </attribute>
  302. </widget>
  303. <widget class="QStatusBar" name="statusBar"/>
  304. </widget>
  305. <layoutdefault spacing="6" margin="11"/>
  306. <resources>
  307. <include location="RealCompare.qrc"/>
  308. </resources>
  309. <connections>
  310. <connection>
  311. <sender>cancelBt</sender>
  312. <signal>clicked()</signal>
  313. <receiver>QtLangSetClass</receiver>
  314. <slot>close()</slot>
  315. <hints>
  316. <hint type="sourcelabel">
  317. <x>696</x>
  318. <y>547</y>
  319. </hint>
  320. <hint type="destinationlabel">
  321. <x>709</x>
  322. <y>561</y>
  323. </hint>
  324. </hints>
  325. </connection>
  326. <connection>
  327. <sender>saveBt</sender>
  328. <signal>clicked()</signal>
  329. <receiver>QtLangSetClass</receiver>
  330. <slot>slot_saveClick()</slot>
  331. <hints>
  332. <hint type="sourcelabel">
  333. <x>560</x>
  334. <y>547</y>
  335. </hint>
  336. <hint type="destinationlabel">
  337. <x>575</x>
  338. <y>559</y>
  339. </hint>
  340. </hints>
  341. </connection>
  342. <connection>
  343. <sender>toolButton</sender>
  344. <signal>clicked()</signal>
  345. <receiver>QtLangSetClass</receiver>
  346. <slot>slot_changeFgColor()</slot>
  347. <hints>
  348. <hint type="sourcelabel">
  349. <x>647</x>
  350. <y>87</y>
  351. </hint>
  352. <hint type="destinationlabel">
  353. <x>462</x>
  354. <y>561</y>
  355. </hint>
  356. </hints>
  357. </connection>
  358. </connections>
  359. <slots>
  360. <slot>slot_saveClick()</slot>
  361. <slot>slot_changeFgColor()</slot>
  362. <slot>slot_changeBkColor()</slot>
  363. </slots>
  364. </ui>