1 /***************************************************************************
2 positionedit.h - description
5 copyright : (C) 2008 by Marco Gittler
6 email : g.marco@freenet.de
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
27 class TimecodeDisplay;
29 class PositionEdit : public QWidget
33 explicit PositionEdit(const QString name, int pos, int min, int max, const Timecode tc, QWidget* parent = 0);
34 virtual ~PositionEdit();
35 int getPosition() const;
36 void setPosition(int pos);
37 void updateTimecodeFormat();
40 void setRange(int min, int max, bool absolute = false);
43 TimecodeDisplay *m_display;
47 void slotUpdatePosition();
50 void parameterChanged(int pos = 0);