232 lines
6 KiB
XML
232 lines
6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Music Generator GUI</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="titleLabel">
|
|
<property name="text">
|
|
<string>Music Generator</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListView" name="songListView">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="buttonLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="addSongButton">
|
|
<property name="text">
|
|
<string>Add Song</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="removeSongButton">
|
|
<property name="text">
|
|
<string>Remove Song</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="timeControlsLayout">
|
|
<item>
|
|
<widget class="QLabel" name="elapsedTimeLabel">
|
|
<property name="text">
|
|
<string>0:00</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="positionSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="durationLabel">
|
|
<property name="text">
|
|
<string>0:00</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="controlsFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="controlsLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="playButton">
|
|
<property name="text">
|
|
<string>Play</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="media-playback-start">
|
|
<normaloff>.</normaloff>.
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="pauseButton">
|
|
<property name="text">
|
|
<string>Pause</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="media-playback-pause">
|
|
<normaloff>.</normaloff>.
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="skipButton">
|
|
<property name="text">
|
|
<string>Skip</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="media-skip-forward">
|
|
<normaloff>.</normaloff>.
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="stopButton">
|
|
<property name="text">
|
|
<string>Stop</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="media-playback-stop">
|
|
<normaloff>.</normaloff>.
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="shuffleButton">
|
|
<property name="text">
|
|
<string>Shuffle</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="media-playlist-shuffle">
|
|
<normaloff>.</normaloff>.
|
|
</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="statusLayout">
|
|
<item>
|
|
<widget class="QProgressBar" name="progressBar">
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="statusLabel">
|
|
<property name="text">
|
|
<string>Ready</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuSettings">
|
|
<property name="title">
|
|
<string>Settings</string>
|
|
</property>
|
|
<addaction name="actionAdvancedSettings"/>
|
|
</widget>
|
|
<addaction name="menuSettings"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="actionAdvancedSettings">
|
|
<property name="text">
|
|
<string>Advanced Settings...</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|