Create marker widget and attempt to add to timeline

This commit is contained in:
Thomas Wilshaw
2021-10-22 22:15:47 +01:00
parent be24e7e580
commit 4ce922536e
5 changed files with 39 additions and 0 deletions
+9
View File
@@ -21,10 +21,13 @@
#ifndef SEEKABLEWIDGET_H
#define SEEKABLEWIDGET_H
#include <QHBoxLayout>
#include "common/rational.h"
#include "timeline/timelinepoints.h"
#include "widget/snapservice/snapservice.h"
#include "widget/timebased/timescaledobject.h"
#include "widget/marker/marker.h"
namespace olive {
@@ -55,6 +58,8 @@ public slots:
void SetScroll(int s);
void UpdateMarkers();
protected:
void SeekToScreenPoint(int screen);
@@ -102,6 +107,10 @@ private:
bool dragging_;
QHBoxLayout* marker_layout_;
QVector<Marker*> marker_widgets;
};
}