dolphin/konqueror/settings/kio/cache.ui
Nikhil Marathe 06c4946ce1 Add units to the spinbox containing the size
of the user's cache. The unit is KiB.

The bug was initially reported for the Rekonq
project which uses this kcm module.
Even though trunk is in string freeze, permission
has been obtained from the translation team
by Panagiotis Papadopoulos ( pano_90@gmx.net ).

CCMAIL: kde-i18n-doc@kde.org
BUG: 238861
GUI:

svn path=/trunk/KDE/kdebase/apps/; revision=1134392
2010-06-04 09:11:16 +00:00

224 lines
5.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CacheConfigUI</class>
<widget class="QWidget" name="CacheConfigUI">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>349</width>
<height>234</height>
</rect>
</property>
<layout class="QGridLayout">
<item row="0" column="0" colspan="5">
<widget class="QCheckBox" name="cbUseCache">
<property name="whatsThis">
<string>Check this box if you want the web pages you visit to be stored on your hard disk for quicker access. The stored pages will only be updated as needed instead of on every visit to that site. This is especially useful if you have a slow connection to the Internet.</string>
</property>
<property name="text">
<string>&amp;Use cache</string>
</property>
</widget>
</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" stdset="0">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" colspan="4">
<widget class="QGroupBox" name="bgCachePolicy">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Policy</string>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QRadioButton" name="rbVerifyCache">
<property name="whatsThis">
<string>Verify whether the cached web page is valid before attempting to fetch the web page again.</string>
</property>
<property name="text">
<string>&amp;Keep cache in sync</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbCacheIfPossible">
<property name="whatsThis">
<string>Always use documents from the cache when available. You can still use the reload button to synchronize the cache with the remote host.</string>
</property>
<property name="text">
<string>Use cache whenever &amp;possible</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rbOfflineMode">
<property name="whatsThis">
<string>Do not fetch web pages that are not already stored in the cache. Offline mode prevents you from viewing pages that you have not previously visited.</string>
</property>
<property name="text">
<string>O&amp;ffline browsing mode</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="lbMaxCacheSize">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Disk cache &amp;size:</string>
</property>
<property name="buddy">
<cstring>sbMaxCacheSize</cstring>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="KIntNumInput" name="sbMaxCacheSize">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string> KiB</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="clearCacheButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>C&amp;lear Cache</string>
</property>
</widget>
</item>
<item row="2" column="4">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0" colspan="5">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends>QWidget</extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>cbUseCache</sender>
<signal>toggled(bool)</signal>
<receiver>bgCachePolicy</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>60</x>
<y>60</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbUseCache</sender>
<signal>toggled(bool)</signal>
<receiver>lbMaxCacheSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>60</x>
<y>181</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbUseCache</sender>
<signal>toggled(bool)</signal>
<receiver>sbMaxCacheSize</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>164</x>
<y>181</y>
</hint>
</hints>
</connection>
<connection>
<sender>cbUseCache</sender>
<signal>toggled(bool)</signal>
<receiver>clearCacheButton</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>284</x>
<y>181</y>
</hint>
</hints>
</connection>
</connections>
</ui>