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/kcmcddb/cddbconfigwidgetbase.ui

595 lines
29 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>CDDBConfigWidgetBase</class>
<comment>Used for configuring libkcddb.</comment>
<widget class="TQWidget">
<property name="name">
<cstring>CDDBConfigWidgetBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>452</width>
<height>573</height>
</rect>
</property>
<property name="caption">
<string>CDDB Settings</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget2</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Lookup</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>kcfg_cachePolicy</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>4</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Mode</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>6</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>cacheOnly</cstring>
</property>
<property name="text">
<string>&amp;Cache only</string>
</property>
<property name="whatsThis" stdset="0">
<string>Only check in the local cache for CD information.</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>cacheAndRemote</cstring>
</property>
<property name="text">
<string>Cache &amp;and remote</string>
</property>
<property name="whatsThis" stdset="0">
<string>Check for locally cached CD information before trying to look up at remote CDDB server.</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>remoteOnly</cstring>
</property>
<property name="text">
<string>&amp;Remote only</string>
</property>
<property name="whatsThis" stdset="0">
<string>Only try to look up at remote CDDB server.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>serverBox</cstring>
</property>
<property name="title">
<string>CDDB Server</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel7</cstring>
</property>
<property name="text">
<string>CDD&amp;B server:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_hostname</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel9</cstring>
</property>
<property name="text">
<string>&amp;Transport:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_lookupTransport</cstring>
</property>
</widget>
<widget class="TQComboBox" row="1" column="1">
<item>
<property name="text">
<string>CDDB</string>
</property>
</item>
<item>
<property name="text">
<string>HTTP</string>
</property>
</item>
<property name="name">
<cstring>kcfg_lookupTransport</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Type of lookup which should be tried at the CDDB server.</string>
</property>
</widget>
<widget class="KPushButton" row="1" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>mirrorListButton</cstring>
</property>
<property name="text">
<string>Show &amp;Mirror List</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="4">
<property name="name">
<cstring>kcfg_port</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxValue">
<number>64000</number>
</property>
<property name="value">
<number>8880</number>
</property>
<property name="whatsThis" stdset="0">
<string>Port to connect to on CDDB server.</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="3">
<property name="name">
<cstring>TextLabel8</cstring>
</property>
<property name="text">
<string>&amp;Port:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_port</cstring>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_hostname</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>gnudb.gnudb.org</string>
</property>
<property name="whatsThis" stdset="0">
<string>Name of CDDB server which will be used to look up CD information.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidgetStack">
<property name="name">
<cstring>cacheLocationsParent</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>WStackPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
</widget>
</widget>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>260</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Submit</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>kcfg_emailAddress</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Email address:</string>
</property>
</widget>
<spacer row="2" column="1">
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>240</height>
</size>
</property>
</spacer>
<widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_submitTransport</cstring>
</property>
<property name="title">
<string>Submit Method</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="7" column="1">
<property name="name">
<cstring>spacer9</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</spacer>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="1" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Server:</string>
</property>
</widget>
<widget class="TQRadioButton" row="2" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>radioButton8</cstring>
</property>
<property name="text">
<string>SMTP (Email)</string>
</property>
<property name="buttonGroupId">
<number>1</number>
</property>
</widget>
<spacer row="3" column="0" rowspan="5" colspan="1">
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>140</height>
</size>
</property>
</spacer>
<widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>radioButton6</cstring>
</property>
<property name="text">
<string>HTTP</string>
</property>
<property name="buttonGroupId">
<number>0</number>
</property>
</widget>
<widget class="KLineEdit" row="1" column="4" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_httpSubmitServer</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="6">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Port:</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignRight</set>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="7">
<property name="name">
<cstring>kcfg_httpSubmitPort</cstring>
</property>
</widget>
<widget class="TQLabel" row="3" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>textLabel9_2</cstring>
</property>
<property name="text">
<string>Reply-To:</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="1" rowspan="1" colspan="4">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SMTP server:</string>
</property>
</widget>
<widget class="TQLabel" row="5" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Port:</string>
</property>
</widget>
<widget class="TQLineEdit" row="3" column="5" rowspan="1" colspan="3">
<property name="name">
<cstring>kcfg_replyTo</cstring>
</property>
</widget>
<widget class="TQCheckBox" row="6" column="1" rowspan="1" colspan="7">
<property name="name">
<cstring>needsAuthenticationBox</cstring>
</property>
<property name="text">
<string>Server needs authentication</string>
</property>
</widget>
<widget class="TQLineEdit" row="4" column="5" rowspan="1" colspan="3">
<property name="name">
<cstring>kcfg_smtpHostname</cstring>
</property>
</widget>
<widget class="TQLabel" row="7" column="2" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Username:</string>
</property>
</widget>
<widget class="TQLineEdit" row="7" column="5" rowspan="1" colspan="3">
<property name="name">
<cstring>kcfg_smtpUsername</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="TQSpinBox" row="5" column="3" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_smtpPort</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="value">
<number>25</number>
</property>
</widget>
<spacer row="5" column="5" rowspan="1" colspan="3">
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>260</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
</grid>
</widget>
</widget>
</vbox>
</widget>
<customwidgets>
</customwidgets>
<connections>
<connection>
<sender>cacheOnly</sender>
<signal>toggled(bool)</signal>
<receiver>serverBox</receiver>
<slot>setDisabled(bool)</slot>
</connection>
<connection>
<sender>cacheAndRemote</sender>
<signal>toggled(bool)</signal>
<receiver>serverBox</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>remoteOnly</sender>
<signal>toggled(bool)</signal>
<receiver>serverBox</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>needsAuthenticationBox</sender>
<signal>toggled(bool)</signal>
<receiver>CDDBConfigWidgetBase</receiver>
<slot>needAuthenticationChanged(bool)</slot>
</connection>
<connection>
<sender>kcfg_lookupTransport</sender>
<signal>activated(int)</signal>
<receiver>CDDBConfigWidgetBase</receiver>
<slot>protocolChanged()</slot>
</connection>
<connection>
<sender>mirrorListButton</sender>
<signal>clicked()</signal>
<receiver>CDDBConfigWidgetBase</receiver>
<slot>showMirrorList()</slot>
</connection>
</connections>
<tabstops>
<tabstop>tabWidget2</tabstop>
<tabstop>cacheOnly</tabstop>
<tabstop>cacheAndRemote</tabstop>
<tabstop>remoteOnly</tabstop>
<tabstop>kcfg_hostname</tabstop>
<tabstop>kcfg_port</tabstop>
<tabstop>kcfg_lookupTransport</tabstop>
</tabstops>
<slots>
<slot access="protected">protocolChanged()</slot>
<slot access="protected">showMirrorList()</slot>
<slot access="protected">needAuthenticationChanged(bool)</slot>
</slots>
<layoutdefaults spacing="11" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>