public:
CustomRuler(Timecode tc, QWidget *parent=0);
virtual void mousePressEvent ( QMouseEvent * event );
+ virtual void mouseMoveEvent ( QMouseEvent * event );
void setPixelPerMark (double rate);
static const int comboScale[];
protected:
private:
int m_cursorPosition;
Timecode m_timecode;
+ void slotMoveCursor( int _value, bool emitSignal );
public slots:
- void slotNewValue ( int _value );
+ void slotNewValue ( int _value, bool emitSignal = false );
+ void slotMoveRuler (int newPos);
+
+
+ signals:
+ void cursorMoved(int);
};
#endif