File indexing completed on 2024-12-15 04:01:00
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 STICKER_PACK_BUILDER_DIALOG_HPP 0008 #define STICKER_PACK_BUILDER_DIALOG_HPP 0009 0010 #include <memory> 0011 0012 #include "base_dialog.hpp" 0013 #include "model/document.hpp" 0014 0015 #include "emoji/emoji_dialog.hpp" 0016 0017 namespace glaxnimate::android { 0018 0019 class StickerPackBuilderDialog : public BaseDialog 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit StickerPackBuilderDialog(QWidget *parent = nullptr); 0025 ~StickerPackBuilderDialog(); 0026 void set_current_file(model::Document* current); 0027 emoji::EmojiDialog& emoji_dialog(); 0028 0029 protected: 0030 void changeEvent(QEvent *e) override; 0031 void resizeEvent(QResizeEvent* e) override; 0032 0033 private: 0034 class Private; 0035 std::unique_ptr<Private> d; 0036 }; 0037 0038 } // namespace glaxnimate::android 0039 #endif // STICKER_PACK_BUILDER_DIALOG_HPP