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.
tdemultimedia/libkcddb/cdinfodialogbase.ui

431 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="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="TQLayoutWidget">
<property name="name">
<cstring>layout1</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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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>&amp;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="TDEListView">
<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>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="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&amp;,int)</signal>
<receiver>CDInfoDialogBase</receiver>
<slot>slotTrackDoubleClicked(TQListViewItem*,const TQPoint&amp;,int)</slot>
</connection>
<connection>
<sender>m_artist</sender>
<signal>textChanged(const TQString&amp;)</signal>
<receiver>CDInfoDialogBase</receiver>
<slot>artistChanged(const TQString&amp;)</slot>
</connection>
<connection>
<sender>m_genre</sender>
<signal>textChanged(const TQString&amp;)</signal>
<receiver>CDInfoDialogBase</receiver>
<slot>genreChanged(const TQString&amp;)</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>
<forward>class TQListViewItem;</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 &amp;, int column )</slot>
<slot>setInfo( const KCDDB::CDInfo &amp; info, KCDDB::TrackOffsetList &amp; trackStartFrames )</slot>
<slot>artistChanged( const TQString &amp; newArtist )</slot>
<slot>genreChanged( const TQString &amp; 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>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<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">knuminput.h</include>
<include location="global" impldecl="in implementation">tdelistview.h</include>
</includes>
</UI>