selectstyle.ui 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <ui version="4.0" stdsetdef="1" >
  2. <author></author>
  3. <comment></comment>
  4. <exportmacro></exportmacro>
  5. <class>SelectStyle</class>
  6. <widget class="QDialog" name="SelectStyle" >
  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="windowTitle" >
  16. <string>Select Style</string>
  17. </property>
  18. <layout class="QVBoxLayout" >
  19. <item>
  20. <widget class="QCheckBox" name="customStyle" >
  21. <property name="text" >
  22. <string>Custom &amp;Style</string>
  23. </property>
  24. <property name="shortcut" >
  25. <string>Alt+S</string>
  26. </property>
  27. </widget>
  28. </item>
  29. <item>
  30. <layout class="QHBoxLayout" >
  31. <property name="margin" >
  32. <number>0</number>
  33. </property>
  34. <item>
  35. <spacer name="spacer42" >
  36. <property name="sizeHint" >
  37. <size>
  38. <width>33</width>
  39. <height>20</height>
  40. </size>
  41. </property>
  42. <property name="sizeType" >
  43. <enum>Expanding</enum>
  44. </property>
  45. <property name="orientation" >
  46. <enum>Horizontal</enum>
  47. </property>
  48. </spacer>
  49. </item>
  50. <item>
  51. <layout class="QGridLayout" >
  52. <property name="margin" >
  53. <number>0</number>
  54. </property>
  55. <item row="0" column="1" >
  56. <widget class="QCheckBox" name="underlineChk" >
  57. <property name="enabled" >
  58. <bool>false</bool>
  59. </property>
  60. <property name="text" >
  61. <string>&amp;Underline</string>
  62. </property>
  63. <property name="shortcut" >
  64. <string>Alt+U</string>
  65. </property>
  66. </widget>
  67. </item>
  68. <item row="0" column="0" >
  69. <widget class="QCheckBox" name="boldChk" >
  70. <property name="enabled" >
  71. <bool>false</bool>
  72. </property>
  73. <property name="text" >
  74. <string>&amp;Bold</string>
  75. </property>
  76. <property name="shortcut" >
  77. <string>Alt+B</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="1" column="0" >
  82. <widget class="QCheckBox" name="italicChk" >
  83. <property name="enabled" >
  84. <bool>false</bool>
  85. </property>
  86. <property name="text" >
  87. <string>&amp;Italic</string>
  88. </property>
  89. <property name="shortcut" >
  90. <string>Alt+I</string>
  91. </property>
  92. </widget>
  93. </item>
  94. <item row="1" column="1" >
  95. <widget class="QCheckBox" name="strikeoutChk" >
  96. <property name="enabled" >
  97. <bool>false</bool>
  98. </property>
  99. <property name="text" >
  100. <string>S&amp;trike Out</string>
  101. </property>
  102. <property name="shortcut" >
  103. <string>Alt+T</string>
  104. </property>
  105. </widget>
  106. </item>
  107. </layout>
  108. </item>
  109. </layout>
  110. </item>
  111. <item>
  112. <spacer name="spacer18" >
  113. <property name="sizeHint" >
  114. <size>
  115. <width>20</width>
  116. <height>3</height>
  117. </size>
  118. </property>
  119. <property name="sizeType" >
  120. <enum>Expanding</enum>
  121. </property>
  122. <property name="orientation" >
  123. <enum>Vertical</enum>
  124. </property>
  125. </spacer>
  126. </item>
  127. <item>
  128. <layout class="QHBoxLayout" >
  129. <property name="margin" >
  130. <number>0</number>
  131. </property>
  132. <item>
  133. <widget class="KPushButton" name="okButton" >
  134. <property name="text" >
  135. <string>&amp;OK</string>
  136. </property>
  137. <property name="shortcut" >
  138. <string>Alt+O</string>
  139. </property>
  140. <property name="stdItem" stdset="0" >
  141. <number>1</number>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="KPushButton" name="cancelButton" >
  147. <property name="text" >
  148. <string>&amp;Cancel</string>
  149. </property>
  150. <property name="shortcut" >
  151. <string>Alt+C</string>
  152. </property>
  153. <property name="stdItem" stdset="0" >
  154. <number>2</number>
  155. </property>
  156. </widget>
  157. </item>
  158. </layout>
  159. </item>
  160. </layout>
  161. </widget>
  162. <layoutdefault spacing="6" margin="11" />
  163. <tabstops>
  164. <tabstop>customStyle</tabstop>
  165. <tabstop>boldChk</tabstop>
  166. <tabstop>underlineChk</tabstop>
  167. <tabstop>italicChk</tabstop>
  168. <tabstop>strikeoutChk</tabstop>
  169. <tabstop>okButton</tabstop>
  170. <tabstop>cancelButton</tabstop>
  171. </tabstops>
  172. <includes>
  173. <include location="local" >kpushbutton.h</include>
  174. <include location="local" >kpushbutton.h</include>
  175. </includes>
  176. <connections>
  177. <connection>
  178. <sender>okButton</sender>
  179. <signal>clicked()</signal>
  180. <receiver>SelectStyle</receiver>
  181. <slot>accept()</slot>
  182. </connection>
  183. <connection>
  184. <sender>cancelButton</sender>
  185. <signal>clicked()</signal>
  186. <receiver>SelectStyle</receiver>
  187. <slot>reject()</slot>
  188. </connection>
  189. <connection>
  190. <sender>customStyle</sender>
  191. <signal>toggled(bool)</signal>
  192. <receiver>SelectStyle</receiver>
  193. <slot>customStyle_toggled(bool)</slot>
  194. </connection>
  195. </connections>
  196. </ui>