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="QWidget">
|
|
<property name="name">
|
|
<cstring>CDInfoDialogBase</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<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="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout1</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLabel" 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="QLabel" 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="QLabel" 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="QLabel" 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="QLabel" 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="QLabel" 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="QCheckBox" 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="QLabel" 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="QLabel" 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="QLabel" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>lb_id</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disc Id:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="3" column="2">
|
|
<property name="name">
|
|
<cstring>lb_length</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Length:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="5" column="3">
|
|
<property name="name">
|
|
<cstring>m_revision</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" 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="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout2</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="sizeHint">
|
|
<size>
|
|
<width>231</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>m_changeEncoding</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Change Encoding...</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<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(QListViewItem*)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>slotTrackSelected(QListViewItem*)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_trackList</sender>
|
|
<signal>doubleClicked(QListViewItem*,const QPoint&,int)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>slotTrackDoubleClicked(QListViewItem*,const QPoint&,int)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_artist</sender>
|
|
<signal>textChanged(const QString&)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>artistChanged(const QString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>m_genre</sender>
|
|
<signal>textChanged(const QString&)</signal>
|
|
<receiver>CDInfoDialogBase</receiver>
|
|
<slot>genreChanged(const QString&)</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">qdatetime.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>
|
|
<signals>
|
|
<signal>play(int i)</signal>
|
|
<signal>discInfoClicked()</signal>
|
|
<signal>trackInfoClicked(unsigned)</signal>
|
|
</signals>
|
|
<slots>
|
|
<slot access="protected">slotTrackSelected( QListViewItem * item )</slot>
|
|
<slot access="protected">slotNextTrack()</slot>
|
|
<slot access="protected">slotTrackDoubleClicked( QListViewItem * item, const QPoint &, int column )</slot>
|
|
<slot>setInfo( const KCDDB::CDInfo & info, KCDDB::TrackOffsetList & trackStartFrames )</slot>
|
|
<slot>artistChanged( const QString & newArtist )</slot>
|
|
<slot>genreChanged( const QString & newGenre )</slot>
|
|
<slot>slotMultipleArtists( bool hasMultipleArtist )</slot>
|
|
<slot access="private">slotChangeEncoding()</slot>
|
|
</slots>
|
|
<functions>
|
|
<function access="private" specifier="non virtual">init()</function>
|
|
<function access="private" specifier="non virtual">destroy()</function>
|
|
<function returnType="QString">framesTime( unsigned frames )</function>
|
|
<function returnType="KCDDB::CDInfo">info() const</function>
|
|
</functions>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<layoutfunctions 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>
|