You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
390 lines
18 KiB
390 lines
18 KiB
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
<class>OptionsDlgWidget</class>
|
|
<author>Michael Pyne</author>
|
|
<widget class="TQWidget">
|
|
<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="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout4</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="TQLayoutWidget">
|
|
<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 <b>10240</b> 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="TQLabel" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>textLabel3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>bytes</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" 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="TQLabel" 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="TQLayoutWidget">
|
|
<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 <em>non-rewinding</em> tape device. The default is <b>/dev/tape</b>.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" 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 <b>tar</b>.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" 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="TQButtonGroup">
|
|
<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="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>_loadOnMount</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Load tape on mount</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string><qt>Issue an <tt>mtload</tt> command prior to mounting the tape.</qt></string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>This command issues an <tt>mtload</tt> command to the tape device before trying to mount it.
|
|
|
|
This is required by some tape drives.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<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="TQCheckBox">
|
|
<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="TQCheckBox">
|
|
<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 TQString&)</signal>
|
|
<receiver>OptionsDlgWidget</receiver>
|
|
<slot>slotValueChanged()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>_tarCommand</sender>
|
|
<signal>textChanged(const TQString&)</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">kcombobox.h</include>
|
|
<include location="global" impldecl="in implementation">klineedit.h</include>
|
|
<include location="global" impldecl="in implementation">kpushbutton.h</include>
|
|
<include location="global" impldecl="in implementation">knuminput.h</include>
|
|
<include location="global" impldecl="in implementation">tdeapplication.h</include>
|
|
<include location="global" impldecl="in implementation">tdefiledialog.h</include>
|
|
<include location="global" impldecl="in implementation">tdemessagebox.h</include>
|
|
<include location="global" impldecl="in implementation">tdeglobal.h</include>
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
<include location="local" impldecl="in implementation">OptionsDlgWidget.ui.h</include>
|
|
</includes>
|
|
<Q_SIGNALS>
|
|
<signal>doBrowseTapeDevice()</signal>
|
|
<signal>doBrowseTarCommand()</signal>
|
|
<signal>valueChanged()</signal>
|
|
</Q_SIGNALS>
|
|
<Q_SLOTS>
|
|
<slot access="protected">slotValueChanged()</slot>
|
|
<slot access="protected">slotBrowseTapeDevice()</slot>
|
|
<slot access="protected">slotBrowseTarCommand()</slot>
|
|
</Q_SLOTS>
|
|
<layoutdefaults spacing="11" margin="6"/>
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
</UI>
|