X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fspacerdialog.h;h=8c0dcb9c8656fcb39fd45bd5e9d4aec7cd2fe292;hb=ab65ab29ddec974e04b93679bf10e4046129d97d;hp=516de61a1fa5433e9029b2245bfe5232c6ebd176;hpb=cd85961a9520f2f3c909e889dacd8de539468b89;p=kdenlive diff --git a/src/spacerdialog.h b/src/spacerdialog.h index 516de61a..8c0dcb9c 100644 --- a/src/spacerdialog.h +++ b/src/spacerdialog.h @@ -22,30 +22,28 @@ #define SPACERDIALOG_H -#include "timecode.h" #include "ui_spacerdialog_ui.h" +#include "timecode.h" +#include "timecodedisplay.h" +#include "definitions.h" + +/** + * @class SpacerDialog + * @brief A dialog to specify length and track of inserted space. + * @author Jean-Baptiste Mardelle + */ -class SpacerDialog : public QDialog { +class SpacerDialog : public QDialog, public Ui::SpacerDialog_UI +{ Q_OBJECT public: - SpacerDialog(const GenTime duration, Timecode tc, int track, int trackNumber, QWidget * parent = 0); - ~SpacerDialog(); + SpacerDialog(const GenTime duration, Timecode tc, int track, QList tracks, QWidget * parent = 0); GenTime selectedDuration(); int selectedTrack(); -private slots: - void slotTimeUp(); - void slotTimeDown(); - -protected: - void wheelEvent(QWheelEvent * event); - private: - Ui::SpacerDialog_UI m_view; - Timecode m_tc; - double m_fps; - + TimecodeDisplay m_in; };