customstyle.ui 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <ui version="4.0" stdsetdef="1" >
  2. <author></author>
  3. <comment></comment>
  4. <exportmacro></exportmacro>
  5. <class>CustomStyle</class>
  6. <widget class="QDialog" name="CustomStyle" >
  7. <property name="geometry" >
  8. <rect>
  9. <x>0</x>
  10. <y>0</y>
  11. <width>200</width>
  12. <height>236</height>
  13. </rect>
  14. </property>
  15. <property name="windowTitle" >
  16. <string>Edit Custom Style</string>
  17. </property>
  18. <layout class="QVBoxLayout" >
  19. <item>
  20. <layout class="QGridLayout" >
  21. <property name="margin" >
  22. <number>0</number>
  23. </property>
  24. <item row="1" column="0" >
  25. <widget class="QLabel" name="endingLabel" >
  26. <property name="text" >
  27. <string>&amp;Ending:</string>
  28. </property>
  29. <property name="buddy" stdset="0" >
  30. <cstring>ending</cstring>
  31. </property>
  32. <property name="wordWrap" >
  33. <bool>false</bool>
  34. </property>
  35. </widget>
  36. </item>
  37. <item row="0" column="0" >
  38. <widget class="QLabel" name="beginningLabel" >
  39. <property name="text" >
  40. <string>&amp;Beginning:</string>
  41. </property>
  42. <property name="buddy" stdset="0" >
  43. <cstring>beginning</cstring>
  44. </property>
  45. <property name="wordWrap" >
  46. <bool>false</bool>
  47. </property>
  48. </widget>
  49. </item>
  50. <item row="0" column="1" >
  51. <widget class="KLineEdit" name="beginning" />
  52. </item>
  53. <item row="1" column="1" >
  54. <widget class="KLineEdit" name="ending" />
  55. </item>
  56. </layout>
  57. </item>
  58. <item>
  59. <layout class="QHBoxLayout" >
  60. <property name="margin" >
  61. <number>0</number>
  62. </property>
  63. <item>
  64. <widget class="QLabel" name="ignoreEndingAfterLabel" >
  65. <property name="text" >
  66. <string>&amp;Ignore Ending After:</string>
  67. </property>
  68. <property name="buddy" stdset="0" >
  69. <cstring>ignoreEndingAfter</cstring>
  70. </property>
  71. <property name="wordWrap" >
  72. <bool>false</bool>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <widget class="KLineEdit" name="ignoreEndingAfter" >
  78. <property name="maxLength" >
  79. <number>1</number>
  80. </property>
  81. </widget>
  82. </item>
  83. </layout>
  84. </item>
  85. <item>
  86. <widget class="QCheckBox" name="switchable" >
  87. <property name="text" >
  88. <string>S&amp;witchable</string>
  89. </property>
  90. <property name="shortcut" >
  91. <string>Alt+W</string>
  92. </property>
  93. </widget>
  94. </item>
  95. <item>
  96. <widget class="QCheckBox" name="lineStartOnly" >
  97. <property name="text" >
  98. <string>Only &amp;at beginning of line</string>
  99. </property>
  100. <property name="shortcut" >
  101. <string>Alt+A</string>
  102. </property>
  103. </widget>
  104. </item>
  105. <item>
  106. <layout class="QHBoxLayout" >
  107. <property name="margin" >
  108. <number>0</number>
  109. </property>
  110. <item>
  111. <widget class="KPushButton" name="colorButton" >
  112. <property name="text" >
  113. <string>Co&amp;lor...</string>
  114. </property>
  115. <property name="shortcut" >
  116. <string>Alt+L</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <widget class="KPushButton" name="styleButton" >
  122. <property name="text" >
  123. <string>&amp;Style...</string>
  124. </property>
  125. <property name="shortcut" >
  126. <string>Alt+S</string>
  127. </property>
  128. </widget>
  129. </item>
  130. </layout>
  131. </item>
  132. <item>
  133. <spacer name="spacer18" >
  134. <property name="sizeHint" >
  135. <size>
  136. <width>20</width>
  137. <height>16</height>
  138. </size>
  139. </property>
  140. <property name="sizeType" >
  141. <enum>Expanding</enum>
  142. </property>
  143. <property name="orientation" >
  144. <enum>Vertical</enum>
  145. </property>
  146. </spacer>
  147. </item>
  148. <item>
  149. <layout class="QHBoxLayout" >
  150. <property name="margin" >
  151. <number>0</number>
  152. </property>
  153. <item>
  154. <widget class="KPushButton" name="okButton" >
  155. <property name="text" >
  156. <string>&amp;OK</string>
  157. </property>
  158. <property name="shortcut" >
  159. <string>Alt+O</string>
  160. </property>
  161. <property name="stdItem" stdset="0" >
  162. <number>1</number>
  163. </property>
  164. </widget>
  165. </item>
  166. <item>
  167. <widget class="KPushButton" name="cancelButton" >
  168. <property name="text" >
  169. <string>&amp;Cancel</string>
  170. </property>
  171. <property name="shortcut" >
  172. <string>Alt+C</string>
  173. </property>
  174. <property name="stdItem" stdset="0" >
  175. <number>2</number>
  176. </property>
  177. </widget>
  178. </item>
  179. </layout>
  180. </item>
  181. </layout>
  182. </widget>
  183. <layoutdefault spacing="6" margin="11" />
  184. <includes>
  185. <include location="local" >klineedit.h</include>
  186. <include location="local" >klineedit.h</include>
  187. <include location="local" >klineedit.h</include>
  188. <include location="local" >kpushbutton.h</include>
  189. <include location="local" >kpushbutton.h</include>
  190. <include location="local" >kpushbutton.h</include>
  191. <include location="local" >kpushbutton.h</include>
  192. </includes>
  193. <connections>
  194. <connection>
  195. <sender>cancelButton</sender>
  196. <signal>clicked()</signal>
  197. <receiver>CustomStyle</receiver>
  198. <slot>reject()</slot>
  199. </connection>
  200. <connection>
  201. <sender>okButton</sender>
  202. <signal>clicked()</signal>
  203. <receiver>CustomStyle</receiver>
  204. <slot>accept()</slot>
  205. </connection>
  206. </connections>
  207. </ui>