X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fprojectsettings.h;h=5a0a93b16cf4516a1cbc057b81e746f0d32fbe41;hb=40f589ae92b921e6251481a6945b16a6ea1dc068;hp=9f8df30443dac6796e54e6f98f03da376a62570b;hpb=2bada83d8a0a7502d5aeb1b551312d46a95428dd;p=kdenlive diff --git a/src/projectsettings.h b/src/projectsettings.h index 9f8df304..5a0a93b1 100644 --- a/src/projectsettings.h +++ b/src/projectsettings.h @@ -32,13 +32,21 @@ class ProjectSettings : public QDialog, public Ui::ProjectSettings_UI Q_OBJECT public: - ProjectSettings(ProjectList *projectlist, int videotracks, int audiotracks, const QString projectPath, bool readOnlyTracks, bool unsavedProject, QWidget * parent = 0); + ProjectSettings(ProjectList *projectlist, QStringList lumas, int videotracks, int audiotracks, const QString projectPath, bool readOnlyTracks, bool unsavedProject, QWidget * parent = 0); QString selectedProfile() const; KUrl selectedFolder() const; QPoint tracks(); bool enableVideoThumbs() const; bool enableAudioThumbs() const; + bool useProxy() const; + bool generateProxy() const; + int proxyMinSize() const; + bool generateImageProxy() const; + int proxyImageMinSize() const; + QString proxyParams() const; + QString proxyExtension() const; static QStringList extractPlaylistUrls(QString path); + static QStringList extractSlideshowUrls(KUrl url); public slots: virtual void accept(); @@ -48,12 +56,22 @@ private slots: void slotUpdateButton(const QString &path); void slotUpdateFiles(bool cacheOnly = false); void slotClearCache(); + void slotDeleteProxies(); void slotDeleteUnused(); + /** @brief Export project data to text file. */ + void slotExportToText(); + /** @brief Update the displayed proxy parameters when user changes selection. */ + void slotUpdateProxyParams(); private: QPushButton *m_buttonOk; bool m_savedProject; ProjectList *m_projectList; + QStringList m_lumas; + +signals: + /** @brief User deleted proxies, so disable them in project. */ + void disableProxies(); };