]> git.sesse.net Git - kdenlive/blobdiff - src/renderwidget.h
allow scrolling of unicode characters with mouse wheel
[kdenlive] / src / renderwidget.h
index bc9beaf5886ad1a77bdadcd255ef0c691fe874be..90064792c0a8557e1ff6be3a26a11b2807a2699a 100644 (file)
@@ -100,6 +100,7 @@ class RenderWidget : public QDialog
 
 public:
     explicit RenderWidget(const QString &projectfolder, QWidget * parent = 0);
+    virtual ~RenderWidget();
     void setGuides(QDomElement guidesxml, double duration);
     void focusFirstVisibleItem();
     void setProfile(MltVideoProfile profile);
@@ -107,7 +108,7 @@ public:
     void setRenderStatus(const QString &dest, int status, const QString &error);
     void setDocumentPath(const QString path);
     void reloadProfiles();
-    void setRenderProfile(const QString &dest, const QString &name);
+    void setRenderProfile(const QString &dest, const QString &name, const QString &url);
     int waitingJobsCount() const;
     QString getFreeScriptName(const QString &prefix = QString());
     bool startWaitingRenderJobs();
@@ -144,7 +145,10 @@ private:
     Ui::RenderWidget_UI m_view;
     MltVideoProfile m_profile;
     QString m_projectFolder;
+    RenderViewDelegate *m_scriptsDelegate;
+    RenderViewDelegate *m_jobsDelegate;
     bool m_blockProcessing;
+    QString m_renderer;
     void parseProfiles(QString meta = QString(), QString group = QString(), QString profile = QString());
     void parseFile(QString exportFile, bool editable);
     void updateButtons();
@@ -152,10 +156,11 @@ private:
     void checkRenderStatus();
 
 signals:
-    void doRender(const QStringList&, const QStringList&);
     void abortProcess(const QString &url);
     void openDvdWizard(const QString &url, const QString &profile);
-    void selectedRenderProfile(const QString &category, const QString &name);
+    /** Send the infos about rendering that will be saved in the document:
+    (profile destination, profile name and url of rendered file */
+    void selectedRenderProfile(const QString &, const QString &, const QString &);
     void prepareRenderingData(bool scriptExport, bool zoneOnly, const QString &chapterFile);
 };