* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
+/**
+ * @class CustomTrackScene
+ * @author Jean-Baptiste Mardelle
+ * @brief Holds all scene properties that need to be used by clip items.
+ */
#ifndef CUSTOMTRACKSCENE_H
#define CUSTOMTRACKSCENE_H
class KdenliveDoc;
class MltVideoProfile;
-/** This class holds all properties that need to be used by clip items */
+enum EDITMODE { NORMALEDIT = 0 , OVERWRITEEDIT = 1 , INSERTEDIT = 2 };
class CustomTrackScene : public QGraphicsScene
{
QPointF scale() const;
int tracksCount() const;
MltVideoProfile profile() const;
+ void setEditMode(EDITMODE mode);
+ EDITMODE editMode() const;
private:
KdenliveDoc *m_document;
QList <GenTime> m_snapPoints;
QPointF m_scale;
+ EDITMODE m_editMode;
};
#endif