X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=075132f2d3623dbe4df8f6ffce4d5fa0545c5f41;hb=f660d73b6c4bd5936b20276d26c547a894bc8984;hp=6d26e393422bd810d60c5e7e60486604e1d87b8e;hpb=4ea740d89bef3af2870a2578f252f889be897516;p=kdenlive diff --git a/src/mainwindow.h b/src/mainwindow.h index 6d26e393..075132f2 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -46,6 +46,7 @@ #include "dvdwizard.h" #include "stopmotion/stopmotion.h" #include "noteswidget.h" +#include "ui_backupdialog_ui.h" class KdenliveDoc; class TrackView; @@ -296,13 +297,15 @@ private: QPixmap createSchemePreviewIcon(const KSharedConfigPtr &config); /** @brief Checks that the Kdenlive mime type is correctly installed. + * @param open If set to true, this will return the mimetype allowed for file opening (adds .tar.gz format) * @return The mimetype */ - QString getMimeType(); + QString getMimeType(bool open = true); /** @brief Populates the "load layout" menu. */ void loadLayouts(); StopmotionWidget *m_stopmotion; + QTime m_timer; public slots: /** @brief Prepares opening @param url. @@ -344,7 +347,6 @@ private slots: /** @brief Reflects setting changes to the GUI. */ void updateConfiguration(); void slotConnectMonitors(); - void slotRaiseMonitor(bool clipMonitor); void slotUpdateClip(const QString &id); void slotUpdateMousePosition(int pos); void slotAddEffect(const QDomElement effect); @@ -409,6 +411,7 @@ private slots: void slotAddVideoEffect(QAction *result); void slotAddTransition(QAction *result); void slotAddProjectClip(KUrl url); + 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); @@ -442,7 +445,7 @@ private slots: void slotAdjustClipMonitor(); void slotAdjustProjectMonitor(); - void slotSaveZone(Render *render, QPoint zone); + void slotSaveZone(Render *render, QPoint zone, DocClipBase *baseClip = NULL, KUrl path = KUrl()); void slotSetInPoint(); void slotSetOutPoint(); @@ -527,6 +530,8 @@ private slots: void slotDoUpdateAudioScopeFrameRequest(); /** @brief When switching between monitors, update the visible scopes. */ void slotUpdateColorScopes(); + /** @brief Active monitor deleted, clear scopes. */ + void slotClearColorScopes(); /** @brief Switch current monitor to fullscreen. */ void slotSwitchFullscreen(); /** @brief Open the stopmotion dialog. */ @@ -537,6 +542,13 @@ private slots: void slotUpdateProxySettings(); /** @brief Insert current project's timecode into the notes widget. */ void slotInsertNotesTimecode(); + /** @brief Open the project's backupdialog. */ + void slotOpenBackupDialog(const KUrl url = KUrl()); + /** @brief Disable proxies for this project. */ + void slotDisableProxies(); + + void slotElapsedTime(); + signals: Q_SCRIPTABLE void abortRenderJob(const QString &url); };