implemented selecting custom export range

Fixes #1314
This commit is contained in:
itsmattkc
2020-11-17 09:43:43 +11:00
parent e2010dde83
commit 8a64ef75d9
4 changed files with 60 additions and 21 deletions
+9 -1
View File
@@ -40,7 +40,7 @@ class ExportDialog : public QDialog
{
Q_OBJECT
public:
ExportDialog(ViewerOutput* viewer_node, QWidget* parent = nullptr);
ExportDialog(ViewerOutput* viewer_node, TimelinePoints* points = nullptr, QWidget* parent = nullptr);
protected:
virtual void closeEvent(QCloseEvent *e) override;
@@ -52,9 +52,17 @@ private:
ExportParams GenerateParams() const;
ViewerOutput* viewer_node_;
TimelinePoints* points_;
ExportFormat::Format previously_selected_format_;
enum RangeSelection {
kRangeEntireSequence,
kRangeInToOut
};
QComboBox* range_combobox_;
QCheckBox* video_enabled_;
QCheckBox* audio_enabled_;