void setAudioOnly();
void setAudioAndVideo();
void doChangeClipType(const GenTime &pos, int track, bool videoOnly, bool audioOnly);
+ int hasGuide(int pos, int offset);
public slots:
void setCursorPos(int pos, bool seek = true);
bool addGuide(const GenTime pos, const QString &comment);
void slotAddGuide();
void slotEditGuide(CommentedTime guide);
- void slotEditGuide();
- void slotDeleteGuide();
+ void slotEditGuide(int guidePos = -1);
+ void slotDeleteGuide(int guidePos = -1);
void slotDeleteAllGuides();
void editGuide(const GenTime oldPos, const GenTime pos, const QString &comment);
void copyClip();
private:
int m_tracksHeight;
- uint m_selectedTrack;
int m_projectDuration;
int m_cursorPos;
KdenliveDoc *m_document;
QAction *m_changeSpeedAction;
QAction *m_pasteEffectsAction;
QAction *m_ungroupAction;
+ QAction *m_editGuide;
+ QAction *m_deleteGuide;
QActionGroup *m_clipTypeGroup;
QTimer m_scrollTimer;
int m_scrollOffset;
bool m_clipDrag;
- QList <CommentedTime> m_searchStrings;
int m_findIndex;
PROJECTTOOL m_tool;
QCursor m_razorCursor;
void slotRefreshGuides();
void slotEnableRefresh();
void slotCheckMouseScrolling();
+ void slotEditTimeLineGuide();
+ void slotDeleteTimeLineGuide();
signals:
void cursorMoved(int, int);