File indexing completed on 2025-02-02 04:11:21
0001 /* 0002 * SPDX-FileCopyrightText: 2019-2023 Mattia Basaglia <dev@dragon.best> 0003 * 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #ifndef EXPORTIMAGESEQUENCEDIALOG_H 0008 #define EXPORTIMAGESEQUENCEDIALOG_H 0009 0010 #include <memory> 0011 #include <QDialog> 0012 #include "model/document.hpp" 0013 0014 namespace glaxnimate::gui { 0015 0016 class ExportImageSequenceDialog : public QDialog 0017 { 0018 Q_OBJECT 0019 0020 public: 0021 ExportImageSequenceDialog(model::Composition* comp, QDir export_path, QWidget* parent = nullptr); 0022 ~ExportImageSequenceDialog(); 0023 0024 QDir export_path() const; 0025 0026 protected: 0027 void changeEvent ( QEvent* e ) override; 0028 0029 private Q_SLOTS: 0030 void pick_path(); 0031 void render(); 0032 0033 private: 0034 class Private; 0035 std::unique_ptr<Private> d; 0036 }; 0037 0038 } // namespace glaxnimate::gui 0039 0040 #endif // EXPORTIMAGESEQUENCEDIALOG_H