cssedit.ui 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <ui version="4.0" >
  2. <class>QStarDict::CSSEdit</class>
  3. <widget class="QWidget" name="QStarDict::CSSEdit" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>100</width>
  9. <height>30</height>
  10. </rect>
  11. </property>
  12. <layout class="QGridLayout" >
  13. <item row="0" column="0" >
  14. <widget class="QLabel" name="label" >
  15. <property name="text" >
  16. <string>Preview</string>
  17. </property>
  18. </widget>
  19. </item>
  20. <item row="1" column="0" colspan="5" >
  21. <widget class="QTextEdit" name="m_preview" >
  22. <property name="readOnly" >
  23. <bool>true</bool>
  24. </property>
  25. </widget>
  26. </item>
  27. <item row="2" column="0" >
  28. <widget class="QLabel" name="label_2" >
  29. <property name="text" >
  30. <string>Element</string>
  31. </property>
  32. </widget>
  33. </item>
  34. <item row="2" column="1" >
  35. <widget class="QLabel" name="label_3" >
  36. <property name="text" >
  37. <string>Foreground</string>
  38. </property>
  39. </widget>
  40. </item>
  41. <item row="2" column="2" colspan="3" >
  42. <widget class="QLabel" name="label_6" >
  43. <property name="text" >
  44. <string>Background</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="3" column="0" >
  49. <widget class="QComboBox" name="m_elementCombo" >
  50. <property name="toolTip" >
  51. <string>Select element</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="3" column="1" >
  56. <widget class="QToolButton" name="m_colorButton" >
  57. <property name="statusTip" >
  58. <string>Click to select color</string>
  59. </property>
  60. <property name="text" >
  61. <string>#000000</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="3" column="2" colspan="3" >
  66. <widget class="QToolButton" name="m_backgroundButton" >
  67. <property name="statusTip" >
  68. <string>Click to select color</string>
  69. </property>
  70. <property name="text" >
  71. <string>#000000</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="4" column="0" >
  76. <widget class="QLabel" name="label_4" >
  77. <property name="text" >
  78. <string>Font</string>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="4" column="1" >
  83. <widget class="QLabel" name="label_5" >
  84. <property name="text" >
  85. <string>Size</string>
  86. </property>
  87. </widget>
  88. </item>
  89. <item row="5" column="0" >
  90. <widget class="QFontComboBox" name="m_fontCombo" >
  91. <property name="toolTip" >
  92. <string>Select font</string>
  93. </property>
  94. </widget>
  95. </item>
  96. <item row="5" column="1" >
  97. <widget class="QSpinBox" name="m_sizeSpin" >
  98. <property name="toolTip" >
  99. <string>Select font size</string>
  100. </property>
  101. <property name="suffix" >
  102. <string>pt</string>
  103. </property>
  104. <property name="minimum" >
  105. <number>4</number>
  106. </property>
  107. <property name="maximum" >
  108. <number>150</number>
  109. </property>
  110. <property name="singleStep" >
  111. <number>2</number>
  112. </property>
  113. <property name="value" >
  114. <number>10</number>
  115. </property>
  116. </widget>
  117. </item>
  118. <item row="5" column="2" >
  119. <widget class="QToolButton" name="m_boldButton" >
  120. <property name="font" >
  121. <font>
  122. <weight>75</weight>
  123. <bold>true</bold>
  124. </font>
  125. </property>
  126. <property name="toolTip" >
  127. <string>Bold</string>
  128. </property>
  129. <property name="text" >
  130. <string>B</string>
  131. </property>
  132. <property name="checkable" >
  133. <bool>true</bool>
  134. </property>
  135. </widget>
  136. </item>
  137. <item row="5" column="3" >
  138. <widget class="QToolButton" name="m_italicButton" >
  139. <property name="font" >
  140. <font>
  141. <weight>50</weight>
  142. <italic>true</italic>
  143. <bold>false</bold>
  144. </font>
  145. </property>
  146. <property name="toolTip" >
  147. <string>Italic</string>
  148. </property>
  149. <property name="text" >
  150. <string>I</string>
  151. </property>
  152. <property name="checkable" >
  153. <bool>true</bool>
  154. </property>
  155. </widget>
  156. </item>
  157. <item row="5" column="4" >
  158. <widget class="QToolButton" name="m_underlineButton" >
  159. <property name="font" >
  160. <font>
  161. <weight>50</weight>
  162. <bold>false</bold>
  163. <underline>true</underline>
  164. </font>
  165. </property>
  166. <property name="toolTip" >
  167. <string>Underline</string>
  168. </property>
  169. <property name="text" >
  170. <string>U</string>
  171. </property>
  172. <property name="checkable" >
  173. <bool>true</bool>
  174. </property>
  175. </widget>
  176. </item>
  177. </layout>
  178. </widget>
  179. <tabstops>
  180. <tabstop>m_elementCombo</tabstop>
  181. <tabstop>m_colorButton</tabstop>
  182. <tabstop>m_fontCombo</tabstop>
  183. <tabstop>m_sizeSpin</tabstop>
  184. <tabstop>m_boldButton</tabstop>
  185. <tabstop>m_italicButton</tabstop>
  186. <tabstop>m_underlineButton</tabstop>
  187. </tabstops>
  188. <resources/>
  189. <connections/>
  190. </ui>