]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.h
Make jog shuttle buttons work, based on patch from P. Fleury,
[kdenlive] / src / markerdialog.h
index 6a238c0d818e8bef94564ab0f5510cbe9e7daf47..88960ca480d596aff5d926a785f8ab1574692968 100644 (file)
 #ifndef MARKERDIALOG_H
 #define MARKERDIALOG_H
 
-#include <QDialog>
 
+#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:
@@ -41,21 +49,13 @@ public:
     CommentedTime newMarker();
 
 private slots:
-    void slotTimeUp();
-    void slotTimeDown();
     void slotUpdateThumb();
 
-protected:
-    void wheelEvent(QWheelEvent * event);
-
 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;