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.
430 lines
17 KiB
430 lines
17 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>CDInfoDialogBase</class>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>CDInfoDialogBase</cstring>
|
|
</property>
|
|
<property name="tqgeometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>501</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout1</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="5" column="2">
|
|
<property name="name">
|
|
<cstring>lb_revision</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Revision:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="1" column="1" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>m_title</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Use the name of the artist if there is no title.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>lb_category</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Category:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_category</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="5" column="1">
|
|
<property name="name">
|
|
<cstring>m_id</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="0" column="1" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>m_artist</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Write names as "first last", not "last, first". Omit any leading "The". Use "Various" for compilations.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>lb_artist</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Artist:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_artist</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>lb_year</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Year:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_year</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="4" column="2">
|
|
<property name="name">
|
|
<cstring>lb_genre</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Genre:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_genre</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KComboBox" row="4" column="1">
|
|
<property name="name">
|
|
<cstring>m_category</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Disc Id values must be unique within a category.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KIntSpinBox" row="3" column="1">
|
|
<property name="name">
|
|
<cstring>m_year</cstring>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>2100</number>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="6" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>m_multiple</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Multiple artists</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>m_comment</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>lb_comment</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Comment:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>le_discInfo</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>lb_title</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Title:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>m_title</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KComboBox" row="4" column="3">
|
|
<property name="name">
|
|
<cstring>m_genre</cstring>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="duplicatesEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Avoid custom values, as they will be written to CDDB as-is.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>lb_id</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disc Id:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="3" column="2">
|
|
<property name="name">
|
|
<cstring>lb_length</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Length:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="5" column="3">
|
|
<property name="name">
|
|
<cstring>m_revision</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="3" column="3">
|
|
<property name="name">
|
|
<cstring>m_length</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="KListView">
|
|
<column>
|
|
<property name="text">
|
|
<string>Track</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Length</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Title</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Comment</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Artist</string>
|
|
</property>
|
|
<property name="clickable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="resizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</column>
|
|
<property name="name">
|
|
<cstring>m_trackList</cstring>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="defaultRenameAction">
|
|
<enum>Accept</enum>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>For a CD-Extra, set title to "Data".</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout2</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer1</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>231</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>m_changeEncoding</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Change Encoding...</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>lb_playingOrder</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Playing order:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KLineEdit">
|
|
<property name="name">
|
|
<cstring>m_playOrder</cstring>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<customwidgets>
|
|
</customwidgets>
|
|
<connections>
|
|
<connection>
|
|
<sender>m_trackList</sender>
|
|
<signal>selectionChanged(TQListViewItem*)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>slotTrackSelected(TQListViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_trackList</sender>
|
|
<signal>doubleClicked(TQListViewItem*,const TQPoint&,int)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>slotTrackDoubleClicked(TQListViewItem*,const TQPoint&,int)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_artist</sender>
|
|
<signal>textChanged(const TQString&)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>artistChanged(const TQString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_genre</sender>
|
|
<signal>textChanged(const TQString&)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>genreChanged(const TQString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_multiple</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>slotMultipleArtists(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_changeEncoding</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>slotChangeEncoding()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>m_artist</tabstop>
|
|
<tabstop>m_title</tabstop>
|
|
<tabstop>m_comment</tabstop>
|
|
<tabstop>m_year</tabstop>
|
|
<tabstop>m_category</tabstop>
|
|
<tabstop>m_genre</tabstop>
|
|
<tabstop>m_trackList</tabstop>
|
|
<tabstop>m_playOrder</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">kdialog.h</include>
|
|
<include location="local" impldecl="in implementation">tqdatetime.h</include>
|
|
<include location="local" impldecl="in declaration">libkcddb/cdinfo.h</include>
|
|
<include location="local" impldecl="in declaration">libkcddb/cddb.h</include>
|
|
<include location="local" impldecl="in declaration">libkcddb/categories.h</include>
|
|
<include location="local" impldecl="in declaration">libkcddb/genres.h</include>
|
|
<include location="local" impldecl="in implementation">cdinfodialogbase.ui.h</include>
|
|
</includes>
|
|
<forwards>
|
|
<forward>class KCDDBDlgBasePrivate</forward>
|
|
</forwards>
|
|
<variables>
|
|
<variable access="private">KCDDB::Genres m_genres;</variable>
|
|
<variable access="private">KCDDB::Categories m_categories;</variable>
|
|
<variable access="private">static const char *SEPARATOR;</variable>
|
|
<variable access="public">static const unsigned TRACK_ARTIST = 4;</variable>
|
|
<variable access="private">KCDDBDlgBasePrivate *d;</variable>
|
|
<variable access="public">static const unsigned TRACK_TIME = 1;</variable>
|
|
<variable access="public">static const unsigned TRACK_NUMBER = 0;</variable>
|
|
<variable access="public">static const unsigned TRACK_TITLE = 2;</variable>
|
|
<variable access="public">static const unsigned TRACK_COMMENT = 3;</variable>
|
|
</variables>
|
|
<Q_SIGNALS>
|
|
<signal>play(int i)</signal>
|
|
<signal>discInfoClicked()</signal>
|
|
<signal>trackInfoClicked(unsigned)</signal>
|
|
</Q_SIGNALS>
|
|
<Q_SLOTS>
|
|
<slot access="protected">slotTrackSelected( TQListViewItem * item )</slot>
|
|
<slot access="protected">slotNextTrack()</slot>
|
|
<slot access="protected">slotTrackDoubleClicked( TQListViewItem * item, const TQPoint &, int column )</slot>
|
|
<slot>setInfo( const KCDDB::CDInfo & info, KCDDB::TrackOffsetList & trackStartFrames )</slot>
|
|
<slot>artistChanged( const TQString & newArtist )</slot>
|
|
<slot>genreChanged( const TQString & newGenre )</slot>
|
|
<slot>slotMultipleArtists( bool hasMultipleArtist )</slot>
|
|
<slot access="private">slotChangeEncoding()</slot>
|
|
</Q_SLOTS>
|
|
<functions>
|
|
<function access="private" specifier="non virtual">init()</function>
|
|
<function access="private" specifier="non virtual">destroy()</function>
|
|
<function returnType="TQString">framesTime( unsigned frames )</function>
|
|
<function returnType="KCDDB::CDInfo">info() const</function>
|
|
</functions>
|
|
<tqlayoutdefaults spacing="6" margin="11"/>
|
|
<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
<includehints>
|
|
<includehint>klineedit.h</includehint>
|
|
<includehint>kcombobox.h</includehint>
|
|
<includehint>knuminput.h</includehint>
|
|
<includehint>klistview.h</includehint>
|
|
</includehints>
|
|
</UI>
|