20 #ifndef __FRETCANVAS_H__ 21 #define __FRETCANVAS_H__ 41 bool _automaticDotType {
true };
43 bool _barreMode {
false };
44 bool _multidotMode {
false };
46 virtual void paintEvent(QPaintEvent*);
47 virtual void mousePressEvent(QMouseEvent*);
48 virtual void mouseMoveEvent(QMouseEvent*);
50 void paintDotSymbol(QPainter& p, QPen& pen, qreal y, qreal x, qreal dotd,
FretDotType dtype);
51 void getPosition(
const QPointF& pos,
int*
string,
int* fret);
FretDotType _currentDtype
Definition: fretcanvas.h:42
Fretboard diagram.
Definition: fret.h:122
void setAutomaticDotType(bool v)
Definition: fretcanvas.h:57
int cfret
Definition: fretcanvas.h:39
FretDiagram * diagram
Definition: fretcanvas.h:37
int cstring
Definition: fretcanvas.h:38
void setCurrentDotType(FretDotType t)
Definition: fretcanvas.h:58
Definition: fretcanvas.h:34
Definition: aeolus.cpp:26
void setBarreMode(bool v)
Definition: fretcanvas.h:59
FretDotType
Definition: fret.h:26
void setMultidotMode(bool v)
Definition: fretcanvas.h:60