From 5d45a0a6a4d44bb83098641d2595daec686b5a65 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Mon, 10 Dec 2012 19:40:00 +0000 Subject: rc2 --- muse2/synti/simpledrums2/simpledrumsgui.cpp | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'muse2/synti/simpledrums2/simpledrumsgui.cpp') diff --git a/muse2/synti/simpledrums2/simpledrumsgui.cpp b/muse2/synti/simpledrums2/simpledrumsgui.cpp index 54063959..f5e38a86 100644 --- a/muse2/synti/simpledrums2/simpledrumsgui.cpp +++ b/muse2/synti/simpledrums2/simpledrumsgui.cpp @@ -94,6 +94,26 @@ SimpleSynthGui* simplesynthgui_ptr; +QString labelStrings[] = { + "C 1", + "C#1", + "D 1", + "D#1", + "E 1", + "F 1", + "F#1", + "G 1", + + "G#1", + "A 1", + "A#1", + "B 1", + "C 2", + "C#2", + "D 2", + "D#2", +}; + /*! \fn QChannelSlider::QChannelSlider(Qt::Orientation orientation, int ch, QWidget* parent, const char* name) @@ -401,7 +421,8 @@ SimpleSynthGui::SimpleSynthGui() QHBoxLayout* strip = new QHBoxLayout;//(mgbLayout, 5); mgbLayout->addLayout(strip, r, c); - QLabel* channelLabel = new QLabel(QString("Ch ") + QString::number(i + 1), mainGroupBox); + //QLabel* channelLabel = new QLabel(QString("Ch ") + QString::number(i + 1), mainGroupBox); + QLabel* channelLabel = new QLabel(QString::number(i + 1) + ": (" +labelStrings[i] + ")", mainGroupBox); strip->addWidget(channelLabel); sampleNameLineEdit[i] = new QLineEdit(mainGroupBox); -- cgit v1.2.3