X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=4444ef341b6a1f5b85f2a526eaa142f01f7d4d68;hb=611fbb3add76b84cefe0ef28b421e5a4e9ce99b5;hp=4aab6269cd128b61c5c790852b85e7104bc8a023;hpb=e71a0b9a36b5c5f1b27674b335a1316a3985e084;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index 4aab6269..4444ef34 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -59,10 +59,10 @@ class Monitor; class RecMonitor; class CustomTrackView; class RenderWidget; -#ifndef NO_JOGSHUTTLE +#ifdef USE_JOGSHUTTLE class JogShuttle; class JogShuttleAction; -#endif /* NO_JOGSHUTTLE */ +#endif class DocClipBase; class Render; class Transition; @@ -222,10 +222,10 @@ private: RenderWidget *m_renderWidget; -#ifndef NO_JOGSHUTTLE +#ifdef USE_JOGSHUTTLE JogShuttle *m_jogProcess; JogShuttleAction* m_jogShuttle; -#endif /* NO_JOGSHUTTLE */ +#endif KRecentFilesAction *m_fileOpenRecent; KAction *m_fileRevert; @@ -260,6 +260,7 @@ private: StatusBarMessageLabel *m_messageLabel; QActionGroup *m_clipTypeGroup; KActionCollection *m_effectsActionCollection; + KActionCollection *m_tracksActionCollection; bool m_findActivated; QString m_findString; @@ -267,13 +268,13 @@ private: void readOptions(); void saveOptions(); -#ifndef NO_JOGSHUTTLE +#ifdef USE_JOGSHUTTLE void activateShuttleDevice(); -#endif /* NO_JOGSHUTTLE */ +#endif void connectDocumentInfo(KdenliveDoc *doc); void findAhead(); void doOpenFile(const KUrl &url, KAutoSaveFile *stale); - void recoverFiles(QList staleFiles); + void recoverFiles(QList staleFiles, const KUrl &originUrl); /** @brief Loads static and dynamic plugins. * @@ -294,6 +295,7 @@ private: QStringList m_pluginFileNames; QByteArray m_timelineState; void loadTranscoders(); + void loadStabilize(); QPixmap createSchemePreviewIcon(const KSharedConfigPtr &config); /** @brief Checks that the Kdenlive mime type is correctly installed. @@ -410,7 +412,8 @@ private slots: void slotSelectAddTimelineTransition(); void slotAddVideoEffect(QAction *result); void slotAddTransition(QAction *result); - void slotAddProjectClip(KUrl url); + void slotAddProjectClip(KUrl url, const QString &comment = QString()); + void slotAddProjectClipList(KUrl::List urls); void slotShowClipProperties(DocClipBase *clip); void slotShowClipProperties(QList cliplist, QMap commonproperties); void slotActivateEffectStackView(ClipItem* item = NULL, int ix = -1, bool raise = true); @@ -451,10 +454,14 @@ private slots: void slotResizeItemStart(); void slotResizeItemEnd(); void configureNotifications(); - void slotInsertTrack(int ix = 0); - void slotDeleteTrack(int ix = 0); + void slotInsertTrack(int ix = -1); + void slotDeleteTrack(int ix = -1); /** @brief Shows the configure tracks dialog and updates transitions afterwards. */ void slotConfigTrack(int ix = -1); + /** @brief Select all clips in active track. */ + void slotSelectTrack(); + /** @brief Select all clips in timeline. */ + void slotSelectAllTracks(); void slotGetNewLumaStuff(); void slotGetNewTitleStuff(); void slotGetNewRenderStuff(); @@ -475,6 +482,7 @@ private slots: void slotShowTimeline(bool show); void slotMaximizeCurrent(bool show); void slotTranscode(KUrl::List urls = KUrl::List()); + void slotStabilize(); void slotTranscodeClip(); /** @brief Archive project: creates a copy of the project file with all clips in a new folder. */ void slotArchiveProject(); @@ -543,12 +551,12 @@ private slots: void slotInsertNotesTimecode(); /** @brief Open the project's backupdialog. */ void slotOpenBackupDialog(const KUrl url = KUrl()); - /** @brief Make sure to block clip monitor before deleting a clip's producer. */ - void slotBlockClipMonitor(const QString id); /** @brief Disable proxies for this project. */ void slotDisableProxies(); void slotElapsedTime(); + /** @brief Open the online services search dialog. */ + void slotDownloadResources(); signals: Q_SCRIPTABLE void abortRenderJob(const QString &url);