aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpchannelswindow.ui
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-09-10 23:55:48 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-09-10 23:55:48 +0800
commitaec5e972e8968255e8843eb22314b96a8f23b041 (patch)
tree55990275b78a10188f7ec08436e748cc01461a91 /qmidiplayer-desktop/qmpchannelswindow.ui
parent1e0c10a001c61d27b210ae87652be849cbd5bcfe (diff)
downloadQMidiPlayer-aec5e972e8968255e8843eb22314b96a8f23b041.tar.xz
We refactorin', eh? Hell yeah.
(Almost) Completely rewritten qmpChannelsWindow, one of the oldest component, now with a dedicated data model. Removed dumb design (CMidiPlayer::getChstates). Now QMidiPlayer requires C++14 to build. More refactoring like this coming up soon.
Diffstat (limited to 'qmidiplayer-desktop/qmpchannelswindow.ui')
-rw-r--r--qmidiplayer-desktop/qmpchannelswindow.ui75
1 files changed, 1 insertions, 74 deletions
diff --git a/qmidiplayer-desktop/qmpchannelswindow.ui b/qmidiplayer-desktop/qmpchannelswindow.ui
index 2a63d21..2f96395 100644
--- a/qmidiplayer-desktop/qmpchannelswindow.ui
+++ b/qmidiplayer-desktop/qmpchannelswindow.ui
@@ -29,80 +29,7 @@
<item>
<layout class="QVBoxLayout" name="verticalLayout_1">
<item>
- <widget class="QTableWidget" name="twChannels">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="alternatingRowColors">
- <bool>true</bool>
- </property>
- <property name="selectionMode">
- <enum>QAbstractItemView::NoSelection</enum>
- </property>
- <property name="cornerButtonEnabled">
- <bool>false</bool>
- </property>
- <property name="rowCount">
- <number>16</number>
- </property>
- <property name="columnCount">
- <number>6</number>
- </property>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <row/>
- <column>
- <property name="text">
- <string>A</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>M</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>S</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Device</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Preset</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>...</string>
- </property>
- </column>
- <item row="0" column="1">
- <property name="text">
- <string/>
- </property>
- </item>
- </widget>
+ <widget class="QTableView" name="tvChannels"/>
</item>
</layout>
</item>