/** @brief Constructor for the widget, sets value to 0.
* @param t Timecode object used to setup correct input (frames or HH:MM:SS:FF)
* @param parent parent Widget */
- TimecodeDisplay(Timecode t, QWidget *parent = 0);
+ explicit TimecodeDisplay(Timecode t, QWidget *parent = 0);
/** @brief Returns the minimum value, which can be entered.
* default is 0 */
bool m_frametimecode;
int m_minimum;
int m_maximum;
+ int m_value;
public slots:
/** @brief Sets the value.
void setValue(const QString &value);
void setValue(GenTime value);
- /** @brief Sets value's format accorrding to Kdenlive's settings.
+ /** @brief Sets value's format according to Kdenlive's settings.
* @param t (optional, if already existing) Timecode object to use */
void slotUpdateTimeCodeFormat();
* @param final if the value is final ie not produced during sliding (on slider release it's final)
*/
void valueChanged(int value, bool final);
- void editingFinished();
+ void timeCodeEditingFinished();
protected:
virtual void keyPressEvent(QKeyEvent *e);
virtual void mouseReleaseEvent(QMouseEvent *);
-// virtual void wheelEvent(QWheelEvent *e);
+ virtual void wheelEvent(QWheelEvent *e);
virtual QAbstractSpinBox::StepEnabled stepEnabled () const;
};