TDE base libraries and programs
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.

460 lines
22 KiB

  1. <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
  2. <class>BGAdvancedBase</class>
  3. <widget class="TQWidget">
  4. <property name="name">
  5. <cstring>BGAdvancedBase</cstring>
  6. </property>
  7. <property name="geometry">
  8. <rect>
  9. <x>0</x>
  10. <y>0</y>
  11. <width>511</width>
  12. <height>454</height>
  13. </rect>
  14. </property>
  15. <vbox>
  16. <property name="name">
  17. <cstring>unnamed</cstring>
  18. </property>
  19. <property name="margin">
  20. <number>0</number>
  21. </property>
  22. <widget class="TQButtonGroup">
  23. <property name="name">
  24. <cstring>m_groupProgram</cstring>
  25. </property>
  26. <property name="title">
  27. <string>Background Program</string>
  28. </property>
  29. <grid>
  30. <property name="name">
  31. <cstring>unnamed</cstring>
  32. </property>
  33. <property name="margin">
  34. <number>11</number>
  35. </property>
  36. <widget class="TQPushButton" row="1" column="1">
  37. <property name="name">
  38. <cstring>m_buttonAdd</cstring>
  39. </property>
  40. <property name="enabled">
  41. <bool>false</bool>
  42. </property>
  43. <property name="text">
  44. <string>&amp;Add...</string>
  45. </property>
  46. <property name="whatsThis" stdset="0">
  47. <string>&lt;qt&gt;
  48. &lt;p&gt;Click here if you want to add a program to the listbox. This button opens a dialog where you are asked to give details about the program you want to run. To successfully add a program, you must know if it is compatible, the name of the executable file and, if necessary, its options.&lt;/p&gt;
  49. &lt;p&gt;You usually can get the available options to a suitable program by typing in a terminal emulator the name of the executable file plus --help (foobar --help).&lt;/p&gt;
  50. &lt;/qt&gt;</string>
  51. </property>
  52. </widget>
  53. <widget class="TQPushButton" row="2" column="1">
  54. <property name="name">
  55. <cstring>m_buttonRemove</cstring>
  56. </property>
  57. <property name="enabled">
  58. <bool>false</bool>
  59. </property>
  60. <property name="text">
  61. <string>&amp;Remove</string>
  62. </property>
  63. <property name="whatsThis" stdset="0">
  64. <string>Click here to remove programs from this list. Please note that it does not remove the program from your system, it only removes it from the available options in the background drawing programs list.</string>
  65. </property>
  66. </widget>
  67. <widget class="TQPushButton" row="3" column="1">
  68. <property name="name">
  69. <cstring>m_buttonModify</cstring>
  70. </property>
  71. <property name="enabled">
  72. <bool>false</bool>
  73. </property>
  74. <property name="text">
  75. <string>&amp;Modify...</string>
  76. </property>
  77. <property name="whatsThis" stdset="0">
  78. <string>&lt;qt&gt;
  79. &lt;p&gt;Click here to modify the programs options. You usually can get the available options to a suitable program by typing in a terminal emulator the name of the executable file plus --help. (example: kwebdesktop --help).&lt;/p&gt;
  80. &lt;p&gt;One useful example is the program kwebdesktop. It draws a web page on the background of your desktop. You can use this program by selecting it on the listbox on the right, but it will draw a predefined web page. To change the web page it renders, select the kwebdesktop program on the listbox, then click here. A dialog will appear, allowing you to change the web page by replacing the old address (URL) with a new one.&lt;/p&gt;
  81. &lt;/qt&gt;</string>
  82. </property>
  83. </widget>
  84. <spacer row="4" column="1">
  85. <property name="name">
  86. <cstring>spacer</cstring>
  87. </property>
  88. <property name="orientation">
  89. <enum>Vertical</enum>
  90. </property>
  91. <property name="sizeType">
  92. <enum>Expanding</enum>
  93. </property>
  94. <property name="sizeHint">
  95. <size>
  96. <width>20</width>
  97. <height>20</height>
  98. </size>
  99. </property>
  100. </spacer>
  101. <widget class="TQListView" row="1" column="0" rowspan="4" colspan="1">
  102. <column>
  103. <property name="text">
  104. <string>Program</string>
  105. </property>
  106. <property name="clickable">
  107. <bool>true</bool>
  108. </property>
  109. <property name="resizable">
  110. <bool>true</bool>
  111. </property>
  112. </column>
  113. <column>
  114. <property name="text">
  115. <string>Comment</string>
  116. </property>
  117. <property name="clickable">
  118. <bool>true</bool>
  119. </property>
  120. <property name="resizable">
  121. <bool>true</bool>
  122. </property>
  123. </column>
  124. <column>
  125. <property name="text">
  126. <string>Refresh</string>
  127. </property>
  128. <property name="clickable">
  129. <bool>true</bool>
  130. </property>
  131. <property name="resizable">
  132. <bool>true</bool>
  133. </property>
  134. </column>
  135. <property name="name">
  136. <cstring>m_listPrograms</cstring>
  137. </property>
  138. <property name="enabled">
  139. <bool>false</bool>
  140. </property>
  141. <property name="minimumSize">
  142. <size>
  143. <width>400</width>
  144. <height>0</height>
  145. </size>
  146. </property>
  147. <property name="whatsThis" stdset="0">
  148. <string>&lt;qt&gt;
  149. &lt;p&gt;Select from this listbox the program you want to use to draw your desktop background.&lt;/p&gt;
  150. &lt;p&gt;The &lt;b&gt;Program&lt;/b&gt; column shows the name of the program.&lt;br&gt;
  151. The &lt;b&gt;Comment&lt;/b&gt; column brings a short description.&lt;br&gt;
  152. The &lt;b&gt;Refresh&lt;/b&gt; column indicates the time interval between redraws of the desktop.&lt;/p&gt;
  153. &lt;p&gt;The &lt;b&gt;K Web Desktop&lt;/b&gt; program (kwebdesktop) is worth noting: it draws a specified page of the web in your desktop. You can modify it, and the webpage it draws by selecting it here, then clicking on the &lt;b&gt;Modify&lt;/b&gt; button.&lt;br&gt;
  154. You can also add new compliant programs. To do that, click on the &lt;b&gt;Add&lt;/b&gt; button.&lt;br&gt;
  155. You can also remove programs from this list clicking on the &lt;b&gt;Remove&lt;/b&gt; button. Please note that it does not remove the program from your system, it only removes it from the available options in this listbox.&lt;/p&gt;
  156. &lt;/qt&gt;</string>
  157. </property>
  158. </widget>
  159. <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
  160. <property name="name">
  161. <cstring>m_cbProgram</cstring>
  162. </property>
  163. <property name="text">
  164. <string>Use the following program for drawing the background:</string>
  165. </property>
  166. <property name="whatsThis" stdset="0">
  167. <string>Check here if you want to allow a program to draw your desktop background. Below you can find the list of programs currently available for drawing the background. You may use one of the available programs, add new ones or modify the existing ones to fit your needs.</string>
  168. </property>
  169. </widget>
  170. </grid>
  171. </widget>
  172. <widget class="TQGroupBox">
  173. <property name="name">
  174. <cstring>m_groupIconText</cstring>
  175. </property>
  176. <property name="title">
  177. <string>Background Icon Text</string>
  178. </property>
  179. <grid>
  180. <property name="name">
  181. <cstring>unnamed</cstring>
  182. </property>
  183. <widget class="KColorButton" row="0" column="1">
  184. <property name="name">
  185. <cstring>m_colorText</cstring>
  186. </property>
  187. <property name="sizePolicy">
  188. <sizepolicy>
  189. <hsizetype>1</hsizetype>
  190. <vsizetype>0</vsizetype>
  191. <horstretch>0</horstretch>
  192. <verstretch>0</verstretch>
  193. </sizepolicy>
  194. </property>
  195. <property name="text">
  196. <string></string>
  197. </property>
  198. <property name="whatsThis" stdset="0">
  199. <string>Click here to change the color of the desktop font.</string>
  200. </property>
  201. </widget>
  202. <widget class="TQLabel" row="0" column="0">
  203. <property name="name">
  204. <cstring>textLabel6</cstring>
  205. </property>
  206. <property name="text">
  207. <string>&amp;Text color:</string>
  208. </property>
  209. <property name="buddy" stdset="0">
  210. <cstring>m_colorText</cstring>
  211. </property>
  212. <property name="whatsThis" stdset="0">
  213. <string>Click here to change the color of the desktop font.</string>
  214. </property>
  215. </widget>
  216. <spacer row="0" column="2" rowspan="2" colspan="1">
  217. <property name="name">
  218. <cstring>spacer7</cstring>
  219. </property>
  220. <property name="orientation">
  221. <enum>Horizontal</enum>
  222. </property>
  223. <property name="sizeType">
  224. <enum>Expanding</enum>
  225. </property>
  226. <property name="sizeHint">
  227. <size>
  228. <width>220</width>
  229. <height>20</height>
  230. </size>
  231. </property>
  232. </spacer>
  233. <widget class="KColorButton" row="1" column="1">
  234. <property name="name">
  235. <cstring>m_colorTextBackground</cstring>
  236. </property>
  237. <property name="enabled">
  238. <bool>false</bool>
  239. </property>
  240. <property name="text">
  241. <string></string>
  242. </property>
  243. <property name="whatsThis" stdset="0">
  244. <string>Click here to select the solid background color. Choose a different color from the background text color to assure readability.</string>
  245. </property>
  246. </widget>
  247. <widget class="TQCheckBox" row="1" column="0">
  248. <property name="name">
  249. <cstring>m_cbSolidTextBackground</cstring>
  250. </property>
  251. <property name="text">
  252. <string>&amp;Use solid color behind text:</string>
  253. </property>
  254. <property name="whatsThis" stdset="0">
  255. <string>Check here if you want to use a solid background color. This is useful to ensure that the desktop text will be identifiable against all background colors and wallpapers, or in other words, that a background or wallpaper will not make a desktop text of a similar color difficult to read.</string>
  256. </property>
  257. </widget>
  258. <widget class="TQCheckBox" row="2" column="0">
  259. <property name="name">
  260. <cstring>m_cbShadow</cstring>
  261. </property>
  262. <property name="text">
  263. <string>&amp;Enable shadow</string>
  264. </property>
  265. <property name="whatsThis" stdset="0">
  266. <string>Check here to enable a shadow outline around the desktop font. This also improves the readability of the desktop text against backgrounds of a similar color.</string>
  267. </property>
  268. </widget>
  269. <widget class="TQLabel" row="3" column="0">
  270. <property name="name">
  271. <cstring>textLabel6_2</cstring>
  272. </property>
  273. <property name="text">
  274. <string>&amp;Lines for icon text:</string>
  275. </property>
  276. <property name="buddy" stdset="0">
  277. <cstring>m_colorText</cstring>
  278. </property>
  279. <property name="whatsThis" stdset="0">
  280. <string>Choose here the maximum number of text lines below an icon on the desktop. Longer text will be truncated at the end of the last line.</string>
  281. </property>
  282. </widget>
  283. <widget class="TQSpinBox" row="3" column="1">
  284. <property name="name">
  285. <cstring>m_spinTextLines</cstring>
  286. </property>
  287. <property name="suffix">
  288. <string></string>
  289. </property>
  290. <property name="value">
  291. <number>0</number>
  292. </property>
  293. <property name="whatsThis" stdset="0">
  294. <string>Choose here the maximum number of text lines below an icon on the desktop. Longer text will be truncated at the end of the last line.</string>
  295. </property>
  296. </widget>
  297. <widget class="TQSpinBox" row="4" column="1">
  298. <property name="name">
  299. <cstring>m_spinTextWidth</cstring>
  300. </property>
  301. <property name="suffix">
  302. <string></string>
  303. </property>
  304. <property name="specialValueText">
  305. <string>Auto</string>
  306. </property>
  307. <property name="maxValue">
  308. <number>99999</number>
  309. </property>
  310. <property name="value">
  311. <number>0</number>
  312. </property>
  313. <property name="whatsThis" stdset="0">
  314. <string>Choose here the maximum width of text lines (in pixel) below an icon on the desktop. If set to 'Auto' a default width based on the current font is used.</string>
  315. </property>
  316. </widget>
  317. <widget class="TQLabel" row="4" column="0">
  318. <property name="name">
  319. <cstring>textLabel6_2_2</cstring>
  320. </property>
  321. <property name="text">
  322. <string>&amp;Width for icon text:</string>
  323. </property>
  324. <property name="buddy" stdset="0">
  325. <cstring>m_colorText</cstring>
  326. </property>
  327. <property name="whatsThis" stdset="0">
  328. <string>Choose here the maximum width of text lines (in pixel) below an icon on the desktop. If set to 'Auto' a default width based on the current font is used.</string>
  329. </property>
  330. </widget>
  331. </grid>
  332. </widget>
  333. <widget class="TQButtonGroup">
  334. <property name="name">
  335. <cstring>m_groupCache</cstring>
  336. </property>
  337. <property name="title">
  338. <string>Memory Usage</string>
  339. </property>
  340. <hbox>
  341. <property name="name">
  342. <cstring>unnamed</cstring>
  343. </property>
  344. <property name="margin">
  345. <number>11</number>
  346. </property>
  347. <widget class="TQLabel">
  348. <property name="name">
  349. <cstring>m_lblCache</cstring>
  350. </property>
  351. <property name="text">
  352. <string>Size of background cache:</string>
  353. </property>
  354. <property name="whatsThis" stdset="0">
  355. <string>In this box you can enter how much memory TDE should use for caching the background(s). If you have different backgrounds for the different desktops caching can make switching desktops smoother at the expense of higher memory use.</string>
  356. </property>
  357. </widget>
  358. <widget class="TQSpinBox">
  359. <property name="name">
  360. <cstring>m_spinCache</cstring>
  361. </property>
  362. <property name="suffix">
  363. <string> k</string>
  364. </property>
  365. <property name="whatsThis" stdset="0">
  366. <string>In this box you can enter how much memory TDE should use for caching the background(s). If you have different backgrounds for the different desktops caching can make switching desktops smoother at the expense of higher memory use.</string>
  367. </property>
  368. </widget>
  369. <spacer>
  370. <property name="name">
  371. <cstring>spacer2</cstring>
  372. </property>
  373. <property name="orientation">
  374. <enum>Horizontal</enum>
  375. </property>
  376. <property name="sizeType">
  377. <enum>Expanding</enum>
  378. </property>
  379. <property name="sizeHint">
  380. <size>
  381. <width>20</width>
  382. <height>20</height>
  383. </size>
  384. </property>
  385. </spacer>
  386. </hbox>
  387. </widget>
  388. <spacer>
  389. <property name="name">
  390. <cstring>spacer4</cstring>
  391. </property>
  392. <property name="orientation">
  393. <enum>Vertical</enum>
  394. </property>
  395. <property name="sizeType">
  396. <enum>Expanding</enum>
  397. </property>
  398. <property name="sizeHint">
  399. <size>
  400. <width>20</width>
  401. <height>16</height>
  402. </size>
  403. </property>
  404. </spacer>
  405. </vbox>
  406. </widget>
  407. <customwidgets>
  408. </customwidgets>
  409. <connections>
  410. <connection>
  411. <sender>m_cbProgram</sender>
  412. <signal>toggled(bool)</signal>
  413. <receiver>m_buttonAdd</receiver>
  414. <slot>setEnabled(bool)</slot>
  415. </connection>
  416. <connection>
  417. <sender>m_cbProgram</sender>
  418. <signal>toggled(bool)</signal>
  419. <receiver>m_buttonRemove</receiver>
  420. <slot>setEnabled(bool)</slot>
  421. </connection>
  422. <connection>
  423. <sender>m_cbProgram</sender>
  424. <signal>toggled(bool)</signal>
  425. <receiver>m_buttonModify</receiver>
  426. <slot>setEnabled(bool)</slot>
  427. </connection>
  428. <connection>
  429. <sender>m_cbProgram</sender>
  430. <signal>toggled(bool)</signal>
  431. <receiver>m_listPrograms</receiver>
  432. <slot>setEnabled(bool)</slot>
  433. </connection>
  434. <connection>
  435. <sender>m_cbSolidTextBackground</sender>
  436. <signal>toggled(bool)</signal>
  437. <receiver>m_colorTextBackground</receiver>
  438. <slot>setEnabled(bool)</slot>
  439. </connection>
  440. </connections>
  441. <tabstops>
  442. <tabstop>m_cbProgram</tabstop>
  443. <tabstop>m_listPrograms</tabstop>
  444. <tabstop>m_buttonAdd</tabstop>
  445. <tabstop>m_buttonRemove</tabstop>
  446. <tabstop>m_buttonModify</tabstop>
  447. <tabstop>m_colorText</tabstop>
  448. <tabstop>m_cbSolidTextBackground</tabstop>
  449. <tabstop>m_colorTextBackground</tabstop>
  450. <tabstop>m_cbShadow</tabstop>
  451. <tabstop>m_spinCache</tabstop>
  452. </tabstops>
  453. <includes>
  454. <include location="global" impldecl="in implementation">kdialog.h</include>
  455. <include location="global" impldecl="in implementation">kcolorbutton.h</include>
  456. </includes>
  457. <layoutdefaults spacing="3" margin="6"/>
  458. <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
  459. </UI>