/***************************************************************************
- geomeytrval.h - description
+ positionedit.h - description
-------------------
begin : 03 Aug 2008
copyright : (C) 2008 by Marco Gittler
{
Q_OBJECT
public:
- explicit PositionEdit(const QString name, int pos, int min, int max, const Timecode tc, QWidget* parent = 0);
- virtual ~PositionEdit();
+ explicit PositionEdit(const QString &name, int pos, int min, int max, const Timecode& tc, QWidget* parent = 0);
+ ~PositionEdit();
int getPosition() const;
void setPosition(int pos);
void updateTimecodeFormat();
- void setRange(int min, int max);
+public slots:
+ void setRange(int min, int max, bool absolute = false);
+
private:
TimecodeDisplay *m_display;
QSlider *m_slider;