Preferences.ui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Preferences</class>
  4. <widget class="QDialog" name="Preferences">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>530</width>
  10. <height>408</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Preferences</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="0" column="0">
  18. <layout class="QVBoxLayout" name="verticalLayout">
  19. <item>
  20. <layout class="QHBoxLayout" name="horizontalLayout" stretch="3,5">
  21. <item>
  22. <widget class="QListWidget" name="listWidget">
  23. <item>
  24. <property name="text">
  25. <string>font</string>
  26. </property>
  27. </item>
  28. </widget>
  29. </item>
  30. <item>
  31. <layout class="QVBoxLayout" name="verticalLayout_2">
  32. <item>
  33. <widget class="QStackedWidget" name="stackedWidget">
  34. <property name="currentIndex">
  35. <number>0</number>
  36. </property>
  37. <widget class="QWidget" name="page">
  38. <layout class="QGridLayout" name="gridLayout_2">
  39. <item row="0" column="0">
  40. <layout class="QVBoxLayout" name="verticalLayout_3">
  41. <item>
  42. <layout class="QHBoxLayout" name="horizontalLayout_6">
  43. <item>
  44. <spacer name="horizontalSpacer_4">
  45. <property name="orientation">
  46. <enum>Qt::Horizontal</enum>
  47. </property>
  48. <property name="sizeHint" stdset="0">
  49. <size>
  50. <width>40</width>
  51. <height>20</height>
  52. </size>
  53. </property>
  54. </spacer>
  55. </item>
  56. <item>
  57. <layout class="QGridLayout" name="gridLayout_4">
  58. <item row="0" column="1">
  59. <widget class="QSpinBox" name="font_size">
  60. <property name="value">
  61. <number>0</number>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="0" column="2">
  66. <widget class="QComboBox" name="font_family"/>
  67. </item>
  68. <item row="1" column="0">
  69. <widget class="QLabel" name="label_2">
  70. <property name="text">
  71. <string>system</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="1" column="1">
  76. <widget class="QSpinBox" name="sys_font_size"/>
  77. </item>
  78. <item row="0" column="0">
  79. <widget class="QLabel" name="label">
  80. <property name="text">
  81. <string>text</string>
  82. </property>
  83. </widget>
  84. </item>
  85. <item row="1" column="2">
  86. <widget class="QComboBox" name="sys_font_family"/>
  87. </item>
  88. </layout>
  89. </item>
  90. </layout>
  91. </item>
  92. <item>
  93. <spacer name="verticalSpacer">
  94. <property name="orientation">
  95. <enum>Qt::Vertical</enum>
  96. </property>
  97. <property name="sizeHint" stdset="0">
  98. <size>
  99. <width>20</width>
  100. <height>40</height>
  101. </size>
  102. </property>
  103. </spacer>
  104. </item>
  105. <item>
  106. <layout class="QHBoxLayout" name="horizontalLayout_5">
  107. <item>
  108. <spacer name="horizontalSpacer_2">
  109. <property name="orientation">
  110. <enum>Qt::Horizontal</enum>
  111. </property>
  112. <property name="sizeHint" stdset="0">
  113. <size>
  114. <width>40</width>
  115. <height>20</height>
  116. </size>
  117. </property>
  118. </spacer>
  119. </item>
  120. <item>
  121. <widget class="QPushButton" name="btn_save">
  122. <property name="text">
  123. <string>Save as Default</string>
  124. </property>
  125. </widget>
  126. </item>
  127. </layout>
  128. </item>
  129. </layout>
  130. </item>
  131. </layout>
  132. </widget>
  133. <widget class="QWidget" name="page_2"/>
  134. </widget>
  135. </item>
  136. </layout>
  137. </item>
  138. </layout>
  139. </item>
  140. </layout>
  141. </item>
  142. <item row="1" column="0">
  143. <layout class="QHBoxLayout" name="horizontalLayout_2">
  144. <item>
  145. <widget class="QPushButton" name="btn_reset">
  146. <property name="text">
  147. <string>Reset to System Default</string>
  148. </property>
  149. </widget>
  150. </item>
  151. <item>
  152. <spacer name="horizontalSpacer">
  153. <property name="orientation">
  154. <enum>Qt::Horizontal</enum>
  155. </property>
  156. <property name="sizeHint" stdset="0">
  157. <size>
  158. <width>40</width>
  159. <height>20</height>
  160. </size>
  161. </property>
  162. </spacer>
  163. </item>
  164. <item>
  165. <widget class="QPushButton" name="btn_ok">
  166. <property name="text">
  167. <string>OK</string>
  168. </property>
  169. </widget>
  170. </item>
  171. <item>
  172. <widget class="QPushButton" name="btn_cancel">
  173. <property name="text">
  174. <string>Cancel</string>
  175. </property>
  176. </widget>
  177. </item>
  178. <item>
  179. <widget class="QPushButton" name="btn_apply">
  180. <property name="text">
  181. <string>Apply</string>
  182. </property>
  183. </widget>
  184. </item>
  185. </layout>
  186. </item>
  187. </layout>
  188. </widget>
  189. <resources/>
  190. <connections>
  191. <connection>
  192. <sender>btn_cancel</sender>
  193. <signal>clicked()</signal>
  194. <receiver>Preferences</receiver>
  195. <slot>close()</slot>
  196. <hints>
  197. <hint type="sourcelabel">
  198. <x>349</x>
  199. <y>278</y>
  200. </hint>
  201. <hint type="destinationlabel">
  202. <x>238</x>
  203. <y>149</y>
  204. </hint>
  205. </hints>
  206. </connection>
  207. </connections>
  208. </ui>