selectstyle.ui 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>SelectStyle</class>
  3. <widget class="QDialog">
  4. <property name="name">
  5. <cstring>SelectStyle</cstring>
  6. </property>
  7. <property name="geometry">
  8. <rect>
  9. <x>0</x>
  10. <y>0</y>
  11. <width>200</width>
  12. <height>143</height>
  13. </rect>
  14. </property>
  15. <property name="caption">
  16. <string>Select Style</string>
  17. </property>
  18. <vbox>
  19. <property name="name">
  20. <cstring>unnamed</cstring>
  21. </property>
  22. <widget class="QCheckBox">
  23. <property name="name">
  24. <cstring>customStyle</cstring>
  25. </property>
  26. <property name="text">
  27. <string>Custom &amp;Style</string>
  28. </property>
  29. <property name="accel">
  30. <string>Alt+S</string>
  31. </property>
  32. </widget>
  33. <widget class="QLayoutWidget">
  34. <property name="name">
  35. <cstring>layout38</cstring>
  36. </property>
  37. <hbox>
  38. <property name="name">
  39. <cstring>unnamed</cstring>
  40. </property>
  41. <spacer>
  42. <property name="name">
  43. <cstring>spacer42</cstring>
  44. </property>
  45. <property name="orientation">
  46. <enum>Horizontal</enum>
  47. </property>
  48. <property name="sizeType">
  49. <enum>Expanding</enum>
  50. </property>
  51. <property name="sizeHint">
  52. <size>
  53. <width>33</width>
  54. <height>20</height>
  55. </size>
  56. </property>
  57. </spacer>
  58. <widget class="QLayoutWidget">
  59. <property name="name">
  60. <cstring>layout37</cstring>
  61. </property>
  62. <grid>
  63. <property name="name">
  64. <cstring>unnamed</cstring>
  65. </property>
  66. <widget class="QCheckBox" row="0" column="1">
  67. <property name="name">
  68. <cstring>underlineChk</cstring>
  69. </property>
  70. <property name="enabled">
  71. <bool>false</bool>
  72. </property>
  73. <property name="text">
  74. <string>&amp;Underline</string>
  75. </property>
  76. <property name="accel">
  77. <string>Alt+U</string>
  78. </property>
  79. </widget>
  80. <widget class="QCheckBox" row="0" column="0">
  81. <property name="name">
  82. <cstring>boldChk</cstring>
  83. </property>
  84. <property name="enabled">
  85. <bool>false</bool>
  86. </property>
  87. <property name="text">
  88. <string>&amp;Bold</string>
  89. </property>
  90. <property name="accel">
  91. <string>Alt+B</string>
  92. </property>
  93. </widget>
  94. <widget class="QCheckBox" row="1" column="0">
  95. <property name="name">
  96. <cstring>italicChk</cstring>
  97. </property>
  98. <property name="enabled">
  99. <bool>false</bool>
  100. </property>
  101. <property name="text">
  102. <string>&amp;Italic</string>
  103. </property>
  104. <property name="accel">
  105. <string>Alt+I</string>
  106. </property>
  107. </widget>
  108. <widget class="QCheckBox" row="1" column="1">
  109. <property name="name">
  110. <cstring>strikeoutChk</cstring>
  111. </property>
  112. <property name="enabled">
  113. <bool>false</bool>
  114. </property>
  115. <property name="text">
  116. <string>S&amp;trike Out</string>
  117. </property>
  118. <property name="accel">
  119. <string>Alt+T</string>
  120. </property>
  121. </widget>
  122. </grid>
  123. </widget>
  124. </hbox>
  125. </widget>
  126. <spacer>
  127. <property name="name">
  128. <cstring>spacer18</cstring>
  129. </property>
  130. <property name="orientation">
  131. <enum>Vertical</enum>
  132. </property>
  133. <property name="sizeType">
  134. <enum>Expanding</enum>
  135. </property>
  136. <property name="sizeHint">
  137. <size>
  138. <width>20</width>
  139. <height>3</height>
  140. </size>
  141. </property>
  142. </spacer>
  143. <widget class="QLayoutWidget">
  144. <property name="name">
  145. <cstring>layout2</cstring>
  146. </property>
  147. <hbox>
  148. <property name="name">
  149. <cstring>unnamed</cstring>
  150. </property>
  151. <widget class="KPushButton">
  152. <property name="name">
  153. <cstring>okButton</cstring>
  154. </property>
  155. <property name="text">
  156. <string>&amp;OK</string>
  157. </property>
  158. <property name="accel">
  159. <string>Alt+O</string>
  160. </property>
  161. <property name="stdItem" stdset="0">
  162. <number>1</number>
  163. </property>
  164. </widget>
  165. <widget class="KPushButton">
  166. <property name="name">
  167. <cstring>cancelButton</cstring>
  168. </property>
  169. <property name="text">
  170. <string>&amp;Cancel</string>
  171. </property>
  172. <property name="accel">
  173. <string>Alt+C</string>
  174. </property>
  175. <property name="stdItem" stdset="0">
  176. <number>2</number>
  177. </property>
  178. </widget>
  179. </hbox>
  180. </widget>
  181. </vbox>
  182. </widget>
  183. <connections>
  184. <connection>
  185. <sender>okButton</sender>
  186. <signal>clicked()</signal>
  187. <receiver>SelectStyle</receiver>
  188. <slot>accept()</slot>
  189. </connection>
  190. <connection>
  191. <sender>cancelButton</sender>
  192. <signal>clicked()</signal>
  193. <receiver>SelectStyle</receiver>
  194. <slot>reject()</slot>
  195. </connection>
  196. <connection>
  197. <sender>customStyle</sender>
  198. <signal>toggled(bool)</signal>
  199. <receiver>SelectStyle</receiver>
  200. <slot>customStyle_toggled(bool)</slot>
  201. </connection>
  202. </connections>
  203. <tabstops>
  204. <tabstop>customStyle</tabstop>
  205. <tabstop>boldChk</tabstop>
  206. <tabstop>underlineChk</tabstop>
  207. <tabstop>italicChk</tabstop>
  208. <tabstop>strikeoutChk</tabstop>
  209. <tabstop>okButton</tabstop>
  210. <tabstop>cancelButton</tabstop>
  211. </tabstops>
  212. <includes>
  213. <include location="local" impldecl="in implementation">selectstyle.ui.h</include>
  214. </includes>
  215. <slots>
  216. <slot>customStyle_toggled( bool on )</slot>
  217. </slots>
  218. <pixmapinproject/>
  219. <layoutdefaults spacing="6" margin="11"/>
  220. <includehints>
  221. <includehint>kpushbutton.h</includehint>
  222. <includehint>kpushbutton.h</includehint>
  223. </includehints>
  224. </UI>