blob: 2890e598b1b18e142ecd2c510177c6714698b153 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QProjectM_MainWindow</class>
<widget class="QMainWindow" name="QProjectM_MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>787</width>
<height>568</height>
</rect>
</property>
<property name="windowTitle">
<string>projectM</string>
</property>
<property name="windowIcon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/prjm16-transparent.svg</normaloff>:/images/icons/prjm16-transparent.svg</iconset>
</property>
<property name="whatsThis">
<string/>
</property>
<widget class="QWidget" name="centralwidget">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>787</width>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;Playlist</string>
</property>
<addaction name="actionOpen_Play_List"/>
<addaction name="actionAddPresets"/>
<addaction name="separator"/>
<addaction name="actionSave_play_list"/>
<addaction name="actionSave_play_list_as"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuAbout">
<property name="title">
<string>&amp;Help</string>
</property>
<addaction name="actionAbout_projectM"/>
<addaction name="actionAbout_Qt"/>
<addaction name="actionHotkey_Reference"/>
</widget>
<widget class="QMenu" name="menuSettings">
<property name="title">
<string>&amp;Settings</string>
</property>
<addaction name="actionConfigure_projectM"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuSettings"/>
<addaction name="menuAbout"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QDockWidget" name="presetPlayListDockWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>315</width>
<height>111</height>
</size>
</property>
<property name="baseSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This dock panel provides a convenient interface to manage a list of presets for projectM to render. The behavior is very similar to a music player playlist.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="features">
<set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
</property>
<property name="windowTitle">
<string comment="This is the preset playlist dock widget.">Preset Playlist</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<layout class="QGridLayout">
<item row="0" column="0" colspan="2">
<widget class="QPushButton" name="presetOpenPushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Click here to add presets to the current playlist.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_add_playlist.png</normaloff>:/images/icons/hi16-action-projectm_add_playlist.png</iconset>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="presetSavePushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Saves the currently loaded play list&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="styleSheet">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_save.png</normaloff>:/images/icons/hi16-action-projectm_save.png</iconset>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="clearPresetList_PushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Clears&lt;span style=&quot; font-style:italic;&quot;&gt; all &lt;/span&gt;presets&lt;span style=&quot; font-style:italic;&quot;&gt; &lt;/span&gt;in the playlist.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_playlist_clear.png</normaloff>:/images/icons/hi16-action-projectm_playlist_clear.png</iconset>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLineEdit" name="presetSearchBarLineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>30</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="statusTip">
<string>Start typing in a filter to crop the play list.</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Use this search bar to crop your preset play list. Only the presets that match your search criteria will be queued.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="6">
<widget class="QPlaylistTableView" name="tableView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>2</horstretch>
<verstretch>4</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>5</width>
<height>5</height>
</size>
</property>
<property name="baseSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::ActionsContextMenu</enum>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="statusTip">
<string>Double click on a preset to render it, or drag presets to change the preset order.</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="dragDropOverwriteMode">
<bool>false</bool>
</property>
<property name="dragDropMode">
<enum>QAbstractItemView::DragDrop</enum>
</property>
<property name="alternatingRowColors">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<property name="gridStyle">
<enum>Qt::DashDotDotLine</enum>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="shuffleEnabledCheckBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;When the dice is activated, projectM will randomly select presets weighted by your rating preferences.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="statusTip">
<string>Enable / Disable Shuffle Mode</string>
</property>
<property name="whatsThis">
<string/>
</property>
<property name="styleSheet">
<string>QCheckBox::indicator:checked {
image: url(:/images/icons/hi16-action-projectm_random.png);
}
QCheckBox::indicator:unchecked{
image: url(:/images/icons/hi16-action-projectm_random_no.png);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="autoRepeat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1" colspan="5">
<widget class="QCheckBox" name="lockPresetCheckBox">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;When the locked icon is shown, projectM will not automatically switch to another preset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="statusTip">
<string>Lock / Unlock the selected preset</string>
</property>
<property name="whatsThis">
<string/>
</property>
<property name="styleSheet">
<string>QCheckBox::indicator:checked {image: url(:/images/icons/hi16-action-projectm_lock.png);
}
QCheckBox::indicator:unchecked{
image: url(:/images/icons/hi16-action-projectm_unlock.png);
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="autoRepeat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="loadPlaylistPushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Open the file browser to load a playlist.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_edit.png</normaloff>:/images/icons/hi16-action-projectm_edit.png</iconset>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionAddPresets">
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_add_playlist.png</normaloff>:/images/icons/hi16-action-projectm_add_playlist.png</iconset>
</property>
<property name="text">
<string>&amp;Add Presets...</string>
</property>
</action>
<action name="actionAbout_projectM">
<property name="text">
<string>About projectM</string>
</property>
</action>
<action name="actionAbout_Qt">
<property name="text">
<string>About Qt</string>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>&amp;Quit</string>
</property>
</action>
<action name="actionSave_play_list">
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_save.png</normaloff>:/images/icons/hi16-action-projectm_save.png</iconset>
</property>
<property name="text">
<string>&amp;Save Playlist</string>
</property>
</action>
<action name="actionSave_play_list_as">
<property name="text">
<string>Save Playlist &amp;As...</string>
</property>
</action>
<action name="actionConfigure_projectM">
<property name="text">
<string>Configure projectM...</string>
</property>
</action>
<action name="actionOpen_Play_List">
<property name="text">
<string>&amp;Open Playlist...</string>
</property>
</action>
<action name="actionLockPreset">
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_lock.png</normaloff>:/images/icons/hi16-action-projectm_lock.png</iconset>
</property>
<property name="text">
<string>Lock Active Preset</string>
</property>
</action>
<action name="actionHotkey_Reference">
<property name="text">
<string>Hotkey reference</string>
</property>
</action>
<action name="actionEdit_this_preset">
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_edit.png</normaloff>:/images/icons/hi16-action-projectm_edit.png</iconset>
</property>
<property name="text">
<string>Edit preset</string>
</property>
</action>
<action name="actionRemove_selection">
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_remove.png</normaloff>:/images/icons/hi16-action-projectm_remove.png</iconset>
</property>
<property name="text">
<string>Remove selection</string>
</property>
</action>
<action name="actionInsert_presets">
<property name="icon">
<iconset resource="application.qrc">
<normaloff>:/images/icons/hi16-action-projectm_add_playlist.png</normaloff>:/images/icons/hi16-action-projectm_add_playlist.png</iconset>
</property>
<property name="text">
<string>Insert presets...</string>
</property>
</action>
<action name="actionHard_cut_to_this_preset">
<property name="text">
<string>Hard cut to this preset</string>
</property>
<property name="toolTip">
<string>Switches to this preset immediately.</string>
</property>
</action>
<action name="actionSoft_cut_to_this_preset">
<property name="text">
<string>Soft cut to this preset</string>
</property>
<property name="toolTip">
<string>Executes a smooth transition to this preset from the current prese.t</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>QPlaylistTableView</class>
<extends>QTableView</extends>
<header>qplaylisttableview.hpp</header>
</customwidget>
</customwidgets>
<resources>
<include location="application.qrc"/>
</resources>
<connections>
<connection>
<sender>presetOpenPushButton</sender>
<signal>clicked()</signal>
<receiver>actionAddPresets</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel">
<x>221</x>
<y>66</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>presetSavePushButton</sender>
<signal>clicked()</signal>
<receiver>actionSave_play_list</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel">
<x>52</x>
<y>66</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
<connection>
<sender>loadPlaylistPushButton</sender>
<signal>clicked()</signal>
<receiver>actionOpen_Play_List</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel">
<x>83</x>
<y>76</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
</connections>
</ui>