Drawback: they still have a Q3ButtonGroup, I need a replacement for it... svn path=/branches/work/kde4/playground/graphics/okular/; revision=525009remotes/origin/old/work/newpageview
parent
58a391e7a2
commit
1c5fe13624
10 changed files with 803 additions and 900 deletions
@ -0,0 +1,19 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
***************************************************************************/ |
||||
|
||||
#include "dlgaccessibilitybase.h" |
||||
|
||||
#include "dlgaccessibility.h" |
||||
|
||||
DlgAccessibility::DlgAccessibility( QWidget * parent ) |
||||
: QWidget( parent ) |
||||
{ |
||||
m_dlg = new Ui_DlgAccessibilityBase(); |
||||
m_dlg->setupUi( this ); |
||||
} |
||||
@ -0,0 +1,26 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
***************************************************************************/ |
||||
|
||||
#ifndef _DLGACCESSIBILITY_H |
||||
#define _DLGACCESSIBILITY_H |
||||
|
||||
#include <qwidget.h> |
||||
|
||||
class Ui_DlgAccessibilityBase; |
||||
|
||||
class DlgAccessibility : public QWidget |
||||
{ |
||||
public: |
||||
DlgAccessibility( QWidget * parent = 0 ); |
||||
|
||||
protected: |
||||
Ui_DlgAccessibilityBase * m_dlg; |
||||
}; |
||||
|
||||
#endif |
||||
@ -1,576 +0,0 @@ |
||||
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> |
||||
<class>DlgAccessibility</class> |
||||
<widget class="QWidget"> |
||||
<property name="name"> |
||||
<cstring>DlgAccessibility</cstring> |
||||
</property> |
||||
<property name="geometry"> |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>376</width> |
||||
<height>364</height> |
||||
</rect> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<property name="margin"> |
||||
<number>0</number> |
||||
</property> |
||||
<widget class="QCheckBox"> |
||||
<property name="name"> |
||||
<cstring>kcfg_HighlightImages</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Draw border around &Images</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox"> |
||||
<property name="name"> |
||||
<cstring>kcfg_HighlightLinks</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Draw border around &Links</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QGroupBox"> |
||||
<property name="name"> |
||||
<cstring>kcfg_ChangeColors</cstring> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="title"> |
||||
<string>Change &Colors</string> |
||||
</property> |
||||
<property name="checkable"> |
||||
<bool>true</bool> |
||||
</property> |
||||
<property name="checked"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QLabel"> |
||||
<property name="name"> |
||||
<cstring>warn</cstring> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="paletteForegroundColor"> |
||||
<color> |
||||
<red>80</red> |
||||
<green>0</green> |
||||
<blue>0</blue> |
||||
</color> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Warning: these options can badly affect drawing speed.</string> |
||||
</property> |
||||
<property name="textFormat"> |
||||
<enum>PlainText</enum> |
||||
</property> |
||||
</widget> |
||||
<widget class="QButtonGroup"> |
||||
<property name="name"> |
||||
<cstring>kcfg_RenderMode</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="frameShape"> |
||||
<enum>NoFrame</enum> |
||||
</property> |
||||
<property name="lineWidth"> |
||||
<number>0</number> |
||||
</property> |
||||
<property name="title"> |
||||
<string></string> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<property name="margin"> |
||||
<number>0</number> |
||||
</property> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>radioInverted</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>&Invert colors</string> |
||||
</property> |
||||
<property name="checked"> |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>radioNormal</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Change &paper color</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLayoutWidget"> |
||||
<property name="name"> |
||||
<cstring>layout5</cstring> |
||||
</property> |
||||
<hbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<spacer> |
||||
<property name="name"> |
||||
<cstring>spacer14_3</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<widget class="QLabel"> |
||||
<property name="name"> |
||||
<cstring>textLabel1</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Paper color:</string> |
||||
</property> |
||||
<property name="buddy" stdset="0"> |
||||
<cstring>kcfg_PaperColor</cstring> |
||||
</property> |
||||
</widget> |
||||
<widget class="KColorButton"> |
||||
<property name="name"> |
||||
<cstring>kcfg_PaperColor</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string></string> |
||||
</property> |
||||
</widget> |
||||
<spacer> |
||||
<property name="name"> |
||||
<cstring>spacer7_2</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>30</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</hbox> |
||||
</widget> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>radioRecolor</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>&Change dark and light colors</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLayoutWidget"> |
||||
<property name="name"> |
||||
<cstring>layout2</cstring> |
||||
</property> |
||||
<grid> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<property name="margin"> |
||||
<number>0</number> |
||||
</property> |
||||
<spacer row="1" column="3"> |
||||
<property name="name"> |
||||
<cstring>spacer12_2</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>48</width> |
||||
<height>21</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<widget class="KColorButton" row="1" column="2"> |
||||
<property name="name"> |
||||
<cstring>kcfg_RecolorBackground</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string></string> |
||||
</property> |
||||
</widget> |
||||
<spacer row="1" column="0"> |
||||
<property name="name"> |
||||
<cstring>spacer14_2</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<widget class="KColorButton" row="0" column="2"> |
||||
<property name="name"> |
||||
<cstring>kcfg_RecolorForeground</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string></string> |
||||
</property> |
||||
</widget> |
||||
<spacer row="0" column="3"> |
||||
<property name="name"> |
||||
<cstring>spacer12</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>48</width> |
||||
<height>21</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<widget class="QLabel" row="1" column="1"> |
||||
<property name="name"> |
||||
<cstring>textLabel3_2</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Light color:</string> |
||||
</property> |
||||
</widget> |
||||
<spacer row="0" column="0"> |
||||
<property name="name"> |
||||
<cstring>spacer14</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<widget class="QLabel" row="0" column="1"> |
||||
<property name="name"> |
||||
<cstring>textLabel3</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Dark color:</string> |
||||
</property> |
||||
</widget> |
||||
</grid> |
||||
</widget> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>radioContrast</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Convert to &black and white</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLayoutWidget"> |
||||
<property name="name"> |
||||
<cstring>layout5</cstring> |
||||
</property> |
||||
<grid> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QLabel" row="1" column="1"> |
||||
<property name="name"> |
||||
<cstring>textLabel2_2</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Contrast:</string> |
||||
</property> |
||||
</widget> |
||||
<spacer row="1" column="3"> |
||||
<property name="name"> |
||||
<cstring>spacer10_2</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>48</width> |
||||
<height>21</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<spacer row="1" column="0"> |
||||
<property name="name"> |
||||
<cstring>spacer11_2</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<spacer row="0" column="0"> |
||||
<property name="name"> |
||||
<cstring>spacer11</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<spacer row="0" column="3"> |
||||
<property name="name"> |
||||
<cstring>spacer10</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>48</width> |
||||
<height>21</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
<widget class="QSlider" row="1" column="2"> |
||||
<property name="name"> |
||||
<cstring>kcfg_BWContrast</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>7</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pageStep"> |
||||
<number>1</number> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
</widget> |
||||
<widget class="QSlider" row="0" column="2"> |
||||
<property name="name"> |
||||
<cstring>kcfg_BWThreshold</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>7</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pageStep"> |
||||
<number>16</number> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Horizontal</enum> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLabel" row="0" column="1"> |
||||
<property name="name"> |
||||
<cstring>textLabel2</cstring> |
||||
</property> |
||||
<property name="enabled"> |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Threshold:</string> |
||||
</property> |
||||
</widget> |
||||
</grid> |
||||
</widget> |
||||
</vbox> |
||||
</widget> |
||||
</vbox> |
||||
</widget> |
||||
</vbox> |
||||
</widget> |
||||
<connections> |
||||
<connection> |
||||
<sender>radioRecolor</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>textLabel3</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioRecolor</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>kcfg_RecolorForeground</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioRecolor</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>textLabel3_2</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioRecolor</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>kcfg_RecolorBackground</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioContrast</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>textLabel2</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioContrast</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>kcfg_BWThreshold</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioNormal</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>textLabel1</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioNormal</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>kcfg_PaperColor</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioContrast</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>textLabel2_2</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>radioContrast</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>kcfg_BWContrast</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>kcfg_ChangeColors</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>kcfg_RenderMode</receiver> |
||||
<slot>setEnabled(bool)</slot> |
||||
</connection> |
||||
</connections> |
||||
<includes> |
||||
<include location="global" impldecl="in implementation">kdialog.h</include> |
||||
</includes> |
||||
<layoutdefaults spacing="5" margin="11"/> |
||||
<includehints> |
||||
<includehint>kcolorbutton.h</includehint> |
||||
<includehint>kcolorbutton.h</includehint> |
||||
<includehint>kcolorbutton.h</includehint> |
||||
</includehints> |
||||
</UI> |
||||
@ -0,0 +1,408 @@ |
||||
<ui version="4.0" > |
||||
<author></author> |
||||
<comment></comment> |
||||
<exportmacro></exportmacro> |
||||
<class>DlgAccessibilityBase</class> |
||||
<widget class="QWidget" name="DlgAccessibilityBase" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>445</width> |
||||
<height>380</height> |
||||
</rect> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QCheckBox" name="kcfg_HighlightImages" > |
||||
<property name="text" > |
||||
<string>Draw border around &Images</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QCheckBox" name="kcfg_HighlightLinks" > |
||||
<property name="text" > |
||||
<string>Draw border around &Links</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QGroupBox" name="kcfg_ChangeColors" > |
||||
<property name="enabled" > |
||||
<bool>true</bool> |
||||
</property> |
||||
<property name="title" > |
||||
<string>Change &Colors</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
<property name="checked" > |
||||
<bool>false</bool> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QLabel" name="warn" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="text" > |
||||
<string>Warning: these options can badly affect drawing speed.</string> |
||||
</property> |
||||
<property name="textFormat" > |
||||
<enum>Qt::PlainText</enum> |
||||
</property> |
||||
<property name="wordWrap" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="Q3ButtonGroup" name="kcfg_RenderMode" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="title" > |
||||
<string/> |
||||
</property> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>0</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QRadioButton" name="radioInverted" > |
||||
<property name="text" > |
||||
<string>&Invert colors</string> |
||||
</property> |
||||
<property name="checked" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QRadioButton" name="radioNormal" > |
||||
<property name="text" > |
||||
<string>Change &paper color</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="textLabel1" > |
||||
<property name="text" > |
||||
<string>Paper color:</string> |
||||
</property> |
||||
<property name="buddy" > |
||||
<cstring>kcfg_PaperColor</cstring> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="KColorButton" name="kcfg_PaperColor" /> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<widget class="QRadioButton" name="radioRecolor" > |
||||
<property name="text" > |
||||
<string>&Change dark and light colors</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="textLabel3" > |
||||
<property name="text" > |
||||
<string>Dark color:</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="KColorButton" name="kcfg_RecolorForeground" /> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="textLabel3_2" > |
||||
<property name="text" > |
||||
<string>Light color:</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="KColorButton" name="kcfg_RecolorBackground" /> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<widget class="QRadioButton" name="radioContrast" > |
||||
<property name="text" > |
||||
<string>Convert to &black and white</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<layout class="QGridLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>5</number> |
||||
</property> |
||||
<item row="1" column="1" > |
||||
<widget class="QLabel" name="textLabel2_2" > |
||||
<property name="text" > |
||||
<string>Contrast:</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="1" column="3" > |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>48</width> |
||||
<height>21</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item row="1" column="0" > |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item row="0" column="0" > |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>16</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item row="0" column="3" > |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>48</width> |
||||
<height>21</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item row="1" column="2" > |
||||
<widget class="QSlider" name="kcfg_BWContrast" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>7</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pageStep" > |
||||
<number>1</number> |
||||
</property> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="0" column="2" > |
||||
<widget class="QSlider" name="kcfg_BWThreshold" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>7</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pageStep" > |
||||
<number>16</number> |
||||
</property> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="0" column="1" > |
||||
<widget class="QLabel" name="textLabel2" > |
||||
<property name="text" > |
||||
<string>Threshold:</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>20</width> |
||||
<height>16</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<layoutdefault spacing="5" margin="11" /> |
||||
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
||||
<customwidgets> |
||||
<customwidget> |
||||
<class>KColorButton</class> |
||||
<extends>QWidget</extends> |
||||
<header>kcolorbutton.h</header> |
||||
<container>1</container> |
||||
<pixmap></pixmap> |
||||
</customwidget> |
||||
<customwidget> |
||||
<class>Q3ButtonGroup</class> |
||||
<extends></extends> |
||||
<header>Qt3Support/Q3ButtonGroup</header> |
||||
<container>1</container> |
||||
<pixmap></pixmap> |
||||
</customwidget> |
||||
</customwidgets> |
||||
<resources/> |
||||
<connections/> |
||||
</ui> |
||||
@ -0,0 +1,43 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
***************************************************************************/ |
||||
|
||||
#include "dlgperformancebase.h" |
||||
|
||||
#include "dlgperformance.h" |
||||
|
||||
DlgPerformance::DlgPerformance( QWidget * parent ) |
||||
: QWidget( parent ) |
||||
{ |
||||
m_dlg = new Ui_DlgPerformanceBase(); |
||||
m_dlg->setupUi( this ); |
||||
|
||||
connect( m_dlg->lowRadio, SIGNAL( toggled( bool ) ), this, SLOT( lowRadio_toggled( bool ) ) ); |
||||
connect( m_dlg->normalRadio, SIGNAL( toggled( bool ) ), this, SLOT( normalRadio_toggled( bool ) ) ); |
||||
connect( m_dlg->aggressiveRadio, SIGNAL( toggled( bool ) ), this, SLOT( aggressiveRadio_toggled( bool ) ) ); |
||||
} |
||||
|
||||
void DlgPerformance::lowRadio_toggled( bool on ) |
||||
{ |
||||
if ( on ) |
||||
m_dlg->descLabel->setText( i18n("Keeps used memory as low as possible. Do not reuse anything. (For systems with low memory.)") ); |
||||
} |
||||
|
||||
void DlgPerformance::normalRadio_toggled( bool on ) |
||||
{ |
||||
if ( on ) |
||||
m_dlg->descLabel->setText( i18n("A good compromise between memory usage and speed gain. Preload next page and boost searches. (For systems with 256MB of memory, typically.)") ); |
||||
} |
||||
|
||||
void DlgPerformance::aggressiveRadio_toggled( bool on ) |
||||
{ |
||||
if ( on ) |
||||
m_dlg->descLabel->setText( i18n("Keeps everything in memory. Preload next pages. Boost searches. (For systems with more than 512MB of memory.)") ); |
||||
} |
||||
|
||||
#include "dlgperformance.moc" |
||||
@ -0,0 +1,33 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 by Pino Toscano <toscano.pino@tiscali.it> * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
***************************************************************************/ |
||||
|
||||
#ifndef _DLGPERFORMANCE_H |
||||
#define _DLGPERFORMANCE_H |
||||
|
||||
#include <qwidget.h> |
||||
|
||||
class Ui_DlgPerformanceBase; |
||||
|
||||
class DlgPerformance : public QWidget |
||||
{ |
||||
Q_OBJECT |
||||
|
||||
public: |
||||
DlgPerformance( QWidget * parent = 0 ); |
||||
|
||||
protected slots: |
||||
void lowRadio_toggled( bool on ); |
||||
void normalRadio_toggled( bool on ); |
||||
void aggressiveRadio_toggled( bool on ); |
||||
|
||||
protected: |
||||
Ui_DlgPerformanceBase * m_dlg; |
||||
}; |
||||
|
||||
#endif |
||||
@ -1,281 +0,0 @@ |
||||
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> |
||||
<class>DlgPerformance</class> |
||||
<widget class="QWidget"> |
||||
<property name="name"> |
||||
<cstring>DlgPerformance</cstring> |
||||
</property> |
||||
<property name="geometry"> |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>284</width> |
||||
<height>222</height> |
||||
</rect> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<property name="margin"> |
||||
<number>0</number> |
||||
</property> |
||||
<widget class="QGroupBox"> |
||||
<property name="name"> |
||||
<cstring>groupBox1</cstring> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="title"> |
||||
<string>CPU Usage</string> |
||||
</property> |
||||
<hbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QLayoutWidget"> |
||||
<property name="name"> |
||||
<cstring>layout9</cstring> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QCheckBox"> |
||||
<property name="name"> |
||||
<cstring>kcfg_EnableCompositing</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Enable &transparency effects</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox"> |
||||
<property name="name"> |
||||
<cstring>kcfg_EnableThreading</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>Enable &background generation</string> |
||||
</property> |
||||
</widget> |
||||
</vbox> |
||||
</widget> |
||||
<widget class="QLayoutWidget"> |
||||
<property name="name"> |
||||
<cstring>layout6_2</cstring> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QLabel"> |
||||
<property name="name"> |
||||
<cstring>pixmapLabel1_2</cstring> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pixmap"> |
||||
<pixmap>"kcmprocessor", 32</pixmap> |
||||
</property> |
||||
</widget> |
||||
<spacer> |
||||
<property name="name"> |
||||
<cstring>spacer7_2</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Vertical</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Minimum</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>21</width> |
||||
<height>1</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</vbox> |
||||
</widget> |
||||
</hbox> |
||||
</widget> |
||||
<widget class="QButtonGroup"> |
||||
<property name="name"> |
||||
<cstring>kcfg_MemoryLevel</cstring> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="title"> |
||||
<string>Memory Usage</string> |
||||
</property> |
||||
<grid> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QLabel" row="1" column="0" rowspan="1" colspan="2"> |
||||
<property name="name"> |
||||
<cstring>descLabel</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string></string> |
||||
</property> |
||||
<property name="textFormat"> |
||||
<enum>PlainText</enum> |
||||
</property> |
||||
<property name="alignment"> |
||||
<set>AlignVCenter</set> |
||||
</property> |
||||
<property name="wordWrap"> |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLayoutWidget" row="0" column="0"> |
||||
<property name="name"> |
||||
<cstring>layout5</cstring> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>lowRadio</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>&Low</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>normalRadio</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>&Normal (default)</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QRadioButton"> |
||||
<property name="name"> |
||||
<cstring>aggressiveRadio</cstring> |
||||
</property> |
||||
<property name="text"> |
||||
<string>&Aggressive</string> |
||||
</property> |
||||
</widget> |
||||
</vbox> |
||||
</widget> |
||||
<widget class="QLayoutWidget" row="0" column="1"> |
||||
<property name="name"> |
||||
<cstring>layout6</cstring> |
||||
</property> |
||||
<vbox> |
||||
<property name="name"> |
||||
<cstring>unnamed</cstring> |
||||
</property> |
||||
<widget class="QLabel"> |
||||
<property name="name"> |
||||
<cstring>pixmapLabel1</cstring> |
||||
</property> |
||||
<property name="sizePolicy"> |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pixmap"> |
||||
<pixmap>"kcmmemory", 32</pixmap> |
||||
</property> |
||||
</widget> |
||||
<spacer> |
||||
<property name="name"> |
||||
<cstring>spacer7</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Vertical</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Minimum</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>21</width> |
||||
<height>1</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</vbox> |
||||
</widget> |
||||
</grid> |
||||
</widget> |
||||
<spacer> |
||||
<property name="name"> |
||||
<cstring>spacer1</cstring> |
||||
</property> |
||||
<property name="orientation"> |
||||
<enum>Vertical</enum> |
||||
</property> |
||||
<property name="sizeType"> |
||||
<enum>Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint"> |
||||
<size> |
||||
<width>21</width> |
||||
<height>16</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</vbox> |
||||
</widget> |
||||
<connections> |
||||
<connection> |
||||
<sender>lowRadio</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>DlgPerformance</receiver> |
||||
<slot>lowRadio_toggled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>normalRadio</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>DlgPerformance</receiver> |
||||
<slot>normalRadio_toggled(bool)</slot> |
||||
</connection> |
||||
<connection> |
||||
<sender>aggressiveRadio</sender> |
||||
<signal>toggled(bool)</signal> |
||||
<receiver>DlgPerformance</receiver> |
||||
<slot>aggressiveRadio_toggled(bool)</slot> |
||||
</connection> |
||||
</connections> |
||||
<includes> |
||||
<include location="global" impldecl="in implementation">kdialog.h</include> |
||||
<include location="global" impldecl="in declaration">kiconloader.h</include> |
||||
<include location="local" impldecl="in implementation">dlgperformance.ui.h</include> |
||||
</includes> |
||||
<slots> |
||||
<slot>lowRadio_toggled( bool on )</slot> |
||||
<slot>normalRadio_toggled( bool on )</slot> |
||||
<slot>aggressiveRadio_toggled( bool on )</slot> |
||||
</slots> |
||||
<functions> |
||||
<function access="private">init()</function> |
||||
</functions> |
||||
<pixmapfunction>DesktopIcon</pixmapfunction> |
||||
<layoutdefaults spacing="6" margin="11"/> |
||||
</UI> |
||||
@ -1,38 +0,0 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2004 by Enrico Ros <eros.kde@email.it> * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
***************************************************************************/ |
||||
|
||||
#include <klocale.h> |
||||
|
||||
// The purpose of this file is only to display a sort of descriptive text
|
||||
// when the user clicks on each memory profile.
|
||||
|
||||
void DlgPerformance::init() |
||||
{ |
||||
QFont labelFont = descLabel->font(); |
||||
labelFont.setBold( true ); |
||||
descLabel->setFont( labelFont ); |
||||
} |
||||
|
||||
void DlgPerformance::lowRadio_toggled( bool on ) |
||||
{ |
||||
if ( on ) |
||||
descLabel->setText( i18n("Keeps used memory as low as possible. Do not reuse anything. (For systems with low memory.)") ); |
||||
} |
||||
|
||||
void DlgPerformance::normalRadio_toggled( bool on ) |
||||
{ |
||||
if ( on ) |
||||
descLabel->setText( i18n("A good compromise between memory usage and speed gain. Preload next page and boost searches. (For systems with 256MB of memory, typically.)") ); |
||||
} |
||||
|
||||
void DlgPerformance::aggressiveRadio_toggled( bool on ) |
||||
{ |
||||
if ( on ) |
||||
descLabel->setText( i18n("Keeps everything in memory. Preload next pages. Boost searches. (For systems with more than 512MB of memory.)") ); |
||||
} |
||||
@ -0,0 +1,270 @@ |
||||
<ui version="4.0" > |
||||
<author></author> |
||||
<comment></comment> |
||||
<exportmacro></exportmacro> |
||||
<class>DlgPerformanceBase</class> |
||||
<widget class="QWidget" name="DlgPerformanceBase" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>305</width> |
||||
<height>287</height> |
||||
</rect> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QGroupBox" name="groupBox" > |
||||
<property name="title" > |
||||
<string>CPU Usage</string> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QCheckBox" name="kcfg_EnableCompositing" > |
||||
<property name="text" > |
||||
<string>Enable &transparency effects</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QCheckBox" name="kcfg_EnableThreading" > |
||||
<property name="text" > |
||||
<string>Enable &background generation</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QLabel" name="pixmapLabel1_2" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pixmap" > |
||||
<pixmap/> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Minimum</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>21</width> |
||||
<height>1</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="Q3ButtonGroup" name="kcfg_MemoryLevel" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>5</hsizetype> |
||||
<vsizetype>4</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="title" > |
||||
<string>Memory Usage</string> |
||||
</property> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>0</number> |
||||
</property> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QRadioButton" name="lowRadio" > |
||||
<property name="text" > |
||||
<string>&Low</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QRadioButton" name="normalRadio" > |
||||
<property name="text" > |
||||
<string>&Normal (default)</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QRadioButton" name="aggressiveRadio" > |
||||
<property name="text" > |
||||
<string>&Aggressive</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QLabel" name="pixmapLabel1" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="pixmap" > |
||||
<pixmap/> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Minimum</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>21</width> |
||||
<height>1</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="descLabel" > |
||||
<property name="text" > |
||||
<string/> |
||||
</property> |
||||
<property name="textFormat" > |
||||
<enum>Qt::PlainText</enum> |
||||
</property> |
||||
<property name="alignment" > |
||||
<set>Qt::AlignVCenter</set> |
||||
</property> |
||||
<property name="wordWrap" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Expanding</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>284</width> |
||||
<height>4</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<layoutdefault spacing="6" margin="11" /> |
||||
<pixmapfunction>DesktopIcon</pixmapfunction> |
||||
<customwidgets> |
||||
<customwidget> |
||||
<class>Q3ButtonGroup</class> |
||||
<extends></extends> |
||||
<header>Qt3Support/Q3ButtonGroup</header> |
||||
<container>1</container> |
||||
<pixmap></pixmap> |
||||
</customwidget> |
||||
</customwidgets> |
||||
<includes> |
||||
<include location="global" >kiconloader.h</include> |
||||
</includes> |
||||
<resources/> |
||||
<connections/> |
||||
</ui> |
||||
Loading…
Reference in new issue