summaryrefslogtreecommitdiffstats
path: root/kdat/OptionsDlgWidget.ui
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit37333bf25ad9a4c538250f5af2f9f1d666362883 (patch)
treec45e8df5b9efbffe07eb3d9340df7811c7e16943 /kdat/OptionsDlgWidget.ui
downloadtdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.tar.gz
tdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/OptionsDlgWidget.ui')
-rw-r--r--kdat/OptionsDlgWidget.ui385
1 files changed, 385 insertions, 0 deletions
diff --git a/kdat/OptionsDlgWidget.ui b/kdat/OptionsDlgWidget.ui
new file mode 100644
index 0000000..5ace94d
--- /dev/null
+++ b/kdat/OptionsDlgWidget.ui
@@ -0,0 +1,385 @@
+<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
+<class>OptionsDlgWidget</class>
+<author>Michael Pyne</author>
+<widget class="QWidget">
+ <property name="name">
+ <cstring>OptionsDlgWidget</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>325</width>
+ <height>332</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>Options Widget</string>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout4</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout5</cstring>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="KIntSpinBox" row="0" column="1">
+ <property name="name">
+ <cstring>_defaultTapeSize</cstring>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>96</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maxValue">
+ <number>4096</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This setting determines the capacity that KDat assumes your backup tapes to be. This is used when formatting the tapes.</string>
+ </property>
+ </widget>
+ <widget class="KIntSpinBox" row="1" column="1">
+ <property name="name">
+ <cstring>_tapeBlockSize</cstring>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>96</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maxValue">
+ <number>262144</number>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Tape drives read and write data in individual blocks. This setting controls the size of each block, and should be set to your tape drive's block size. For floppy tape drives this should be set to &lt;b&gt;10240&lt;/b&gt; bytes.</string>
+ </property>
+ </widget>
+ <widget class="KComboBox" row="0" column="2">
+ <item>
+ <property name="text">
+ <string>MB</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>GB</string>
+ </property>
+ </item>
+ <property name="name">
+ <cstring>_defaultTapeSizeUnits</cstring>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string></string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This option chooses whether the default tape size to the left is in megabytes (MB) or gigabytes (GB).</string>
+ </property>
+ </widget>
+ <widget class="QLabel" row="1" column="2">
+ <property name="name">
+ <cstring>textLabel3</cstring>
+ </property>
+ <property name="text">
+ <string>bytes</string>
+ </property>
+ </widget>
+ <widget class="QLabel" row="1" column="0">
+ <property name="name">
+ <cstring>textLabel2</cstring>
+ </property>
+ <property name="text">
+ <string>Tape block size:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>_tapeBlockSize</cstring>
+ </property>
+ </widget>
+ <widget class="QLabel" row="0" column="0">
+ <property name="name">
+ <cstring>textLabel1</cstring>
+ </property>
+ <property name="text">
+ <string>Default tape size:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>_defaultTapeSize</cstring>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout1</cstring>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="KPushButton" row="1" column="2">
+ <property name="name">
+ <cstring>browseTarCommand</cstring>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Browse for the tar command.</string>
+ </property>
+ </widget>
+ <widget class="KLineEdit" row="0" column="1">
+ <property name="name">
+ <cstring>_tapeDevice</cstring>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>The location in the filesystem of the &lt;em&gt;non-rewinding&lt;/em&gt; tape device. The default is &lt;b&gt;/dev/tape&lt;/b&gt;.</string>
+ </property>
+ </widget>
+ <widget class="QLabel" row="1" column="0">
+ <property name="name">
+ <cstring>textLabel5</cstring>
+ </property>
+ <property name="text">
+ <string>Tar command:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>_tarCommand</cstring>
+ </property>
+ </widget>
+ <widget class="KPushButton" row="0" column="2">
+ <property name="name">
+ <cstring>browseTapeDevice</cstring>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Browse for the tape device.</string>
+ </property>
+ </widget>
+ <widget class="KLineEdit" row="1" column="1">
+ <property name="name">
+ <cstring>_tarCommand</cstring>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This setting controls the command that KDat uses to perform the tape backup. The full path should be given. The default is &lt;b&gt;tar&lt;/b&gt;.</string>
+ </property>
+ </widget>
+ <widget class="QLabel" row="0" column="0">
+ <property name="name">
+ <cstring>textLabel4</cstring>
+ </property>
+ <property name="text">
+ <string>Tape device:</string>
+ </property>
+ <property name="buddy" stdset="0">
+ <cstring>_tapeDevice</cstring>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="QButtonGroup">
+ <property name="name">
+ <cstring>buttonGroup1</cstring>
+ </property>
+ <property name="title">
+ <string>Tape Drive Options</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>_loadOnMount</cstring>
+ </property>
+ <property name="text">
+ <string>Load tape on mount</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>&lt;qt&gt;Issue an &lt;tt&gt;mtload&lt;/tt&gt; command prior to mounting the tape.&lt;/qt&gt;</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This command issues an &lt;tt&gt;mtload&lt;/tt&gt; command to the tape device before trying to mount it.
+
+This is required by some tape drives.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>_lockOnMount</cstring>
+ </property>
+ <property name="text">
+ <string>Lock tape drive on mount</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Disable the eject button after mounting the tape.</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>This option makes KDat try to disable the eject button on the tape drive after the tape has been mounted.
+
+This doesn't work for all tape drives.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>_ejectOnUnmount</cstring>
+ </property>
+ <property name="text">
+ <string>Eject tape on unmount</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Try to eject the tape after it is unmounted. Don't use this for ftape.</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Try to eject the tape after it has been unmounted.
+
+This option should not be used for floppy-tape drives.</string>
+ </property>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>_variableBlockSize</cstring>
+ </property>
+ <property name="text">
+ <string>Variable block size</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Enable variable-block size support in the tape drive.</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Some tape drives support different sizes of the data block. With this option, KDat will attempt to enable that support.
+
+You must still specify the block size.</string>
+ </property>
+ </widget>
+ </vbox>
+ </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>20</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
+ </hbox>
+</widget>
+<connections>
+ <connection>
+ <sender>_defaultTapeSize</sender>
+ <signal>valueChanged(int)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_tapeBlockSize</sender>
+ <signal>valueChanged(int)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_defaultTapeSizeUnits</sender>
+ <signal>activated(int)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_tapeDevice</sender>
+ <signal>textChanged(const QString&amp;)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_tarCommand</sender>
+ <signal>textChanged(const QString&amp;)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_loadOnMount</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_lockOnMount</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_ejectOnUnmount</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>_variableBlockSize</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotValueChanged()</slot>
+ </connection>
+ <connection>
+ <sender>browseTapeDevice</sender>
+ <signal>clicked()</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotBrowseTapeDevice()</slot>
+ </connection>
+ <connection>
+ <sender>browseTarCommand</sender>
+ <signal>clicked()</signal>
+ <receiver>OptionsDlgWidget</receiver>
+ <slot>slotBrowseTarCommand()</slot>
+ </connection>
+</connections>
+<includes>
+ <include location="global" impldecl="in implementation">kapplication.h</include>
+ <include location="global" impldecl="in implementation">kfiledialog.h</include>
+ <include location="global" impldecl="in implementation">kmessagebox.h</include>
+ <include location="global" impldecl="in implementation">kglobal.h</include>
+ <include location="global" impldecl="in implementation">kdialog.h</include>
+ <include location="local" impldecl="in implementation">OptionsDlgWidget.ui.h</include>
+</includes>
+<signals>
+ <signal>doBrowseTapeDevice()</signal>
+ <signal>doBrowseTarCommand()</signal>
+ <signal>valueChanged()</signal>
+</signals>
+<slots>
+ <slot access="protected">slotValueChanged()</slot>
+ <slot access="protected">slotBrowseTapeDevice()</slot>
+ <slot access="protected">slotBrowseTarCommand()</slot>
+</slots>
+<layoutdefaults spacing="11" margin="6"/>
+<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
+</UI>