KLcdDimmer – applet to adjust LCD brightness
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

progpreferences.ui 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>ProgPreferences</class>
  3. <widget class="TQWidget">
  4. <property name="name">
  5. <cstring>ProgPreferences</cstring>
  6. </property>
  7. <property name="geometry">
  8. <rect>
  9. <x>0</x>
  10. <y>0</y>
  11. <width>600</width>
  12. <height>480</height>
  13. </rect>
  14. </property>
  15. <property name="caption">
  16. <string>Form1</string>
  17. </property>
  18. <grid>
  19. <property name="name">
  20. <cstring>unnamed</cstring>
  21. </property>
  22. <widget class="TQLayoutWidget" row="0" column="0">
  23. <property name="name">
  24. <cstring>layout11</cstring>
  25. </property>
  26. <vbox>
  27. <property name="name">
  28. <cstring>unnamed</cstring>
  29. </property>
  30. <widget class="TQLayoutWidget">
  31. <property name="name">
  32. <cstring>layout2</cstring>
  33. </property>
  34. <hbox>
  35. <property name="name">
  36. <cstring>unnamed</cstring>
  37. </property>
  38. <widget class="TQLabel">
  39. <property name="name">
  40. <cstring>textLabel1</cstring>
  41. </property>
  42. <property name="text">
  43. <string>program</string>
  44. </property>
  45. </widget>
  46. <widget class="TQLineEdit">
  47. <property name="name">
  48. <cstring>kcfg_Program</cstring>
  49. </property>
  50. <property name="toolTip" stdset="0">
  51. <string>the program to set the brightness</string>
  52. </property>
  53. <property name="whatsThis" stdset="0">
  54. <string>the program to set the brightness</string>
  55. </property>
  56. </widget>
  57. </hbox>
  58. </widget>
  59. <widget class="TQLayoutWidget">
  60. <property name="name">
  61. <cstring>layout3</cstring>
  62. </property>
  63. <hbox>
  64. <property name="name">
  65. <cstring>unnamed</cstring>
  66. </property>
  67. <widget class="TQLabel">
  68. <property name="name">
  69. <cstring>textLabel2</cstring>
  70. </property>
  71. <property name="text">
  72. <string>set argument</string>
  73. </property>
  74. </widget>
  75. <widget class="TQLineEdit">
  76. <property name="name">
  77. <cstring>kcfg_SetArgument</cstring>
  78. </property>
  79. <property name="toolTip" stdset="0">
  80. <string>the argument to pass to the program&lt;br&gt;to set the brightness</string>
  81. </property>
  82. <property name="whatsThis" stdset="0">
  83. <string>the argument to pass to the program&lt;br&gt;
  84. to set the brightness</string>
  85. </property>
  86. </widget>
  87. </hbox>
  88. </widget>
  89. <widget class="TQLayoutWidget">
  90. <property name="name">
  91. <cstring>layout3_2</cstring>
  92. </property>
  93. <hbox>
  94. <property name="name">
  95. <cstring>unnamed</cstring>
  96. </property>
  97. <widget class="TQLabel">
  98. <property name="name">
  99. <cstring>textLabel2_2</cstring>
  100. </property>
  101. <property name="text">
  102. <string>get argument</string>
  103. </property>
  104. </widget>
  105. <widget class="TQLineEdit">
  106. <property name="name">
  107. <cstring>kcfg_GetArgument</cstring>
  108. </property>
  109. <property name="toolTip" stdset="0">
  110. <string>the argument to pass to the program&lt;br&gt;to get the brightness</string>
  111. </property>
  112. <property name="whatsThis" stdset="0">
  113. <string>the argument to pass to the program&lt;br&gt;
  114. to get the brightness.
  115. &lt;p&gt;
  116. This can be left empty if the program does not support
  117. a "get" argument.</string>
  118. </property>
  119. </widget>
  120. </hbox>
  121. </widget>
  122. <widget class="TQLayoutWidget">
  123. <property name="name">
  124. <cstring>layout7</cstring>
  125. </property>
  126. <hbox>
  127. <property name="name">
  128. <cstring>unnamed</cstring>
  129. </property>
  130. <widget class="TQLabel">
  131. <property name="name">
  132. <cstring>textLabel3</cstring>
  133. </property>
  134. <property name="text">
  135. <string>minimum value</string>
  136. </property>
  137. </widget>
  138. <spacer>
  139. <property name="name">
  140. <cstring>spacer1</cstring>
  141. </property>
  142. <property name="orientation">
  143. <enum>Horizontal</enum>
  144. </property>
  145. <property name="sizeType">
  146. <enum>Expanding</enum>
  147. </property>
  148. <property name="sizeHint">
  149. <size>
  150. <width>40</width>
  151. <height>20</height>
  152. </size>
  153. </property>
  154. </spacer>
  155. <widget class="KIntNumInput">
  156. <property name="name">
  157. <cstring>kcfg_MinValue</cstring>
  158. </property>
  159. <property name="toolTip" stdset="0">
  160. <string>the minimum value for the brightness</string>
  161. </property>
  162. <property name="whatsThis" stdset="0">
  163. <string>brightness</string>
  164. </property>
  165. </widget>
  166. </hbox>
  167. </widget>
  168. <widget class="TQLayoutWidget">
  169. <property name="name">
  170. <cstring>layout7_2</cstring>
  171. </property>
  172. <hbox>
  173. <property name="name">
  174. <cstring>unnamed</cstring>
  175. </property>
  176. <widget class="TQLabel">
  177. <property name="name">
  178. <cstring>textLabel3_2</cstring>
  179. </property>
  180. <property name="text">
  181. <string>maximum value</string>
  182. </property>
  183. </widget>
  184. <spacer>
  185. <property name="name">
  186. <cstring>spacer1_2</cstring>
  187. </property>
  188. <property name="orientation">
  189. <enum>Horizontal</enum>
  190. </property>
  191. <property name="sizeType">
  192. <enum>Expanding</enum>
  193. </property>
  194. <property name="sizeHint">
  195. <size>
  196. <width>40</width>
  197. <height>20</height>
  198. </size>
  199. </property>
  200. </spacer>
  201. <widget class="KIntNumInput">
  202. <property name="name">
  203. <cstring>kcfg_MaxValue</cstring>
  204. </property>
  205. <property name="toolTip" stdset="0">
  206. <string>the maximum value for the brightness</string>
  207. </property>
  208. <property name="whatsThis" stdset="0">
  209. <string>brightness</string>
  210. </property>
  211. </widget>
  212. </hbox>
  213. </widget>
  214. <widget class="TQLayoutWidget">
  215. <property name="name">
  216. <cstring>layout7_2_2</cstring>
  217. </property>
  218. <hbox>
  219. <property name="name">
  220. <cstring>unnamed</cstring>
  221. </property>
  222. <widget class="TQLabel">
  223. <property name="name">
  224. <cstring>textLabel3_2_2</cstring>
  225. </property>
  226. <property name="text">
  227. <string>step</string>
  228. </property>
  229. </widget>
  230. <spacer>
  231. <property name="name">
  232. <cstring>spacer1_2_2</cstring>
  233. </property>
  234. <property name="orientation">
  235. <enum>Horizontal</enum>
  236. </property>
  237. <property name="sizeType">
  238. <enum>Expanding</enum>
  239. </property>
  240. <property name="sizeHint">
  241. <size>
  242. <width>40</width>
  243. <height>20</height>
  244. </size>
  245. </property>
  246. </spacer>
  247. <widget class="KIntNumInput">
  248. <property name="name">
  249. <cstring>kcfg_Step</cstring>
  250. </property>
  251. <property name="toolTip" stdset="0">
  252. <string>step value&lt;br&gt;to increment/decrement the brightness</string>
  253. </property>
  254. <property name="whatsThis" stdset="0">
  255. <string>brightness</string>
  256. </property>
  257. </widget>
  258. </hbox>
  259. </widget>
  260. <widget class="TQCheckBox">
  261. <property name="name">
  262. <cstring>kcfg_SaveCurrent</cstring>
  263. </property>
  264. <property name="text">
  265. <string>S&amp;ave the current brightness value</string>
  266. </property>
  267. <property name="accel">
  268. <string>Alt+A</string>
  269. </property>
  270. <property name="toolTip" stdset="0">
  271. <string>When closing, it saves the current brightness value&lt;br&gt;so that it can be restored&lt;br&gt;when the applet starts.</string>
  272. </property>
  273. <property name="whatsThis" stdset="0">
  274. <string>When closing, it saves the current brightness value&lt;br&gt;
  275. so that it can be restored&lt;br&gt;
  276. when the applet starts.</string>
  277. </property>
  278. </widget>
  279. </vbox>
  280. </widget>
  281. </grid>
  282. </widget>
  283. <layoutdefaults spacing="6" margin="11"/>
  284. <includes>
  285. <include location="global" impldecl="in implementation">knuminput.h</include>
  286. </includes>
  287. </UI>