20 #ifndef __PIANO_RULER_H__ 21 #define __PIANO_RULER_H__ 29 static const int pianoRulerHeight = 28;
30 static const int MAP_OFFSET = 480;
void setXZoom(qreal)
Definition: pianoruler.cpp:349
void posChanged(const Pos &)
Score * _score
Definition: pianoruler.h:39
virtual void mouseMoveEvent(QMouseEvent *event)
Definition: pianoruler.cpp:295
TType _timeType
Definition: pianoruler.h:45
Pos _cursor
Definition: pianoruler.h:40
QFont _font1
Definition: pianoruler.h:46
int _xpos
Definition: pianoruler.h:44
static QPixmap * markIcon[3]
Definition: pianoruler.h:48
qreal _xZoom
Definition: pianoruler.h:43
Pos pix2pos(int x) const
Definition: pianoruler.cpp:148
void setXpos(int)
Definition: pianoruler.cpp:138
int xpos() const
Definition: pianoruler.h:71
qreal xZoom() const
Definition: pianoruler.h:72
void moveLocator(QMouseEvent *)
Definition: pianoruler.cpp:304
PianoRuler(QWidget *parent=0)
Definition: pianoruler.cpp:104
Definition: aeolus.cpp:26
int pos2pix(const Pos &p) const
Definition: pianoruler.cpp:162
void setPos(const Pos &)
Definition: pianoruler.cpp:330
virtual void mousePressEvent(QMouseEvent *)
Definition: pianoruler.cpp:286
virtual void paintEvent(QPaintEvent *)
Definition: pianoruler.cpp:171
Pos * _locator
Definition: pianoruler.h:41
void locatorMoved(int idx, const Pos &)
Definition: pianoruler.h:36
TType
Definition: pos.h:32
virtual void leaveEvent(QEvent *)
Definition: pianoruler.cpp:319
void setScore(Score *, Pos *locator)
Definition: pianoruler.cpp:125
QFont _font2
Definition: pianoruler.h:46