tageditor.ui 13.6 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>TagEditor</class>
 <widget class="QWidget" name="TagEditor">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>885</width>
    <height>416</height>
11 12 13 14 15
   </rect>
  </property>
  <layout class="QHBoxLayout" name="horizontalLayout">
   <item>
    <layout class="QGridLayout" name="tagEditorLayout">
16
     <item row="0" column="3" colspan="7">
17 18 19 20 21 22 23 24 25
      <widget class="QLabel" name="fileNameLabel">
       <property name="text">
        <string>F&amp;ile name:</string>
       </property>
       <property name="buddy">
        <cstring>fileNameBox</cstring>
       </property>
      </widget>
     </item>
26
     <item row="2" column="3">
27 28 29 30 31 32 33 34 35
      <widget class="QLabel" name="trackLabel">
       <property name="text">
        <string>T&amp;rack:</string>
       </property>
       <property name="buddy">
        <cstring>trackSpin</cstring>
       </property>
      </widget>
     </item>
36
     <item row="0" column="0">
37 38 39 40 41 42 43 44 45
      <widget class="QLabel" name="artistNameLabel">
       <property name="text">
        <string>&amp;Artist name:</string>
       </property>
       <property name="buddy">
        <cstring>artistNameBox</cstring>
       </property>
      </widget>
     </item>
46
     <item row="4" column="0">
47 48 49 50 51 52 53 54 55
      <widget class="QLabel" name="albumNameLabel">
       <property name="text">
        <string>Album &amp;name:</string>
       </property>
       <property name="buddy">
        <cstring>albumNameBox</cstring>
       </property>
      </widget>
     </item>
56
     <item row="6" column="0">
57 58 59 60 61 62 63 64 65
      <widget class="QLabel" name="genreLabel">
       <property name="text">
        <string>&amp;Genre:</string>
       </property>
       <property name="buddy">
        <cstring>genreBox</cstring>
       </property>
      </widget>
     </item>
66
     <item row="1" column="3" colspan="7">
67 68
      <widget class="KLineEdit" name="fileNameBox"/>
     </item>
69
     <item row="2" column="7">
70 71 72 73 74 75 76 77 78
      <widget class="QLabel" name="yearLabel">
       <property name="text">
        <string>&amp;Year:</string>
       </property>
       <property name="buddy">
        <cstring>yearSpin</cstring>
       </property>
      </widget>
     </item>
79
     <item row="3" column="4">
80 81 82 83 84
      <widget class="KLineEdit" name="lengthBox">
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
85
     </item>
86
     <item row="3" column="8">
87 88 89 90 91
      <widget class="KLineEdit" name="bitrateBox">
       <property name="readOnly">
        <bool>true</bool>
       </property>
      </widget>
92
     </item>
93
     <item row="3" column="3">
94 95 96 97 98 99 100 101 102
      <widget class="QLabel" name="lengthLabel">
       <property name="text">
        <string>&amp;Length:</string>
       </property>
       <property name="buddy">
        <cstring>lengthBox</cstring>
       </property>
      </widget>
     </item>
103
     <item row="3" column="7">
104 105 106 107 108 109 110 111 112
      <widget class="QLabel" name="bitrateLabel">
       <property name="text">
        <string>&amp;Bitrate:</string>
       </property>
       <property name="buddy">
        <cstring>bitrateBox</cstring>
       </property>
      </widget>
     </item>
113
     <item row="4" column="3" colspan="2">
114 115 116 117 118 119 120 121 122
      <widget class="QLabel" name="commentLabel">
       <property name="text">
        <string>&amp;Comment:</string>
       </property>
       <property name="buddy">
        <cstring>commentBox</cstring>
       </property>
      </widget>
     </item>
123
     <item row="5" column="3" rowspan="4" colspan="7">
124 125
      <widget class="KTextEdit" name="commentBox"/>
     </item>
126
     <item row="8" column="0">
127 128 129 130 131 132 133 134 135 136 137 138
      <spacer name="verticalSpacer">
       <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>20</width>
         <height>40</height>
        </size>
       </property>
      </spacer>
     </item>
139
     <item row="5" column="0" colspan="2">
140 141 142 143 144 145
      <widget class="KComboBox" name="albumNameBox">
       <property name="editable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
146
     <item row="7" column="0" colspan="2">
147 148 149 150 151 152
      <widget class="KComboBox" name="genreBox">
       <property name="editable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
153
     <item row="1" column="0" colspan="2">
