aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.ui
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2022-01-02 16:06:31 +0100
committerEddy Pedroni <eddy@0xf7.com>2022-01-02 16:06:31 +0100
commite2d0e84992c539d0aa249483cad3ceca96bb03d9 (patch)
tree02d58f019fce13a9bfa7a652d5facf673b65660d /mainwindow.ui
parent430466b0e3a4dd762d8c4a44403437691d9d6118 (diff)
Improved Qt GUI layout, added set A and set B buttons
Diffstat (limited to 'mainwindow.ui')
-rw-r--r--mainwindow.ui176
1 files changed, 101 insertions, 75 deletions
diff --git a/mainwindow.ui b/mainwindow.ui
index 236460f..ac4d97b 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -6,24 +6,33 @@
<rect>
<x>0</x>
<y>0</y>
- <width>602</width>
- <height>424</height>
+ <width>971</width>
+ <height>767</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
- <layout class="QHBoxLayout" name="centralWidgetLayout">
+ <layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QListView" name="songListView">
- <property name="contextMenuPolicy">
- <enum>Qt::CustomContextMenu</enum>
+ <layout class="QHBoxLayout" name="listsLayout">
+ <property name="spacing">
+ <number>6</number>
</property>
- </widget>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetDefaultConstraint</enum>
+ </property>
+ <item>
+ <widget class="QListView" name="songListView"/>
+ </item>
+ <item>
+ <widget class="QListView" name="abListView"/>
+ </item>
+ </layout>
</item>
<item>
- <layout class="QVBoxLayout" name="verticalLayout">
+ <layout class="QVBoxLayout" name="slidersLayout">
<item>
<widget class="QSlider" name="songSlider">
<property name="minimumSize">
@@ -51,77 +60,94 @@
</property>
</widget>
</item>
- <item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QGridLayout" name="buttonsLayout">
+ <item row="0" column="1">
+ <widget class="QPushButton" name="pauseButton">
+ <property name="text">
+ <string>Pause</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="4">
+ <widget class="QPushButton" name="initMidiButton">
+ <property name="text">
+ <string>Connect MIDI</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QSlider" name="rateSlider">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QPushButton" name="playButton">
+ <property name="text">
+ <string>Play</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QPushButton" name="saveSessionButton">
+ <property name="text">
+ <string>Save session</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="3">
+ <widget class="QPushButton" name="storeAbButton">
+ <property name="text">
+ <string>Store AB</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="3">
+ <widget class="QPushButton" name="loadSessionButton">
+ <property name="text">
+ <string>Load session</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QCheckBox" name="abRepeatCheckBox">
+ <property name="text">
+ <string>AB repeat</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="4">
+ <widget class="QPushButton" name="addSongButton">
+ <property name="text">
+ <string>Add song</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QListView" name="abListView"/>
+ <widget class="QPushButton" name="setAButton">
+ <property name="text">
+ <string>Set A</string>
+ </property>
+ </widget>
</item>
<item>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="1">
- <widget class="QPushButton" name="playButton">
- <property name="text">
- <string>Play</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QPushButton" name="pauseButton">
- <property name="text">
- <string>Pause</string>
- </property>
- </widget>
- </item>
- <item row="9" column="1">
- <widget class="QPushButton" name="saveAbButton">
- <property name="text">
- <string>Save AB</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QPushButton" name="saveSessionButton">
- <property name="text">
- <string>Save session</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QPushButton" name="loadSessionButton">
- <property name="text">
- <string>Load session</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QCheckBox" name="abRepeatCheckBox">
- <property name="text">
- <string>AB repeat</string>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QPushButton" name="initMidiButton">
- <property name="text">
- <string>Connect MIDI</string>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="QPushButton" name="addSongButton">
- <property name="text">
- <string>Add song</string>
- </property>
- </widget>
- </item>
- <item row="12" column="1">
- <widget class="QSlider" name="rateSlider">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QPushButton" name="setBButton">
+ <property name="text">
+ <string>Set B</string>
+ </property>
+ </widget>
</item>
</layout>
</item>