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.
411 lines
15 KiB
411 lines
15 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>fileWizard</class>
|
|
<widget class="TQDialog">
|
|
<property name="name">
|
|
<cstring>fileWizard</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>582</width>
|
|
<height>456</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>1</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="caption">
|
|
<string>File Location Wizard</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel8</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>3</hsizetype>
|
|
<vsizetype>3</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>When files have finished being processed, they are saved based upon the <i>File Location</i>. Information about the track should be used within that text. There are eleven special words starting with a % that will be replaced with the corresponding track's information. Each of the buttons below will insert its replacement word into the <i>File Location</i> where the cursor is. Use at least one replacement string to make sure that the <i>File Location</i> is unique.</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>RichText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>WordBreak|AlignTop|AlignLeft</set>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer6</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout8</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel9</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&File location:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>playlistFormat</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>fileFormat</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>~/%{extension}/%{artist}/%{album}/%{artist} - %{album}.m3u</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>exampleLabel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Example: ~/mp3/Staind/Lost Love/Staind - Lost Love.m3u</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout15</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQPushButton" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>artistButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Artist</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="2" column="2">
|
|
<property name="name">
|
|
<cstring>homeDirButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Home Folder</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="3">
|
|
<property name="name">
|
|
<cstring>trackNumberButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Track Number</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>extensionButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Extension</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>trackTitleButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Track T&itle</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>trackCommentButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>T&rack Comment</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>genreButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Genre</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="0" column="3">
|
|
<property name="name">
|
|
<cstring>yearButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Year</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>albumButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Al&bum</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>trackArtistButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Trac&k Artist</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>commentButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Co&mment</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="Line">
|
|
<property name="name">
|
|
<cstring>Line2</cstring>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Sunken</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout1</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Horizontal Spacing2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>buttonOk</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&OK</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>buttonCancel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonOk</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonCancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>homeDirButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>homePressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>artistButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>artistPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>trackNumberButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>trackNumberPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>yearButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>yearPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>extensionButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>extensionPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>albumButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>albumPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>trackTitleButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>trackTitlePressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>genreButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>genrePressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>fileFormat</sender>
|
|
<signal>textChanged(const TQString&)</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>fileFormatTextChanged(const TQString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>trackArtistButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>trackArtistPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>trackCommentButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>trackCommentPressed()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>commentButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>fileWizard</receiver>
|
|
<slot>commentPressed()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>fileFormat</tabstop>
|
|
<tabstop>albumButton</tabstop>
|
|
<tabstop>artistButton</tabstop>
|
|
<tabstop>commentButton</tabstop>
|
|
<tabstop>yearButton</tabstop>
|
|
<tabstop>trackNumberButton</tabstop>
|
|
<tabstop>trackArtistButton</tabstop>
|
|
<tabstop>trackCommentButton</tabstop>
|
|
<tabstop>trackTitleButton</tabstop>
|
|
<tabstop>genreButton</tabstop>
|
|
<tabstop>extensionButton</tabstop>
|
|
<tabstop>homeDirButton</tabstop>
|
|
<tabstop>buttonOk</tabstop>
|
|
<tabstop>buttonCancel</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">wizard.ui.h</include>
|
|
</includes>
|
|
<slots>
|
|
<slot access="private">homePressed()</slot>
|
|
<slot>extensionPressed()</slot>
|
|
<slot access="private">trackTitlePressed()</slot>
|
|
<slot>trackArtistPressed()</slot>
|
|
<slot access="private">trackNumberPressed()</slot>
|
|
<slot>trackCommentPressed()</slot>
|
|
<slot access="private">yearPressed()</slot>
|
|
<slot>genrePressed()</slot>
|
|
<slot>albumPressed()</slot>
|
|
<slot>artistPressed()</slot>
|
|
<slot>commentPressed()</slot>
|
|
<slot>fileFormatTextChanged( const TQString & text )</slot>
|
|
</slots>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|