kde-playground/kdepim/kjots/confpagemisc.ui
2015-04-14 21:49:29 +00:00

162 lines
4.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>confPageMisc</class>
<widget class="QWidget" name="confPageMisc">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>289</width>
<height>123</height>
</rect>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<item row="1" column="2">
<widget class="KIntSpinBox" name="autoSaveInterval">
<property name="whatsThis">
<string>This is the number of minutes KJots will wait before automatically saving changes.</string>
</property>
<property name="specialValueText">
<string>1 minute</string>
</property>
<property name="suffix">
<string> minutes</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>1440</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="textLabel1">
<property name="whatsThis">
<string>This is the number of minutes KJots will wait before automatically saving changes.</string>
</property>
<property name="text">
<string>S&amp;ave every:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>autoSaveInterval</cstring>
</property>
</widget>
</item>
<item row="1" column="3">
<spacer name="spacer1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="2">
<spacer name="spacer4">
<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>30</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="spacer3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0" colspan="4">
<widget class="QCheckBox" name="autoSave">
<property name="whatsThis">
<string>When &quot;Save changes periodically&quot; is checked, KJots will automatically save changes made to books at the interval defined below.</string>
</property>
<property name="text">
<string>&amp;Save changes periodically</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntSpinBox</class>
<extends>QSpinBox</extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<includes>
<include location="global">knuminput.h</include>
<include location="local">knuminput.h</include>
<include location="local">kfontdialog.h</include>
</includes>
<resources/>
<connections>
<connection>
<sender>kcfg_AutoSave</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_AutoSaveInterval</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>kcfg_AutoSave</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel1</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
</connections>
</ui>