diff options
author | Florian Jung <flo@windfisch.org> | 2012-05-28 14:15:52 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2012-05-28 14:15:52 +0000 |
commit | d2a88cfaad5ac385fc3c6212c09ad7fbc38e9454 (patch) | |
tree | 387da0b38255003e1a971629ea0de32273ac3d3c /muse2/muse/widgets/songpos_toolbar.cpp | |
parent | 716f5a5b56a3b7ff59004ef0a1af5f98cb2a691c (diff) |
merged with release_2_0
Diffstat (limited to 'muse2/muse/widgets/songpos_toolbar.cpp')
-rw-r--r-- | muse2/muse/widgets/songpos_toolbar.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/muse2/muse/widgets/songpos_toolbar.cpp b/muse2/muse/widgets/songpos_toolbar.cpp index 4f4f519d..1ffd0242 100644 --- a/muse2/muse/widgets/songpos_toolbar.cpp +++ b/muse2/muse/widgets/songpos_toolbar.cpp @@ -23,6 +23,8 @@ #include "songpos_toolbar.h" #include "song.h" +#include <QPainter> +#include <QPaintEvent> namespace MusEGui { @@ -51,4 +53,17 @@ namespace MusEGui song_changed(0); MTScale::resizeEvent(ev); } + void SongPosToolbarWidget::paintEvent(QPaintEvent* ev) + { + View::paintEvent(ev); + QPainter p; + p.begin(this); + p.setPen(Qt::darkGray); + p.drawRect(0, 0, width()-1, height()-1); + p.setPen(Qt::lightGray); + p.drawRect(1, 1, width()-1, height()-1); + p.end(); + } + + } |