author | waspe <waspe> | 2003-12-02 19:03:50 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-12-02 19:03:50 (UTC) |
commit | 64304e555fc3e06aa69fa2f4a514ee55b7aa98bc (patch) (side-by-side diff) | |
tree | 3ce47189f43f18cccd42d326cf52977b339c744d /noncore/multimedia/tonleiter/pianoscale.h | |
parent | 7b74f202db22d458c43b2063ae128bf79b0e9777 (diff) | |
download | opie-64304e555fc3e06aa69fa2f4a514ee55b7aa98bc.zip opie-64304e555fc3e06aa69fa2f4a514ee55b7aa98bc.tar.gz opie-64304e555fc3e06aa69fa2f4a514ee55b7aa98bc.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'noncore/multimedia/tonleiter/pianoscale.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/pianoscale.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/multimedia/tonleiter/pianoscale.h b/noncore/multimedia/tonleiter/pianoscale.h new file mode 100644 index 0000000..63995b0 --- a/dev/null +++ b/noncore/multimedia/tonleiter/pianoscale.h @@ -0,0 +1,28 @@ +#ifndef TONLEITER_PIANO_SCALE_H +#define TONLEITER_PIANO_SCALE_H + +#include <qwidget.h> +#include <qpen.h> +#include <qbrush.h> + +namespace Menu +{ + class PianoScale : public QWidget + { + Q_OBJECT + private: + QBrush blackBrush; + QBrush whiteBrush; + QBrush markBrush; + QPen blackPen; + QPen whitePen; + public: + PianoScale(QWidget* parent,const char* name="PianoScale",WFlags f=0); + ~PianoScale(); + private: + void paintEvent(QPaintEvent* pe); + void mousePressEvent(QMouseEvent* me); + }; +}; + +#endif //TONLEITER_PIANO_SCALE_H |