summaryrefslogtreecommitdiffstats
path: root/amarok/src/tagguesserconfigdialog.ui
blob: de75856f92b867826d6f952313a3f705d01dd222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>TagGuesserConfigDialog</class>
<author>Frerich Raabe &lt;raabe@kde.org&gt;</author>
<widget class="KDialog">
    <property name="name">
        <cstring>TagGuesserConfigDialog</cstring>
    </property>
    <property name="tqgeometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>467</width>
            <height>260</height>
        </rect>
    </property>
    <property name="caption">
        <string>Tag Guesser</string>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="KListView" row="0" column="0" rowspan="7" colspan="1">
            <column>
                <property name="text">
                    <string>File Name Scheme</string>
                </property>
                <property name="clickable">
                    <bool>false</bool>
                </property>
                <property name="resizable">
                    <bool>false</bool>
                </property>
            </column>
            <property name="name">
                <cstring>lvSchemes</cstring>
            </property>
            <property name="frameShape">
                <enum>StyledPanel</enum>
            </property>
            <property name="frameShadow">
                <enum>Sunken</enum>
            </property>
            <property name="fullWidth">
                <bool>true</bool>
            </property>
            <property name="toolTip" stdset="0">
                <string>Here you can see the currently configured file name schemes which the "Guess Tags From Filename" button uses to extract tag information from a file name. Each string may contain one of the following placeholders:&lt;ul&gt;
&lt;li&gt;%title: Song Title&lt;/li&gt;
&lt;li&gt;%artist: Artist&lt;/li&gt;
&lt;li&gt;%album: Album&lt;/li&gt;
&lt;li&gt;%track: Track Number&lt;/li&gt;
&lt;li&gt;%year: Year&lt;/li&gt;
&lt;li&gt;%comment: Comment&lt;/li&gt;
&lt;/ul&gt;
For example, the file name scheme "[%track] %artist - %title" would match "[01] Deep Purple - Smoke on the water" but not "(Deep Purple) Smoke on the water". For that second name, you would use the scheme "(%artist) %title".&lt;p/&gt;
Note that the order in which the schemes appear in the list is relevant, since the tag guesser will go through the list from the top to the bottom, and use the first matching scheme.</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Here you can see the currently configured file name schemes which the "Guess Tags From Filename" button uses to extract tag information from a file name. Each string may contain one of the following placeholders:&lt;ul&gt;
&lt;li&gt;%title: Song Title&lt;/li&gt;
&lt;li&gt;%artist: Artist&lt;/li&gt;
&lt;li&gt;%album: Album&lt;/li&gt;
&lt;li&gt;%track: Track Number&lt;/li&gt;
&lt;li&gt;%year: Year&lt;/li&gt;
&lt;li&gt;%comment: Comment&lt;/li&gt;
&lt;/ul&gt;
For example, the file name scheme "[%track] %artist - %title" would match "[01] Deep Purple - Smoke on the water" but not "(Deep Purple) Smoke on the water". For that second name, you would use the scheme "(%a) %t".&lt;p/&gt;
Note that the order in which the schemes appear in the list is relevant, since the tag guesser will go through the list from the top to the bottom, and use the first matching scheme.</string>
            </property>
        </widget>
        <widget class="TQToolButton" row="0" column="1">
            <property name="name">
                <cstring>bMoveUp</cstring>
            </property>
            <property name="text">
                <string></string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Move scheme up</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to move the currently selected scheme one step upwards.</string>
            </property>
        </widget>
        <widget class="TQToolButton" row="0" column="3">
            <property name="name">
                <cstring>bMoveDown</cstring>
            </property>
            <property name="text">
                <string></string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Move scheme down</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to move the currently selected scheme one step downwards.</string>
            </property>
        </widget>
        <widget class="KPushButton" row="2" column="1" rowspan="1" colspan="3">
            <property name="name">
                <cstring>bModify</cstring>
            </property>
            <property name="text">
                <string>Mo&amp;dify</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Modify scheme</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to modify the currently selected scheme.</string>
            </property>
        </widget>
        <widget class="KPushButton" row="3" column="1" rowspan="1" colspan="3">
            <property name="name">
                <cstring>bRemove</cstring>
            </property>
            <property name="text">
                <string>&amp;Remove</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Remove scheme</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to remove the currently selected scheme from the list.</string>
            </property>
        </widget>
        <widget class="KPushButton" row="1" column="1" rowspan="1" colspan="3">
            <property name="name">
                <cstring>bAdd</cstring>
            </property>
            <property name="text">
                <string>&amp;Add</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Add a new scheme</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to add a new file name scheme to the end of the list.</string>
            </property>
        </widget>
        <spacer row="4" column="2">
            <property name="name">
                <cstring>spacer1</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="tqsizeHint">
                <size>
                    <width>20</width>
                    <height>60</height>
                </size>
            </property>
        </spacer>
        <widget class="KPushButton" row="5" column="1" rowspan="1" colspan="3">
            <property name="name">
                <cstring>bOk</cstring>
            </property>
            <property name="text">
                <string>O&amp;k</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Add a new scheme</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to add a new file name scheme to the end of the list.</string>
            </property>
        </widget>
        <widget class="KPushButton" row="6" column="1" rowspan="1" colspan="3">
            <property name="name">
                <cstring>bCancel</cstring>
            </property>
            <property name="text">
                <string>&amp;Cancel</string>
            </property>
            <property name="toolTip" stdset="0">
                <string>Add a new scheme</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>Press this button to add a new file name scheme to the end of the list.</string>
            </property>
        </widget>
    </grid>
</widget>
<customwidgets>
</customwidgets>
<includes>
    <include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<Q_SLOTS>
    <slot specifier="non virtual">slotCurrentChanged( TQListViewItem * item )</slot>
    <slot>accept()</slot>
    <slot>reject()</slot>
    <slot specifier="non virtual">slotRenameItem( TQListViewItem * item, const QPoint &amp;, int c )</slot>
    <slot specifier="non virtual">slotMoveUpClicked()</slot>
    <slot specifier="non virtual">slotMoveDownClicked()</slot>
    <slot specifier="non virtual">slotAddClicked()</slot>
    <slot specifier="non virtual">slotModifyClicked()</slot>
    <slot specifier="non virtual">slotRemoveClicked()</slot>
</Q_SLOTS>
<functions>
    <function access="private" specifier="non virtual">init()</function>
</functions>
<tqlayoutdefaults spacing="6" margin="0"/>
<tqlayoutfunctions spacing="KDialog::spacingHint"/>
<includehints>
    <includehint>kdialog.h</includehint>
    <includehint>klistview.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kpushbutton.h</includehint>
</includehints>
</UI>