X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmarkerdialog.h;h=88960ca480d596aff5d926a785f8ab1574692968;hb=64c61b85ecc24a1caed44a63de3819bb8411baa7;hp=05225ccd1a4ab35fe7bb60ed27cd6117ff87b09e;hpb=a67e3b0ffffda4c6c6098cd7cb1b889a29f15d3d;p=kdenlive diff --git a/src/markerdialog.h b/src/markerdialog.h index 05225ccd..88960ca4 100644 --- a/src/markerdialog.h +++ b/src/markerdialog.h @@ -21,38 +21,41 @@ #ifndef MARKERDIALOG_H #define MARKERDIALOG_H -#include +#include "ui_markerdialog_ui.h" #include "docclipbase.h" #include "timecode.h" -#include "ui_markerdialog_ui.h" +#include "timecodedisplay.h" -namespace Mlt { +namespace Mlt +{ class Producer; class Profile; }; -class MarkerDialog : public QDialog { +/** + * @class MarkerDialog + * @brief A dialog for editing markers and guides. + * @author Jean-Baptiste Mardelle + */ + +class MarkerDialog : public QDialog, public Ui::MarkerDialog_UI +{ Q_OBJECT public: - MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, QWidget * parent = 0); + MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, const QString &caption, QWidget * parent = 0); ~MarkerDialog(); CommentedTime newMarker(); private slots: - void slotTimeUp(); - void slotTimeDown(); void slotUpdateThumb(); private: Mlt::Producer *m_producer; Mlt::Profile *m_profile; - Ui::MarkerDialog_UI m_view; DocClipBase *m_clip; - CommentedTime m_marker; - Timecode m_tc; - double m_fps; + TimecodeDisplay *m_in; double m_dar; QTimer *m_previewTimer;