|
From: Tapio V. <aa...@us...> - 2011-01-25 16:40:13
|
Module: editor
Branch: master
Commit: 604d73f642f318bb4a18b81ada0e8b000e3ec04c
Author: Tapio Vierros <tap...@gm...>
Date: Tue Jan 25 18:39:24 2011 +0200
Dark note graph background gives better contrast.
---
notegraphwidget.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/notegraphwidget.cc b/notegraphwidget.cc
index 7cc2dae..f8c7d9d 100644
--- a/notegraphwidget.cc
+++ b/notegraphwidget.cc
@@ -32,6 +32,9 @@ NoteGraphWidget::NoteGraphWidget(QWidget *parent)
// FIXME: Temporary hack to make testing quicker
analyzeMusic("music.ogg");
+ setProperty("darkBackground", true);
+ setStyleSheet("QLabel[darkBackground=\"true\"] { background: #222; }");
+
setFocusPolicy(Qt::StrongFocus);
setWhatsThis(tr("Note graph that displays the song notes and allows you to manipulate them."));
|