#ifndef RENDERWIDGET_H
#define RENDERWIDGET_H
-#include <QDialog>
#include <QPushButton>
#include <QPainter>
#include <QItemDelegate>
#include "definitions.h"
#include "ui_renderwidget_ui.h"
+class QDomElement;
+
// RenderViewDelegate is used to draw the progress bars.
-class RenderViewDelegate : public QItemDelegate {
+class RenderViewDelegate : public QItemDelegate
+{
Q_OBJECT
public:
RenderViewDelegate(QWidget *parent) : QItemDelegate(parent) {}
// RenderScriptDelegate is used to draw the script items.
-class RenderScriptDelegate : public QItemDelegate {
+class RenderScriptDelegate : public QItemDelegate
+{
Q_OBJECT
public:
RenderScriptDelegate(QWidget *parent) : QItemDelegate(parent) {}
}
};
-class RenderWidget : public QDialog {
+class RenderWidget : public QDialog
+{
Q_OBJECT
public:
void slotCheckScript();
void slotCheckJob();
void slotEditItem(QListWidgetItem *item);
+ void slotCLeanUpJobs();
+ void slotHideLog();
private:
Ui::RenderWidget_UI m_view;
void parseFile(QString exportFile, bool editable);
void updateButtons();
KUrl filenameWithExtension(KUrl url, QString extension);
+ void checkRenderStatus();
signals:
- void doRender(const QString&, const QString&, const QStringList &, const QStringList &, bool, bool, double, double, bool, const QString &);
+ void doRender(const QStringList&, const QStringList&);
void abortProcess(const QString &url);
void openDvdWizard(const QString &url, const QString &profile);
};