]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.h
Clip cuts in project tree can now have a description
[kdenlive] / src / markerdialog.h
index aa7bbfcf984cfdcd7f728129849d8b8852c15f2f..5c6707c3d807726e7e62d3b3d494ce4ad146392e 100644 (file)
 #ifndef MARKERDIALOG_H
 #define MARKERDIALOG_H
 
-#include <QDialog>
 
 #include "docclipbase.h"
 #include "timecode.h"
 #include "ui_markerdialog_ui.h"
 
-namespace Mlt {
+namespace Mlt
+{
 class Producer;
 class Profile;
 };
 
-class MarkerDialog : public QDialog {
+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();
 
@@ -51,9 +52,7 @@ protected:
 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;
     double m_dar;