1<interface domain="easytag">
2    <requires lib="gtk+" version="3.10"/>
3    <object class="GtkListStore" id="search_results_model">
4        <columns>
5            <column type="gchararray"/>
6            <column type="gchararray"/>
7            <column type="gchararray"/>
8            <column type="gchararray"/>
9            <column type="gchararray"/>
10            <column type="gchararray"/>
11            <column type="gchararray"/>
12            <column type="gchararray"/>
13            <column type="gchararray"/>
14            <column type="gchararray"/>
15            <column type="gchararray"/>
16            <column type="gchararray"/>
17            <column type="gchararray"/>
18            <column type="gchararray"/>
19            <column type="gchararray"/>
20            <column type="gint"/>
21            <column type="gint"/>
22            <column type="gint"/>
23            <column type="gint"/>
24            <column type="gint"/>
25            <column type="gint"/>
26            <column type="gint"/>
27            <column type="gint"/>
28            <column type="gint"/>
29            <column type="gint"/>
30            <column type="gint"/>
31            <column type="gint"/>
32            <column type="gint"/>
33            <column type="gint"/>
34            <column type="gint"/>
35            <column type="GdkRGBA"/>
36            <column type="GdkRGBA"/>
37            <column type="GdkRGBA"/>
38            <column type="GdkRGBA"/>
39            <column type="GdkRGBA"/>
40            <column type="GdkRGBA"/>
41            <column type="GdkRGBA"/>
42            <column type="GdkRGBA"/>
43            <column type="GdkRGBA"/>
44            <column type="GdkRGBA"/>
45            <column type="GdkRGBA"/>
46            <column type="GdkRGBA"/>
47            <column type="GdkRGBA"/>
48            <column type="GdkRGBA"/>
49            <column type="GdkRGBA"/>
50            <column type="gpointer"/>
51        </columns>
52    </object>
53    <template class="EtSearchDialog" parent="GtkDialog">
54        <property name="title" translatable="yes">Find Files</property>
55        <signal name="delete-event" handler="on_delete_event"/>
56        <child internal-child="vbox">
57            <object class="GtkBox" id="search_vbox">
58                <property name="border-width">6</property>
59                <property name="spacing">6</property>
60                <child>
61                    <object class="GtkGrid" id="search_grid">
62                        <property name="column-spacing">6</property>
63                        <property name="row-spacing">6</property>
64                        <child>
65                            <object class="GtkLabel" id="search_label">
66                                <property name="halign">end</property>
67                                <property name="label" translatable="yes">Search:</property>
68                                <property name="visible">True</property>
69                            </object>
70                            <packing>
71                                <property name="left-attach">0</property>
72                                <property name="top-attach">0</property>
73                            </packing>
74                        </child>
75                        <child>
76                            <object class="GtkComboBox" id="search_string_combo">
77                                <property name="has-entry">True</property>
78                                <property name="hexpand">True</property>
79                                <property name="entry-text-column">0</property>
80                                <property name="tooltip-text" translatable="yes">Type the text to search for in the file list, or leave the field empty to display all files</property>
81                                <property name="visible">True</property>
82                            </object>
83                            <packing>
84                                <property name="left-attach">1</property>
85                                <property name="top-attach">0</property>
86                            </packing>
87                        </child>
88                        <child>
89                            <object class="GtkButton" id="search_find_button">
90                                <property name="can-default">True</property>
91                                <property name="label" translatable="yes">_Find</property>
92                                <property name="use-underline">True</property>
93                                <property name="visible">True</property>
94                                <signal name="clicked" handler="Search_File"/>
95                            </object>
96                            <packing>
97                                <property name="left-attach">2</property>
98                                <property name="top-attach">0</property>
99                            </packing>
100                        </child>
101                        <child>
102                            <object class="GtkLabel" id="search_in_label">
103                                <property name="halign">end</property>
104                                <property name="label" translatable="yes">In:</property>
105                                <property name="visible">True</property>
106                            </object>
107                            <packing>
108                                <property name="left-attach">0</property>
109                                <property name="top-attach">1</property>
110                            </packing>
111                        </child>
112                        <child>
113                            <object class="GtkBox" id="search_options_box">
114                                <property name="spacing">6</property>
115                                <property name="visible">True</property>
116                                <child>
117                                    <object class="GtkCheckButton" id="search_filename_check">
118                                        <property name="label" translatable="yes" comments="This option is for the previous 'in' option. For instance, translate this as 'Search' 'In:' 'the Filename'.">the Filename</property>
119                                        <property name="visible">True</property>
120                                    </object>
121                                </child>
122                                <child>
123                                    <object class="GtkCheckButton" id="search_tag_check">
124                                        <property name="label" translatable="yes" comments="This option is for the previous 'in' option. For instance, translate this as 'Search' 'In:' 'the Tag'.">the Tag</property>
125                                        <property name="visible">True</property>
126                                    </object>
127                                </child>
128                                <child>
129                                    <object class="GtkSeparator" id="search_separator">
130                                        <property name="orientation">vertical</property>
131                                        <property name="visible">True</property>
132                                    </object>
133                                </child>
134                                <child>
135                                    <object class="GtkCheckButton" id="search_case_check">
136                                        <property name="label" translatable="yes">Case sensitive</property>
137                                        <property name="visible">True</property>
138                                    </object>
139                                </child>
140                            </object>
141                            <packing>
142                                <property name="left-attach">1</property>
143                                <property name="top-attach">1</property>
144                            </packing>
145                        </child>
146                        <child>
147                            <object class="GtkButton" id="search_close_button">
148                                <property name="label" translatable="yes">_Close</property>
149                                <property name="use-underline">True</property>
150                                <property name="visible">True</property>
151                                <signal name="clicked" handler="on_close_clicked"/>
152                            </object>
153                            <packing>
154                                <property name="left-attach">2</property>
155                                <property name="top-attach">1</property>
156                            </packing>
157                        </child>
158                        <child>
159                            <object class="GtkScrolledWindow" id="search_scrolled">
160                                <property name="min-content-height">300</property>
161                                <property name="min-content-width">400</property>
162                                <property name="visible">True</property>
163                                <child>
164                                    <object class="GtkTreeView" id="search_results_view">
165                                        <property name="expand">True</property>
166                                        <property name="model">search_results_model</property>
167                                        <property name="sensitive">False</property>
168                                        <property name="visible">True</property>
169                                        <child internal-child="selection">
170                                            <object class="GtkTreeSelection" id="search_selection">
171                                                <property name="mode">multiple</property>
172                                                <signal name="changed" handler="Search_Result_List_Row_Selected"/>
173                                            </object>
174                                        </child>
175                                        <child>
176                                            <object class="GtkTreeViewColumn" id="filename_column">
177                                                <property name="title" translatable="yes">Filename</property>
178                                                <child>
179                                                    <object class="GtkCellRendererText" id="filename_renderer"/>
180                                                    <attributes>
181                                                        <attribute name="text">0</attribute>
182                                                        <attribute name="weight">15</attribute>
183                                                        <attribute name="foreground-rgba">30</attribute>
184                                                    </attributes>
185                                                </child>
186                                            </object>
187                                        </child>
188                                        <child>
189                                            <object class="GtkTreeViewColumn" id="title_column">
190                                                <property name="title" translatable="yes">Title</property>
191                                                <child>
192                                                    <object class="GtkCellRendererText" id="title_renderer"/>
193                                                    <attributes>
194                                                        <attribute name="text">1</attribute>
195                                                        <attribute name="weight">16</attribute>
196                                                        <attribute name="foreground-rgba">31</attribute>
197                                                    </attributes>
198                                                </child>
199                                            </object>
200                                        </child>
201                                        <child>
202                                            <object class="GtkTreeViewColumn" id="artist_column">
203                                                <property name="title" translatable="yes">Artist</property>
204                                                <child>
205                                                    <object class="GtkCellRendererText" id="artist_renderer"/>
206                                                    <attributes>
207                                                        <attribute name="text">2</attribute>
208                                                        <attribute name="weight">17</attribute>
209                                                        <attribute name="foreground-rgba">32</attribute>
210                                                    </attributes>
211                                                </child>
212                                            </object>
213                                        </child>
214                                        <child>
215                                            <object class="GtkTreeViewColumn" id="album_artist_column">
216                                                <property name="title" translatable="yes">Album Artist</property>
217                                                <child>
218                                                    <object class="GtkCellRendererText" id="album_artist_renderer"/>
219                                                    <attributes>
220                                                        <attribute name="text">3</attribute>
221                                                        <attribute name="weight">18</attribute>
222                                                        <attribute name="foreground-rgba">33</attribute>
223                                                    </attributes>
224                                                </child>
225                                            </object>
226                                        </child>
227                                        <child>
228                                            <object class="GtkTreeViewColumn" id="album_column">
229                                                <property name="title" translatable="yes">Album</property>
230                                                <child>
231                                                    <object class="GtkCellRendererText" id="album_renderer"/>
232                                                    <attributes>
233                                                        <attribute name="text">4</attribute>
234                                                        <attribute name="weight">19</attribute>
235                                                        <attribute name="foreground-rgba">34</attribute>
236                                                    </attributes>
237                                                </child>
238                                            </object>
239                                        </child>
240                                        <child>
241                                            <object class="GtkTreeViewColumn" id="cd_column">
242                                                <property name="title" translatable="yes">CD</property>
243                                                <child>
244                                                    <object class="GtkCellRendererText" id="cd_renderer"/>
245                                                    <attributes>
246                                                        <attribute name="text">5</attribute>
247                                                        <attribute name="weight">20</attribute>
248                                                        <attribute name="foreground-rgba">35</attribute>
249                                                    </attributes>
250                                                </child>
251                                            </object>
252                                        </child>
253                                        <child>
254                                            <object class="GtkTreeViewColumn" id="year_column">
255                                                <property name="title" translatable="yes">Year</property>
256                                                <child>
257                                                    <object class="GtkCellRendererText" id="year_renderer"/>
258                                                    <attributes>
259                                                        <attribute name="text">6</attribute>
260                                                        <attribute name="weight">21</attribute>
261                                                        <attribute name="foreground-rgba">36</attribute>
262                                                    </attributes>
263                                                </child>
264                                            </object>
265                                        </child>
266                                        <child>
267                                            <object class="GtkTreeViewColumn" id="track_column">
268                                                <property name="title" translatable="yes">Track</property>
269                                                <child>
270                                                    <object class="GtkCellRendererText" id="track_renderer"/>
271                                                    <attributes>
272                                                        <attribute name="text">7</attribute>
273                                                        <attribute name="weight">22</attribute>
274                                                        <attribute name="foreground-rgba">37</attribute>
275                                                    </attributes>
276                                                </child>
277                                            </object>
278                                        </child>
279                                        <child>
280                                            <object class="GtkTreeViewColumn" id="genre_column">
281                                                <property name="title" translatable="yes">Genre</property>
282                                                <child>
283                                                    <object class="GtkCellRendererText" id="genre_renderer"/>
284                                                    <attributes>
285                                                        <attribute name="text">8</attribute>
286                                                        <attribute name="weight">23</attribute>
287                                                        <attribute name="foreground-rgba">38</attribute>
288                                                    </attributes>
289                                                </child>
290                                            </object>
291                                        </child>
292                                        <child>
293                                            <object class="GtkTreeViewColumn" id="comment_column">
294                                                <property name="title" translatable="yes">Comment</property>
295                                                <child>
296                                                    <object class="GtkCellRendererText" id="comment_renderer"/>
297                                                    <attributes>
298                                                        <attribute name="text">9</attribute>
299                                                        <attribute name="weight">24</attribute>
300                                                        <attribute name="foreground-rgba">39</attribute>
301                                                    </attributes>
302                                                </child>
303                                            </object>
304                                        </child>
305                                        <child>
306                                            <object class="GtkTreeViewColumn" id="composer_column">
307                                                <property name="title" translatable="yes">Composer</property>
308                                                <child>
309                                                    <object class="GtkCellRendererText" id="composer_renderer"/>
310                                                    <attributes>
311                                                        <attribute name="text">10</attribute>
312                                                        <attribute name="weight">25</attribute>
313                                                        <attribute name="foreground-rgba">40</attribute>
314                                                    </attributes>
315                                                </child>
316                                            </object>
317                                        </child>
318                                        <child>
319                                            <object class="GtkTreeViewColumn" id="orig_artist_column">
320                                                <property name="title" translatable="yes">Original Artist</property>
321                                                <child>
322                                                    <object class="GtkCellRendererText" id="orig_artist_renderer"/>
323                                                    <attributes>
324                                                        <attribute name="text">11</attribute>
325                                                        <attribute name="weight">26</attribute>
326                                                        <attribute name="foreground-rgba">41</attribute>
327                                                    </attributes>
328                                                </child>
329                                            </object>
330                                        </child>
331                                        <child>
332                                            <object class="GtkTreeViewColumn" id="copyright_column">
333                                                <property name="title" translatable="yes">Copyright</property>
334                                                <child>
335                                                    <object class="GtkCellRendererText" id="copyright_renderer"/>
336                                                    <attributes>
337                                                        <attribute name="text">12</attribute>
338                                                        <attribute name="weight">27</attribute>
339                                                        <attribute name="foreground-rgba">42</attribute>
340                                                    </attributes>
341                                                </child>
342                                            </object>
343                                        </child>
344                                        <child>
345                                            <object class="GtkTreeViewColumn" id="url_column">
346                                                <property name="title" translatable="yes">URL</property>
347                                                <child>
348                                                    <object class="GtkCellRendererText" id="url_renderer"/>
349                                                    <attributes>
350                                                        <attribute name="text">13</attribute>
351                                                        <attribute name="weight">28</attribute>
352                                                        <attribute name="foreground-rgba">43</attribute>
353                                                    </attributes>
354                                                </child>
355                                            </object>
356                                        </child>
357                                        <child>
358                                            <object class="GtkTreeViewColumn" id="encoded_by_column">
359                                                <property name="title" translatable="yes">Encoded By</property>
360                                                <child>
361                                                    <object class="GtkCellRendererText" id="encoced_by_renderer"/>
362                                                    <attributes>
363                                                        <attribute name="text">14</attribute>
364                                                        <attribute name="weight">29</attribute>
365                                                        <attribute name="foreground-rgba">44</attribute>
366                                                    </attributes>
367                                                </child>
368                                            </object>
369                                        </child>
370                                    </object>
371                                </child>
372                            </object>
373                            <packing>
374                                <property name="left-attach">0</property>
375                                <property name="top-attach">2</property>
376                                <property name="width">3</property>
377                            </packing>
378                        </child>
379                        <child>
380                            <object class="GtkStatusbar" id="status_bar">
381                                <property name="visible">True</property>
382                            </object>
383                            <packing>
384                                <property name="left-attach">0</property>
385                                <property name="top-attach">3</property>
386                                <property name="width">3</property>
387                            </packing>
388                        </child>
389                    </object>
390                </child>
391            </object>
392        </child>
393    </template>
394</interface>
395
396