18#ifndef IMPORTIMAGESEQDIALOG_H
19#define IMPORTIMAGESEQDIALOG_H
21#include "importexportdialog.h"
22#include "pencilerror.h"
23#include "predefinedsetmodel.h"
28class ImportImageSeqOptions;
29class ImportImageSeqPreviewGroupBox;
42enum ImportCriteria { Arbitrary, PredefinedSet };
50 Mode mode = ImportExportDialog::Import,
51 FileType fileType = FileType::IMAGE_SEQUENCE,
52 ImportCriteria importCriteria = ImportCriteria::Arbitrary);
55 void importArbitrarySequence();
56 void importPredefinedSet();
59 void setCore(
Editor* editor) { mEditor = editor; }
62 void notifyAnimationLengthChanged();
66 FileType getFileType();
69 void setSpace(
int number);
75 int keyFramePosFromFilePath(
const QString& path);
81 void setupPredefinedLayout();
85 Ui::ImportImageSeqOptions *uiOptionsBox;
86 Ui::ImportImageSeqPreviewGroupBox *uiGroupBoxPreview;
92 ImportCriteria mImportCriteria = ImportCriteria::Arbitrary;
93 FileType mFileType = FileType::IMAGE_SEQUENCE;
QObject * parent() const const