Made various changes and fixes to the task system: - Tasks are built around QtConcurrent rather than QThread. Reduces code complexity significantly. - Task error reporting is now streamlined in both TaskManager and TaskDialog. - Moved ProjectImport/Save/LoadManager to the app/task folder
27 lines
443 B
C++
27 lines
443 B
C++
#ifndef EXPORTADVANCEDVIDEODIALOG_H
|
|
#define EXPORTADVANCEDVIDEODIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "widget/slider/integerslider.h"
|
|
|
|
OLIVE_NAMESPACE_ENTER
|
|
|
|
class ExportAdvancedVideoDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ExportAdvancedVideoDialog(QWidget* parent = nullptr);
|
|
|
|
int threads() const;
|
|
void set_threads(int t);
|
|
|
|
private:
|
|
IntegerSlider* thread_slider_;
|
|
|
|
};
|
|
|
|
OLIVE_NAMESPACE_EXIT
|
|
|
|
#endif // EXPORTADVANCEDVIDEODIALOG_H
|