filerenamerbase.ui 8.62 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3
 <class>FileRenamerBase</class>
4 5
 <widget class="QWidget" name="FileRenamerBase">
  <property name="geometry">
6 7 8 9 10 11 12
   <rect>
    <x>0</x>
    <y>0</y>
    <width>489</width>
    <height>579</height>
   </rect>
  </property>
13 14
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15 16 17 18
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
19
  <property name="windowTitle">
20 21
   <string>File Renamer Configuration</string>
  </property>
22 23
  <layout class="QVBoxLayout">
   <property name="spacing">
24 25
    <number>6</number>
   </property>
26 27 28
   <property name="margin">
    <number>0</number>
   </property>
29
   <item>
30 31
    <layout class="QGridLayout">
     <property name="margin">
32 33
      <number>0</number>
     </property>
34
     <property name="spacing">
35 36
      <number>6</number>
     </property>
37 38 39
     <item row="1" column="1">
      <widget class="KComboBox" name="m_separator">
       <property name="editable">
40 41 42 43
        <bool>true</bool>
       </property>
      </widget>
     </item>
44 45 46
     <item row="0" column="0">
      <widget class="QLabel" name="textLabel1_6">
       <property name="text">
47 48 49 50
        <string>Music folder:</string>
       </property>
      </widget>
     </item>
51 52 53
     <item row="2" column="1">
      <layout class="QHBoxLayout">
       <property name="spacing">
54 55
        <number>6</number>
       </property>
56 57 58
       <property name="margin">
        <number>0</number>
       </property>
59
       <item>
60
        <widget class="KComboBox" name="m_category">
61
         <item>
62
          <property name="text">
63 64 65 66
           <string>Album Tag</string>
          </property>
         </item>
         <item>
67
          <property name="text">
68 69 70 71
           <string>Artist Tag</string>
          </property>
         </item>
         <item>
72
          <property name="text">
73 74 75 76
           <string>Genre Tag</string>
          </property>
         </item>
         <item>
77
          <property name="text">
78 79 80 81
           <string>Title Tag</string>
          </property>
         </item>
         <item>
82
          <property name="text">
83 84 85 86
           <string>Track Tag</string>
          </property>
         </item>
         <item>
87
          <property name="text">
88 89 90
           <string>Year Tag</string>
          </property>
         </item>
91
        </widget>
92 93
       </item>
       <item>
Michael Pyne's avatar
Michael Pyne committed
94
        <widget class="QPushButton" name="m_insertCategory">
95
         <property name="text">
96 97 98
          <string>Insert Category</string>
         </property>
        </widget>
99 100 101
       </item>
      </layout>
     </item>
102 103
     <item row="0" column="1">
      <widget class="KUrlRequester" name="m_musicFolder"/>
104
     </item>
105 106 107
     <item row="2" column="0">
      <widget class="QLabel" name="textLabel1">
       <property name="text">
108 109
        <string>Add category:</string>
       </property>
110
       <property name="buddy">
111 112 113 114
        <cstring>m_category</cstring>
       </property>
      </widget>
     </item>
115 116 117
     <item row="1" column="0">
      <widget class="QLabel" name="textLabel1_7">
       <property name="text">
118 119 120 121 122 123 124
        <string>Separator:</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
125 126
    <widget class="Line" name="line1_2">
     <property name="frameShape">
127 128
      <enum>QFrame::HLine</enum>
     </property>
129
     <property name="frameShadow">
130 131
      <enum>QFrame::Sunken</enum>
     </property>
132
     <property name="orientation">
133 134 135 136 137
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
138 139 140
    <widget class="QScrollArea" name="m_mainView">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
141 142 143 144
       <horstretch>0</horstretch>
       <verstretch>1</verstretch>
      </sizepolicy>
     </property>
145 146 147 148 149 150 151 152 153 154 155 156 157
     <property name="widgetResizable">
      <bool>true</bool>
     </property>
     <widget class="QWidget" name="scrollAreaWidgetContents">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
        <width>483</width>
        <height>340</height>
       </rect>
      </property>
     </widget>
158 159 160
    </widget>
   </item>
   <item>
161 162
    <widget class="Line" name="line1">
     <property name="frameShape">
