#include <QAbstractItemView>
#include <QSpinBox>
-class QButtonGroup;
class PositionEdit;
#include "ui_keyframeeditor_ui.h"
{
Q_OBJECT
public:
- explicit KeyframeEdit(QDomElement e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0);
+ explicit KeyframeEdit(const QDomElement &e, int minFrame, int maxFrame, Timecode tc, int activeKeyframe, QWidget* parent = 0);
virtual ~KeyframeEdit();
virtual void addParameter(QDomElement e, int activeKeyframe = -1);
const QString getValue(const QString &name);
/** @brief Makes the first parameter visible in timeline if no parameter is selected. */
void checkVisibleParam();
+public slots:
+
+ void slotUpdateRange(int inPoint, int outPoint);
+
protected:
/** @brief Gets the position of a keyframe from the table.
* @param row Row of the keyframe in the table */
void slotAddKeyframe();
void slotGenerateParams(int row, int column);
void slotAdjustKeyframePos(int value);
- void slotAdjustKeyframeValue(int value);
+ void slotAdjustKeyframeValue(double value);
/** @brief Turns the seek to keyframe position setting on/off.
* @param seek true = seeking on */
void slotSetSeeking(bool seek);