|
From: Tapio V. <aa...@us...> - 2011-02-21 16:22:06
|
Author: Tapio Vierros <tap...@gm...>
Date: Mon Feb 21 18:21:08 2011 +0200
Removed Lyrics-tab: Not really useful and may confuse users.
---
editor.ui | 32 +-------------------------------
editorapp.cc | 6 ------
editorapp.hh | 1 -
3 files changed, 1 insertions(+), 38 deletions(-)
diff --git a/editor.ui b/editor.ui
index a6bbe99..80cab1e 100644
--- a/editor.ui
+++ b/editor.ui
@@ -47,7 +47,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>505</width>
+ <width>534</width>
<height>227</height>
</rect>
</property>
@@ -474,36 +474,6 @@
</item>
</layout>
</widget>
- <widget class="QWidget" name="tabLyrics">
- <attribute name="title">
- <string>&Lyrics</string>
- </attribute>
- <layout class="QGridLayout" name="gridLayout_7">
- <item row="1" column="0">
- <widget class="QPushButton" name="cmdRefreshLyrics">
- <property name="text">
- <string>Refresh</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QTextEdit" name="textEditLyrics">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="autoFillBackground">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
</widget>
</item>
</layout>
diff --git a/editorapp.cc b/editorapp.cc
index 32232be..d4f72c1 100644
--- a/editorapp.cc
+++ b/editorapp.cc
@@ -748,12 +748,6 @@ void EditorApp::on_chkSynth_clicked(bool checked)
}
}
-void EditorApp::on_cmdRefreshLyrics_clicked()
-{
- QString text = noteGraph->dumpLyrics();
- ui.textEditLyrics->setText(text);
-}
-
void EditorApp::on_cmdPlay_clicked()
{
if (player) {
diff --git a/editorapp.hh b/editorapp.hh
index 466e782..34a063e 100644
--- a/editorapp.hh
+++ b/editorapp.hh
@@ -65,7 +65,6 @@ public slots:
void on_cmdPlay_clicked();
void on_chkSynth_clicked(bool checked);
- void on_cmdRefreshLyrics_clicked();
// File menu
void on_actionNew_triggered();
|