|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>Options5</class>
|
|
|
|
<widget class="TQWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>Options5</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>481</width>
|
|
|
|
<height>472</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQCheckBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdEnabled</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Use On-Screen-Display</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Check to enable the On-Screen-Display. <br>The OSD briefly displays track data when a new track is played.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>Check to enable the On-Screen-Display. The OSD briefly displays track data when a new track is played.</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>spacer2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mainBox</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>fontBox</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>GroupBoxPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>Sunken</enum>
|
|
|
|
</property>
|
|
|
|
<property name="lineWidth">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>&Font</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TDEFontRequester">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdFont</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="sampleText">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>The font to use for the On-Screen Display.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The font to use for the On-Screen Display.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQCheckBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdDrawShadow</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Draw &shadow</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>groupBox9</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>C&olors</string>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout3</cstring>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQCheckBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdUseCustomColors</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Use &custom colors</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Check to enable custom colors for the On-Screen-Display.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>Check to enable custom colors for the On-Screen-Display.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout1</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>Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>colorsBox</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2_2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>5</vsizetype>
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Background color:</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The color of the OSD background.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KColorButton" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdTextColor</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="color">
|
|
|
|
<color>
|
|
|
|
<red>255</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Click to select the color of the OSD text.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The color of the OSD text.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KColorButton" row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdBackgroundColor</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<property name="color">
|
|
|
|
<color>
|
|
|
|
<red>255</red>
|
|
|
|
<green>0</green>
|
|
|
|
<blue>0</blue>
|
|
|
|
</color>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Click to select the background color of the OSD.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The color of the OSD background.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>5</vsizetype>
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Text color:</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The color of the OSD text.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQCheckBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdUseFakeTranslucency</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Make the &background translucent</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>osdText</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>GroupBoxPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Display &Text</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQCheckBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdUsePlaylistColumns</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Display the same information as the columns in the playlist</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KTextEdit">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdText</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>7</hsizetype>
|
|
|
|
<vsizetype>7</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="lineWidth">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="textFormat">
|
|
|
|
<enum>PlainText</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tabChangesFocus">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>groupBox22</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Duration:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>kcfg_OsdDuration</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KIntSpinBox" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdDuration</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>1</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="suffix">
|
|
|
|
<string> ms</string>
|
|
|
|
</property>
|
|
|
|
<property name="specialValueText">
|
|
|
|
<string>Forever</string>
|
|
|
|
</property>
|
|
|
|
<property name="buttonSymbols">
|
|
|
|
<enum>UpDownArrows</enum>
|
|
|
|
</property>
|
|
|
|
<property name="maxValue">
|
|
|
|
<number>600000</number>
|
|
|
|
</property>
|
|
|
|
<property name="minValue">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="lineStep">
|
|
|
|
<number>1000</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>5000</number>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>The time in milliseconds to show the OSD. The value must be between 500 ms and 10000 ms.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The time in milliseconds to show the OSD. The value must be between 500 ms and 10000 ms.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KComboBox" row="0" column="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>kcfg_OsdScreen</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>1</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>The screen that should display the OSD.</string>
|
|
|
|
</property>
|
|
|
|
<property name="whatsThis" stdset="0">
|
|
|
|
<string>The screen that should display the OSD.</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2_3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Sc&reen:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>kcfg_OsdScreen</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>kcfg_OsdUseCustomColors</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>colorsBox</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>kcfg_OsdEnabled</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>mainBox</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>kcfg_OsdUseCustomColors</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>Options5</receiver>
|
|
|
|
<slot>useCustomColorsToggled(bool)</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>kcfg_OsdUsePlaylistColumns</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>kcfg_OsdText</receiver>
|
|
|
|
<slot>setDisabled(bool)</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<includes>
|
|
|
|
<include location="global" impldecl="in implementation">tqapplication.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">tqdesktopwidget.h</include>
|
|
|
|
<include location="local" impldecl="in declaration">osd.h</include>
|
|
|
|
</includes>
|
|
|
|
<variables>
|
|
|
|
<variable access="private">OSDPreviewWidget *m_pOSDPreview;</variable>
|
|
|
|
</variables>
|
|
|
|
<Q_SIGNALS>
|
|
|
|
<signal>settingsChanged()</signal>
|
|
|
|
</Q_SIGNALS>
|
|
|
|
<Q_SLOTS>
|
|
|
|
<slot access="protected">slotPositionChanged()</slot>
|
|
|
|
<slot access="protected">useCustomColorsToggled( bool on )</slot>
|
|
|
|
<slot access="protected">useFakeTransparencyToggled( bool on )</slot>
|
|
|
|
</Q_SLOTS>
|
|
|
|
<functions>
|
|
|
|
<function access="private" specifier="non virtual">init()</function>
|
|
|
|
<function access="protected">hideEvent( TQHideEvent * )</function>
|
|
|
|
<function access="protected">showEvent( TQShowEvent * )</function>
|
|
|
|
</functions>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
<includehints>
|
|
|
|
<includehint>ktextedit.h</includehint>
|
|
|
|
</includehints>
|
|
|
|
</UI>
|