Diffstat (limited to 'noncore/multimedia/tonleiter/fretboard.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/fretboard.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/multimedia/tonleiter/fretboard.h b/noncore/multimedia/tonleiter/fretboard.h index eb509b0..458c733 100644 --- a/noncore/multimedia/tonleiter/fretboard.h +++ b/noncore/multimedia/tonleiter/fretboard.h | |||
@@ -9,6 +9,10 @@ | |||
9 | 9 | ||
10 | #include "tonleiterdata.h" | 10 | #include "tonleiterdata.h" |
11 | 11 | ||
12 | using namespace Data; | ||
13 | |||
14 | namespace Graph | ||
15 | { | ||
12 | class FretBoard : public QWidget | 16 | class FretBoard : public QWidget |
13 | { | 17 | { |
14 | Q_OBJECT | 18 | Q_OBJECT |
@@ -42,13 +46,11 @@ private slots: | |||
42 | private: | 46 | private: |
43 | void paintEvent(QPaintEvent* pe); | 47 | void paintEvent(QPaintEvent* pe); |
44 | void resizeEvent(QResizeEvent* re); | 48 | void resizeEvent(QResizeEvent* re); |
45 | //void mousePressEvent(QMouseEvent* mpe); | ||
46 | //void mouseMoveEvent(QMouseEvent* mme); | ||
47 | //void mouseReleaseEvent(QMouseEvent* mre); | ||
48 | void paintBoard(QPainter* p); | 49 | void paintBoard(QPainter* p); |
49 | void paintFrets(QPainter* p); | 50 | void paintFrets(QPainter* p); |
50 | void paintStrings(QPainter* p); | 51 | void paintStrings(QPainter* p); |
51 | void paintScale(QPainter* p); | 52 | void paintScale(QPainter* p); |
52 | }; | 53 | }; |
54 | }; | ||
53 | 55 | ||
54 | #endif //TONLEITER_FRET_BOARD_H | 56 | #endif //TONLEITER_FRET_BOARD_H |