163 164
      <enum>QFrame::HLine</enum>
     </property>
165
     <property name="frameShadow">
166 167
      <enum>QFrame::Sunken</enum>
     </property>
168
     <property name="orientation">
169 170 171 172 173
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
174 175
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
176 177
      <string>Example</string>
     </property>
178 179
     <layout class="QVBoxLayout">
      <property name="spacing">
180 181
       <number>6</number>
      </property>
182 183 184
      <property name="margin">
       <number>9</number>
      </property>
185
      <item>
186 187
       <layout class="QHBoxLayout">
        <property name="spacing">
188 189
         <number>6</number>
        </property>
190 191 192
        <property name="margin">
         <number>0</number>
        </property>
193 194
        <item>
         <spacer>
195
          <property name="orientation">
196 197
           <enum>Qt::Horizontal</enum>
          </property>
198
          <property name="sizeType">
199 200
           <enum>QSizePolicy::Expanding</enum>
          </property>
201
          <property name="sizeHint" stdset="0">
202 203 204 205 206 207 208 209
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
Michael Pyne's avatar
Michael Pyne committed
210
         <widget class="QPushButton" name="m_showExample">
211
          <property name="text">
212 213 214 215 216 217
           <string>Show Renamer Test Dialog</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
218
          <property name="orientation">
219 220
           <enum>Qt::Horizontal</enum>
          </property>
221
          <property name="sizeType">
222 223
           <enum>QSizePolicy::Expanding</enum>
          </property>
224
          <property name="sizeHint" stdset="0">
225 226 227 228 229 230 231 232 233 234
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item>
Jan Gerrit Marker's avatar
Jan Gerrit Marker committed
235
       <widget class="KLineEdit" name="m_exampleText">
236
        <property name="focusPolicy">
237 238
         <enum>Qt::NoFocus</enum>
        </property>
239
        <property name="acceptDrops">
240 241
         <bool>false</bool>
        </property>
242
        <property name="readOnly">
243 244 245 246 247 248 249
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
250 251 252 253 254 255 256
   <item>
    <widget class="QDialogButtonBox" name="dlgButtonBox">
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
257 258 259 260
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
261 262
   <class>KUrlRequester</class>
   <extends>QFrame</extends>
Michael Pyne's avatar
Michael Pyne committed
263
   <header>KUrlRequester</header>
264
  </customwidget>
265 266 267
  <customwidget>
   <class>KComboBox</class>
   <extends>QComboBox</extends>
Michael Pyne's avatar
Michael Pyne committed
268
   <header>KComboBox</header>
269
  </customwidget>
270 271 272 273 274 275 276 277
 </customwidgets>
 <tabstops>
  <tabstop>m_musicFolder</tabstop>
  <tabstop>m_separator</tabstop>
  <tabstop>m_category</tabstop>
  <tabstop>m_insertCategory</tabstop>
 </tabstops>
 <resources/>
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
 <connections>
  <connection>
   <sender>m_musicFolder</sender>
   <signal>textChanged(QString)</signal>
   <receiver>FileRenamerBase</receiver>
   <slot>exampleTextChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>118</x>
     <y>16</y>
    </hint>
    <hint type="destinationlabel">
     <x>105</x>
     <y>103</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>m_separator</sender>
   <signal>textChanged(QString)</signal>
   <receiver>FileRenamerBase</receiver>
   <slot>exampleTextChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>131</x>
     <y>47</y>
    </hint>
    <hint type="destinationlabel">
     <x>144</x>
     <y>102</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>m_showExample</sender>
   <signal>clicked()</signal>
   <receiver>FileRenamerBase</receiver>
   <slot>toggleExampleDialog()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>173</x>
     <y>514</y>
    </hint>
    <hint type="destinationlabel">
     <x>144</x>
     <y>462</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>m_insertCategory</sender>
   <signal>clicked()</signal>
   <receiver>FileRenamerBase</receiver>
   <slot>insertCategory()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>340</x>
     <y>81</y>
    </hint>
    <hint type="destinationlabel">
     <x>340</x>
     <y>105</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>exampleTextChanged()</slot>
  <slot>toggleExampleDialog()</slot>
  <slot>insertCategory()</slot>
 </slots>
349
</ui>