okular/kpdf/conf/dlgaccessibility.ui
Enrico Ros 93fc5f2e3c Added accessibility settings. We should take care of rendering/color
problems for partially blind and similar problems or even simple annoyances

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=358599
2004-10-28 19:50:57 +00:00

500 lines
20 KiB
XML

<!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>320</width>
<height>332</height>
</rect>
</property>
<property name="caption">
<string>DlgAccessibility</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QButtonGroup">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>4</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Page &amp;Rendering</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<property name="name">
<cstring>radioNormal</cstring>
</property>
<property name="text">
<string>Normal</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout4</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>true</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>true</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>180</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>radioInverted</cstring>
</property>
<property name="text">
<string>Invert colors</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>radioRecolor</cstring>
</property>
<property name="text">
<string>Change foreground and background 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>Background 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>Foreground 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>
<property name="accel">
<string></string>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<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>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Contrast:</string>
</property>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>kcfg_BWTreshold</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="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>10</number>
</property>
<property name="value">
<number>5</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<spacer>
<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>
</hbox>
</widget>
</vbox>
</widget>
<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>Enhance &amp;Visibility</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox">
<property name="name">
<cstring>kcfg_HighlightImages</cstring>
</property>
<property name="text">
<string>Draw &amp;border around images</string>
</property>
<property name="accel">
<string>Alt+B</string>
</property>
</widget>
<widget class="QCheckBox">
<property name="name">
<cstring>kcfg_HighlightLinks</cstring>
</property>
<property name="text">
<string>Highlight &amp;links</string>
</property>
<property name="accel">
<string>Alt+L</string>
</property>
</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_BWTreshold</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>radioNormal</sender>
<signal>toggled(bool)</signal>
<receiver>DlgAccessibility</receiver>
<slot>radioNormal_toggled(bool)</slot>
</connection>
<connection>
<sender>radioInverted</sender>
<signal>toggled(bool)</signal>
<receiver>DlgAccessibility</receiver>
<slot>radioInverted_toggled(bool)</slot>
</connection>
<connection>
<sender>radioRecolor</sender>
<signal>toggled(bool)</signal>
<receiver>DlgAccessibility</receiver>
<slot>radioRecolor_toggled(bool)</slot>
</connection>
<connection>
<sender>radioContrast</sender>
<signal>toggled(bool)</signal>
<receiver>DlgAccessibility</receiver>
<slot>radioContrast_toggled(bool)</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
<include location="local" impldecl="in implementation">dlgaccessibility.ui.h</include>
</includes>
<slots>
<slot>radioNormal_toggled( bool on )</slot>
<slot>radioInverted_toggled( bool on )</slot>
<slot>radioRecolor_toggled( bool on )</slot>
<slot>radioContrast_toggled( bool on )</slot>
</slots>
<functions>
<function access="private">init()</function>
</functions>
<layoutdefaults spacing="5" margin="11"/>
<includehints>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
</includehints>
</UI>