154 155 156 157 158 159
      <widget class="KComboBox" name="artistNameBox">
       <property name="editable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
160
     <item row="2" column="4">
Michael Pyne's avatar
Michael Pyne committed
161
      <widget class="QSpinBox" name="trackSpin">
162 163 164 165
       <property name="maximum">
        <number>999</number>
       </property>
      </widget>
166
     </item>
167
     <item row="2" column="8">
Michael Pyne's avatar
Michael Pyne committed
168
      <widget class="QSpinBox" name="yearSpin">
169 170 171 172
       <property name="maximum">
        <number>9999</number>
       </property>
      </widget>
173
     </item>
174
     <item row="0" column="2" rowspan="8">
175 176 177 178 179 180
      <widget class="Line" name="line">
       <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
      </widget>
     </item>
181
     <item row="2" column="0">
182 183 184 185 186 187 188 189 190
      <widget class="QLabel" name="trackNameLabel">
       <property name="text">
        <string>Trac&amp;k name:</string>
       </property>
       <property name="buddy">
        <cstring>trackNameBox</cstring>
       </property>
      </widget>
     </item>
191
     <item row="0" column="1">
192 193 194 195
      <widget class="QCheckBox" name="artistNameEnable">
       <property name="text">
        <string>Enable</string>
       </property>
196 197 198
       <property name="associatedObjectName" stdset="0">
        <cstring>artistNameBox</cstring>
       </property>
199 200
      </widget>
     </item>
201
     <item row="3" column="0" colspan="2">
202 203
      <widget class="KLineEdit" name="trackNameBox"/>
     </item>
204
     <item row="2" column="1">
205 206 207 208
      <widget class="QCheckBox" name="trackNameEnable">
       <property name="text">
        <string>Enable</string>
       </property>
209 210 211
       <property name="associatedObjectName" stdset="0">
        <cstring>trackNameBox</cstring>
       </property>
212 213
      </widget>
     </item>
214
     <item row="4" column="1">
215 216 217 218
      <widget class="QCheckBox" name="albumNameEnable">
       <property name="text">
        <string>Enable</string>
       </property>
219 220 221
       <property name="associatedObjectName" stdset="0">
        <cstring>albumNameBox</cstring>
       </property>
222 223
      </widget>
     </item>
224
     <item row="6" column="1">
225 226 227 228
      <widget class="QCheckBox" name="genreEnable">
       <property name="text">
        <string>Enable</string>
       </property>
229 230 231
       <property name="associatedObjectName" stdset="0">
        <cstring>genreBox</cstring>
       </property>
232 233
      </widget>
     </item>
234
     <item row="2" column="5">
235 236 237 238
      <widget class="QCheckBox" name="trackEnable">
       <property name="text">
        <string>Enable</string>
       </property>
239 240 241
       <property name="associatedObjectName" stdset="0">
        <cstring>trackSpin</cstring>
       </property>
242 243
      </widget>
     </item>
244
     <item row="2" column="9">
245 246 247 248
      <widget class="QCheckBox" name="yearEnable">
       <property name="text">
        <string>Enable</string>
       </property>
249 250 251
       <property name="associatedObjectName" stdset="0">
        <cstring>yearSpin</cstring>
       </property>
252 253
      </widget>
     </item>
254
     <item row="4" column="5" colspan="5">
255 256 257 258
      <widget class="QCheckBox" name="commentEnable">
       <property name="text">
        <string>Enable</string>
       </property>
259 260 261
       <property name="associatedObjectName" stdset="0">
        <cstring>commentBox</cstring>
       </property>
262 263
      </widget>
     </item>
264
     <item row="2" column="6" rowspan="2">
265 266 267 268 269 270
      <widget class="Line" name="line_2">
       <property name="orientation">
        <enum>Qt::Vertical</enum>
       </property>
      </widget>
     </item>
271 272 273 274 275 276
    </layout>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
277 278 279
   <class>KTextEdit</class>
   <extends>QTextEdit</extends>
   <header>ktextedit.h</header>
280 281 282 283 284 285 286
  </customwidget>
  <customwidget>
   <class>KComboBox</class>
   <extends>QComboBox</extends>
   <header>kcombobox.h</header>
  </customwidget>
  <customwidget>
287 288 289
   <class>KLineEdit</class>
   <extends>QLineEdit</extends>
   <header>klineedit.h</header>
