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.
464 lines
26 KiB
464 lines
26 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>GenericMediaDeviceConfigDialog</class>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>GenericMediaDeviceConfigDialog</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>486</width>
|
|
<height>577</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="caption">
|
|
<string>GenericMediaDeviceConfigDialog1</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="TQLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>tqlayout88</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>groupBox1</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>3</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>GroupBoxPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Sunken</enum>
|
|
</property>
|
|
<property name="title">
|
|
<string>Transferring files to media device</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel2</cstring>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Plain</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>The following formats will be transferred directly:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>tqlayout24</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout23</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQListBox">
|
|
<property name="name">
|
|
<cstring>m_supportedListBox</cstring>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>Multi</enum>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The formats supported by the generic media device.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel1</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Other formats will be converted to:</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout19</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>m_addSupportedButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Add format...</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Add the above format to the list.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>m_removeSupportedButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Remove selected</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Remove the selected formats from the list.</string>
|
|
</property>
|
|
</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="tqsizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>93</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQComboBox">
|
|
<property name="name">
|
|
<cstring>m_convertComboBox</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The preferred format for transcoding files.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>groupBox2</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Transfered files locations</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>tqlayout120</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout119</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQCheckBox" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>m_ignoreTheCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ig&nore "The"</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>m_spaceCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Convert spaces</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>m_asciiCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>ASCII te&xt</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>m_vfatCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Always use &VFAT-safe names</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Always use VFAT-safe names even on devices with non-VFAT filesystems.</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout96</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Song location:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout86</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>m_songLocationBox</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The location of the transfered songs relative to the device mount point.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KActiveLabel">
|
|
<property name="name">
|
|
<cstring>m_formatHelp</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string><p align="center">(help)</p></string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel2_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Example song location:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>m_previewLabel</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Plain</enum>
|
|
</property>
|
|
<property name="margin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel2_2_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Podcast location:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>m_podcastLocationBox</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The location of the transfered podcasts relative to the device mount point.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>m_removeSupportedButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>GenericMediaDeviceConfigDialog</receiver>
|
|
<slot>removeSupportedButtonClicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_supportedListBox</sender>
|
|
<signal>doubleClicked(TQListBoxItem*)</signal>
|
|
<receiver>GenericMediaDeviceConfigDialog</receiver>
|
|
<slot>supportedListBoxDoubleClicked(TQListBoxItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_songLocationBox</sender>
|
|
<signal>textChanged(const TQString&)</signal>
|
|
<receiver>GenericMediaDeviceConfigDialog</receiver>
|
|
<slot>updatePreviewLabel(const TQString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_asciiCheck</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GenericMediaDeviceConfigDialog</receiver>
|
|
<slot>updatePreviewLabel()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_spaceCheck</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GenericMediaDeviceConfigDialog</receiver>
|
|
<slot>updatePreviewLabel()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_ignoreTheCheck</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GenericMediaDeviceConfigDialog</receiver>
|
|
<slot>updatePreviewLabel()</slot>
|
|
</connection>
|
|
</connections>
|
|
<includes>
|
|
<include location="global" impldecl="in implementation">metabundle.h</include>
|
|
<include location="global" impldecl="in implementation">qstringx.h</include>
|
|
<include location="global" impldecl="in implementation">collectionbrowser.h</include>
|
|
<include location="local" impldecl="in declaration">genericmediadevice.h</include>
|
|
<include location="global" impldecl="in declaration">tqpopupmenu.h</include>
|
|
</includes>
|
|
<variables>
|
|
<variable access="private">TQPopupMenu *m_unsupportedMenu;</variable>
|
|
<variable access="private">MetaBundle *m_previewBundle;</variable>
|
|
<variable access="private">GenericMediaDevice *m_device;</variable>
|
|
</variables>
|
|
<Q_SLOTS>
|
|
<slot>addSupportedButtonClicked( int id )</slot>
|
|
<slot specifier="non virtual">removeSupportedButtonClicked()</slot>
|
|
<slot specifier="non virtual">supportedListBoxDoubleClicked( TQListBoxItem * item )</slot>
|
|
<slot>updatePreviewLabel()</slot>
|
|
<slot>updatePreviewLabel( const TQString & format )</slot>
|
|
</Q_SLOTS>
|
|
<functions>
|
|
<function access="private" specifier="non virtual">updateConfigDialogLists( const TQStringList & supportedFileTypes )</function>
|
|
<function access="private" specifier="non virtual" returnType="TQString">buildDestination( const TQString & format, const MetaBundle & mb )</function>
|
|
<function access="private" specifier="non virtual" returnType="TQString">cleanPath( const TQString & component )</function>
|
|
<function specifier="non virtual">setDevice( GenericMediaDevice * device )</function>
|
|
<function access="private" specifier="non virtual" returnType="TQString">buildFormatTip()</function>
|
|
<function access="private" specifier="non virtual">init()</function>
|
|
<function access="private" specifier="non virtual">destroy()</function>
|
|
</functions>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<includehints>
|
|
<includehint>kactivelabel.h</includehint>
|
|
</includehints>
|
|
</UI>
|