Q_OBJECT
public:
- explicit RenderWidget(const QString &projectfolder, QWidget * parent = 0);
+ explicit RenderWidget(const QString &projectfolder, bool enableProxy, QWidget * parent = 0);
virtual ~RenderWidget();
void setGuides(QDomElement guidesxml, double duration);
void focusFirstVisibleItem();
void setRenderStatus(const QString &dest, int status, const QString &error);
void setDocumentPath(const QString path);
void reloadProfiles();
- void setRenderProfile(const QString &dest, const QString &group, const QString &name, const QString &url);
+ void setRenderProfile(QMap <QString, QString> props);
int waitingJobsCount() const;
QString getFreeScriptName(const QString &prefix = QString());
bool startWaitingRenderJobs();
bool automaticAudioExport() const;
/** @brief Returns true if user wants audio export. */
bool selectedAudioExport() const;
+ /** @brief Show / hide proxy settings. */
+ void updateProxyConfig(bool enable);
+ /** @brief Should we render using proxy clips. */
+ bool proxyRendering();
public slots:
void slotExport(bool scriptExport, int zoneIn, int zoneOut, const QString &playlistPath, const QString &scriptPath, bool exportAudio);
void slotPlayRendering(QTreeWidgetItem *item, int);
void slotStartCurrentJob();
void slotCopyToFavorites();
+ void slotUpdateEncodeThreads(int);
void slotUpdateRescaleHeight(int);
void slotUpdateRescaleWidth(int);
void slotSwitchAspectRatio();
void openDvdWizard(const QString &url, const QString &profile);
/** 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 &, const QString &);
+ void selectedRenderProfile(QMap <QString, QString> renderProps);
void prepareRenderingData(bool scriptExport, bool zoneOnly, const QString &chapterFile);
void shutdown();
};