customstyle.ui 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <ui version="4.0" >
  2. <class>CustomStyle</class>
  3. <widget class="QDialog" name="CustomStyle" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>208</width>
  9. <height>261</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>Edit Custom Style</string>
  14. </property>
  15. <layout class="QVBoxLayout" >
  16. <item>
  17. <layout class="QGridLayout" >
  18. <property name="leftMargin" >
  19. <number>0</number>
  20. </property>
  21. <property name="topMargin" >
  22. <number>0</number>
  23. </property>
  24. <property name="rightMargin" >
  25. <number>0</number>
  26. </property>
  27. <property name="bottomMargin" >
  28. <number>0</number>
  29. </property>
  30. <item row="1" column="0" >
  31. <widget class="QLabel" name="endingLabel" >
  32. <property name="text" >
  33. <string>&amp;Ending:</string>
  34. </property>
  35. <property name="wordWrap" >
  36. <bool>false</bool>
  37. </property>
  38. <property name="buddy" >
  39. <cstring>ending</cstring>
  40. </property>
  41. </widget>
  42. </item>
  43. <item row="0" column="0" >
  44. <widget class="QLabel" name="beginningLabel" >
  45. <property name="text" >
  46. <string>&amp;Beginning:</string>
  47. </property>
  48. <property name="wordWrap" >
  49. <bool>false</bool>
  50. </property>
  51. <property name="buddy" >
  52. <cstring>beginning</cstring>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="0" column="1" >
  57. <widget class="KLineEdit" name="beginning" />
  58. </item>
  59. <item row="1" column="1" >
  60. <widget class="KLineEdit" name="ending" />
  61. </item>
  62. </layout>
  63. </item>
  64. <item>
  65. <layout class="QHBoxLayout" >
  66. <property name="leftMargin" >
  67. <number>0</number>
  68. </property>
  69. <property name="topMargin" >
  70. <number>0</number>
  71. </property>
  72. <property name="rightMargin" >
  73. <number>0</number>
  74. </property>
  75. <property name="bottomMargin" >
  76. <number>0</number>
  77. </property>
  78. <item>
  79. <widget class="QLabel" name="ignoreEndingAfterLabel" >
  80. <property name="text" >
  81. <string>&amp;Ignore Ending After:</string>
  82. </property>
  83. <property name="wordWrap" >
  84. <bool>false</bool>
  85. </property>
  86. <property name="buddy" >
  87. <cstring>ignoreEndingAfter</cstring>
  88. </property>
  89. </widget>
  90. </item>
  91. <item>
  92. <widget class="KLineEdit" name="ignoreEndingAfter" >
  93. <property name="maxLength" >
  94. <number>1</number>
  95. </property>
  96. </widget>
  97. </item>
  98. </layout>
  99. </item>
  100. <item>
  101. <widget class="QCheckBox" name="switchable" >
  102. <property name="text" >
  103. <string>S&amp;witchable</string>
  104. </property>
  105. <property name="shortcut" >
  106. <string>Alt+W</string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item>
  111. <widget class="QCheckBox" name="lineStartOnly" >
  112. <property name="text" >
  113. <string>Only &amp;at beginning of line</string>
  114. </property>
  115. <property name="shortcut" >
  116. <string>Alt+A</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <layout class="QHBoxLayout" >
  122. <property name="leftMargin" >
  123. <number>0</number>
  124. </property>
  125. <property name="topMargin" >
  126. <number>0</number>
  127. </property>
  128. <property name="rightMargin" >
  129. <number>0</number>
  130. </property>
  131. <property name="bottomMargin" >
  132. <number>0</number>
  133. </property>
  134. <item>
  135. <widget class="KPushButton" name="colorButton" >
  136. <property name="text" >
  137. <string>Co&amp;lor...</string>
  138. </property>
  139. <property name="shortcut" >
  140. <string>Alt+L</string>
  141. </property>
  142. </widget>
  143. </item>
  144. <item>
  145. <widget class="KPushButton" name="styleButton" >
  146. <property name="text" >
  147. <string>&amp;Style...</string>
  148. </property>
  149. <property name="shortcut" >
  150. <string>Alt+S</string>
  151. </property>
  152. </widget>
  153. </item>
  154. </layout>
  155. </item>
  156. <item>
  157. <spacer>
  158. <property name="orientation" >
  159. <enum>Qt::Vertical</enum>
  160. </property>
  161. <property name="sizeType" >
  162. <enum>QSizePolicy::Expanding</enum>
  163. </property>
  164. <property name="sizeHint" >
  165. <size>
  166. <width>20</width>
  167. <height>16</height>
  168. </size>
  169. </property>
  170. </spacer>
  171. </item>
  172. <item>
  173. <layout class="QHBoxLayout" >
  174. <property name="leftMargin" >
  175. <number>0</number>
  176. </property>
  177. <property name="topMargin" >
  178. <number>0</number>
  179. </property>
  180. <property name="rightMargin" >
  181. <number>0</number>
  182. </property>
  183. <property name="bottomMargin" >
  184. <number>0</number>
  185. </property>
  186. <item>
  187. <widget class="KPushButton" name="okButton" >
  188. <property name="text" >
  189. <string>&amp;OK</string>
  190. </property>
  191. <property name="shortcut" >
  192. <string>Alt+O</string>
  193. </property>
  194. </widget>
  195. </item>
  196. <item>
  197. <widget class="KPushButton" name="cancelButton" >
  198. <property name="text" >
  199. <string>&amp;Cancel</string>
  200. </property>
  201. <property name="shortcut" >
  202. <string>Alt+C</string>
  203. </property>
  204. </widget>
  205. </item>
  206. </layout>
  207. </item>
  208. </layout>
  209. </widget>
  210. <layoutdefault spacing="6" margin="11" />
  211. <customwidgets>
  212. <customwidget>
  213. <class>KLineEdit</class>
  214. <extends>QLineEdit</extends>
  215. <header>klineedit.h</header>
  216. </customwidget>
  217. <customwidget>
  218. <class>KPushButton</class>
  219. <extends>QPushButton</extends>
  220. <header>kpushbutton.h</header>
  221. </customwidget>
  222. </customwidgets>
  223. <includes>
  224. <include location="local" >klineedit.h</include>
  225. <include location="local" >klineedit.h</include>
  226. <include location="local" >klineedit.h</include>
  227. <include location="local" >kpushbutton.h</include>
  228. <include location="local" >kpushbutton.h</include>
  229. <include location="local" >kpushbutton.h</include>
  230. <include location="local" >kpushbutton.h</include>
  231. </includes>
  232. <resources/>
  233. <connections>
  234. <connection>
  235. <sender>cancelButton</sender>
  236. <signal>clicked()</signal>
  237. <receiver>CustomStyle</receiver>
  238. <slot>reject()</slot>
  239. <hints>
  240. <hint type="sourcelabel" >
  241. <x>20</x>
  242. <y>20</y>
  243. </hint>
  244. <hint type="destinationlabel" >
  245. <x>20</x>
  246. <y>20</y>
  247. </hint>
  248. </hints>
  249. </connection>
  250. <connection>
  251. <sender>okButton</sender>
  252. <signal>clicked()</signal>
  253. <receiver>CustomStyle</receiver>
  254. <slot>accept()</slot>
  255. <hints>
  256. <hint type="sourcelabel" >
  257. <x>20</x>
  258. <y>20</y>
  259. </hint>
  260. <hint type="destinationlabel" >
  261. <x>20</x>
  262. <y>20</y>
  263. </hint>
  264. </hints>
  265. </connection>
  266. </connections>
  267. </ui>