tagguesserconfigdlgwidget.ui 4.62 KB
Newer Older
1 2 3 4 5 6 7 8 9
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <author>Frerich Raabe &lt;raabe@kde.org&gt;</author>
 <class>TagGuesserConfigDlgWidget</class>
 <widget class="QWidget" name="TagGuesserConfigDlgWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
10 11
    <width>848</width>
    <height>605</height>
12 13 14
   </rect>
  </property>
  <layout class="QGridLayout" name="gridLayout">
15
   <item row="0" column="0" rowspan="6">
16 17 18 19 20
    <widget class="QTreeView" name="lvSchemes">
     <property name="toolTip">
      <string>Currently used file name schemes</string>
     </property>
     <property name="whatsThis">
21
      <string>Here you can see the currently configured file name schemes which the &quot;Guess Tag Information From File Name&quot; entry in the song's context menu uses to extract tag information from a file name. Each string may contain one of the following placeholders:&lt;ul&gt;
22 23 24 25 26 27 28
&lt;li&gt;%t: Title&lt;/li&gt;
&lt;li&gt;%a: Artist&lt;/li&gt;
&lt;li&gt;%A: Album&lt;/li&gt;
&lt;li&gt;%T: Track&lt;/li&gt;
&lt;li&gt;%c: Comment&lt;/li&gt;
&lt;/ul&gt;
For example, the file name scheme &quot;[%T] %a - %t&quot; would match &quot;[01] Deep Purple - Smoke on the water&quot; but not &quot;(Deep Purple) Smoke on the water&quot;. For that second name, you would use the scheme &quot;(%a) %t&quot;.&lt;p/&gt;
29
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>
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
     </property>
     <property name="rootIsDecorated">
      <bool>false</bool>
     </property>
     <property name="expandsOnDoubleClick">
      <bool>false</bool>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <widget class="QToolButton" name="bMoveUp">
     <property name="toolTip">
      <string>Move scheme up</string>
     </property>
     <property name="whatsThis">
      <string>Press this button to move the currently selected scheme one step upwards.</string>
     </property>
     <property name="text">
      <string/>
     </property>
    </widget>
   </item>
   <item row="0" column="3">
    <widget class="QToolButton" name="bMoveDown">
     <property name="toolTip">
      <string>Move scheme down</string>
     </property>
     <property name="whatsThis">
      <string>Press this button to move the currently selected scheme one step downwards.</string>
     </property>
     <property name="text">
      <string/>
     </property>
    </widget>
   </item>
   <item row="1" column="1" colspan="3">
Michael Pyne's avatar
Michael Pyne committed
66
    <widget class="QPushButton" name="bAdd">
67 68 69 70 71 72 73 74 75 76 77 78
     <property name="toolTip">
      <string>Add a new scheme</string>
     </property>
     <property name="whatsThis">
      <string>Press this button to add a new file name scheme to the end of the list.</string>
     </property>
     <property name="text">
      <string>&amp;Add</string>
     </property>
    </widget>
   </item>
   <item row="2" column="1" colspan="3">
Michael Pyne's avatar
Michael Pyne committed
79
    <widget class="QPushButton" name="bModify">
80 81 82 83 84 85 86 87 88 89 90 91
     <property name="toolTip">
      <string>Modify scheme</string>
     </property>
     <property name="whatsThis">
      <string>Press this button to modify the currently selected scheme.</string>
     </property>
     <property name="text">
      <string>&amp;Modify</string>
     </property>
    </widget>
   </item>
   <item row="3" column="1" colspan="3">
Michael Pyne's avatar
Michael Pyne committed
92
    <widget class="QPushButton" name="bRemove">
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
     <property name="toolTip">
      <string>Remove scheme</string>
     </property>
     <property name="whatsThis">
      <string>Press this button to remove the currently selected scheme from the list.</string>
     </property>
     <property name="text">
      <string>&amp;Remove</string>
     </property>
    </widget>
   </item>
   <item row="4" column="2">
    <spacer name="spacer1">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>130</height>
      </size>
     </property>
    </spacer>
   </item>
120 121 122 123 124 125 126 127 128 129 130 131
   <item row="5" column="2">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>You can use the following placeholders:
%t: Title
%A: Album
%a: Artist
%T: Track
%c: Comment</string>
     </property>
    </widget>
   </item>
132
   <item row="6" column="2">
133 134 135 136 137 138
    <widget class="QDialogButtonBox" name="dlgButtonBox">
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
139 140 141 142
  </layout>
 </widget>
 <resources/>
 <connections/>
Laurent Montel's avatar
Laurent Montel committed
143
</ui>