#include <QAbstractItemView>
#include <QSpinBox>
-class QButtonGroup;
class PositionEdit;
#include "ui_keyframeeditor_ui.h"
/** @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 */
int getPos(int row);
+ /** @brief Converts a frame value to timecode considering the frames vs. HH:MM:SS:FF setting.
+ * @return timecode */
+ QString getPosString(int pos);
+
+ void generateAllParams();
int m_min;
int m_max;
QList <QDomElement> m_params;
Timecode m_timecode;
QGridLayout *m_slidersLayout;
- QButtonGroup *m_showButtons;
PositionEdit *m_position;
- void generateAllParams();
- /** @brief Converts a frame value to timecode considering the frames vs. HH:MM:SS:FF setting.
- * @return timecode */
- QString getPosString(int pos);
-
private slots:
void slotDeleteKeyframe();
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);