290 291
  </customwidget>
 </customwidgets>
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
 <tabstops>
  <tabstop>artistNameEnable</tabstop>
  <tabstop>artistNameBox</tabstop>
  <tabstop>trackNameEnable</tabstop>
  <tabstop>trackNameBox</tabstop>
  <tabstop>albumNameEnable</tabstop>
  <tabstop>albumNameBox</tabstop>
  <tabstop>genreEnable</tabstop>
  <tabstop>genreBox</tabstop>
  <tabstop>fileNameBox</tabstop>
  <tabstop>trackEnable</tabstop>
  <tabstop>trackSpin</tabstop>
  <tabstop>lengthBox</tabstop>
  <tabstop>yearEnable</tabstop>
  <tabstop>yearSpin</tabstop>
  <tabstop>bitrateBox</tabstop>
  <tabstop>commentEnable</tabstop>
  <tabstop>commentBox</tabstop>
 </tabstops>
311
 <resources/>
312 313 314 315 316 317 318 319
 <connections>
  <connection>
   <sender>artistNameEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>artistNameBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
320 321
     <x>268</x>
     <y>28</y>
322 323
    </hint>
    <hint type="destinationlabel">
324 325
     <x>145</x>
     <y>94</y>
326 327 328 329 330 331 332 333 334 335
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>trackNameEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>trackNameBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
336 337
     <x>266</x>
     <y>147</y>
338 339
    </hint>
    <hint type="destinationlabel">
340 341
     <x>111</x>
     <y>206</y>
342 343 344 345 346 347 348 349 350 351
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>albumNameEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>albumNameBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
352 353
     <x>268</x>
     <y>250</y>
354 355
    </hint>
    <hint type="destinationlabel">
356 357
     <x>132</x>
     <y>304</y>
358 359 360 361 362 363 364 365 366 367
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>genreEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>genreBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
368 369
     <x>268</x>
     <y>348</y>
370 371
    </hint>
    <hint type="destinationlabel">
372 373
     <x>154</x>
     <y>402</y>
374 375 376 377 378 379 380 381 382 383
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>trackEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>trackSpin</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
384 385
     <x>567</x>
     <y>147</y>
386 387
    </hint>
    <hint type="destinationlabel">
388 389
     <x>456</x>
     <y>152</y>
390 391 392 393 394 395 396 397 398 399
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>commentEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>commentBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
400 401
     <x>800</x>
     <y>250</y>
402 403
    </hint>
    <hint type="destinationlabel">
404 405
     <x>628</x>
     <y>408</y>
406 407 408 409 410 411 412 413 414 415
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>yearEnable</sender>
   <signal>toggled(bool)</signal>
   <receiver>yearSpin</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529
     <x>877</x>
     <y>147</y>
    </hint>
    <hint type="destinationlabel">
     <x>766</x>
     <y>152</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>artistNameBox</sender>
   <signal>editTextChanged(QString)</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>66</x>
     <y>71</y>
    </hint>
    <hint type="destinationlabel">
     <x>131</x>
     <y>-7</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>trackNameBox</sender>
   <signal>textChanged(QString)</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>28</x>
     <y>194</y>
    </hint>
    <hint type="destinationlabel">
     <x>433</x>
     <y>0</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>albumNameBox</sender>
   <signal>editTextChanged(QString)</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>231</x>
     <y>288</y>
    </hint>
    <hint type="destinationlabel">
     <x>408</x>
     <y>5</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>genreBox</sender>
   <signal>editTextChanged(QString)</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>188</x>
     <y>389</y>
    </hint>
    <hint type="destinationlabel">
     <x>714</x>
     <y>3</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>commentBox</sender>
   <signal>textChanged()</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>540</x>
     <y>351</y>
    </hint>
    <hint type="destinationlabel">
     <x>111</x>
     <y>5</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>trackSpin</sender>
   <signal>valueChanged(int)</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>414</x>
     <y>121</y>
    </hint>
    <hint type="destinationlabel">
     <x>394</x>
     <y>-12</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>yearSpin</sender>
   <signal>valueChanged(int)</signal>
   <receiver>TagEditor</receiver>
   <slot>slotDataChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>704</x>
     <y>117</y>
530 531
    </hint>
    <hint type="destinationlabel">
532 533
     <x>685</x>
     <y>-6</y>
534 535 536 537
    </hint>
   </hints>
  </connection>
 </connections>
538 539 540
 <slots>
  <slot>slotDataChanged()</slot>
 </slots>
541
</ui>