86 lines
2.5 KiB
XML
86 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DynamicRules</class>
|
|
<widget class="QWidget" name="DynamicRules">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>486</width>
|
|
<height>302</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="LineEdit" name="nameText">
|
|
<property name="placeholderText">
|
|
<string>Name of Dynamic Rules</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" rowspan="4">
|
|
<widget class="QListWidget" name="rulesList"/>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="addBtn">
|
|
<property name="text">
|
|
<string>Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QPushButton" name="editBtn">
|
|
<property name="text">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QPushButton" name="removeBtn">
|
|
<property name="text">
|
|
<string>Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>53</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string><p><i><b>NOTE</b> The rules listed above will be 'ORed' together, e.g. to have Cantata look for 'Rock songs by Wibble OR songs by Various Artists', you would need the following:<ul><li>AlbumArtist=Wibble Genre=Rock</li><li>AlbumArtist=Various Artists</li></ul>Cantata will use all the rules to query your library, and then randomly select songs to keep the play queue filled with 10 entries.</p></i></string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>KPushButton</class>
|
|
<extends>QPushButton</extends>
|
|
<header>kpushbutton.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|