29 static const int rulerHeight = 28;
69 Ruler(QWidget* parent = 0);
virtual void mousePressEvent(QMouseEvent *)
Definition: ruler.cpp:325
void locatorMoved(int idx, const Pos &)
QFont _font2
Definition: ruler.h:46
Pos * _locator
Definition: ruler.h:40
void setXpos(int)
Definition: ruler.cpp:165
static QPixmap * markIcon[3]
Definition: ruler.h:48
virtual void mouseMoveEvent(QMouseEvent *event)
Definition: ruler.cpp:334
void setMag(double xmag, double ymag)
Definition: ruler.cpp:138
Ruler(QWidget *parent=0)
Definition: ruler.cpp:103
virtual void paintEvent(QPaintEvent *)
Definition: ruler.cpp:197
TType _timeType
Definition: ruler.h:45
int pos2pix(const Pos &p) const
Definition: ruler.cpp:187
int magStep
Definition: ruler.h:42
double _xmag
Definition: ruler.h:43
int _xpos
Definition: ruler.h:44
Definition: aeolus.cpp:26
double xmag() const
Definition: ruler.h:71
void setScore(Score *, Pos *locator)
Definition: ruler.cpp:125
Pos _cursor
Definition: ruler.h:39
void moveLocator(QMouseEvent *)
Definition: ruler.cpp:343
virtual void leaveEvent(QEvent *)
Definition: ruler.cpp:358
int xpos() const
Definition: ruler.h:72
QFont _font1
Definition: ruler.h:46
void posChanged(const Pos &)
Pos pix2pos(int x) const
Definition: ruler.cpp:175
TType
Definition: pos.h:32
Score * _score
Definition: ruler.h:38
void setPos(const Pos &)
Definition: ruler.cpp:369