/**************************************************************************** ** Copyright (c) 2021, Fougue Ltd. ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #pragma once #include "../base/occ_handle.h" #include #include class Image_PixMap; namespace Mayo { class DialogSaveImageView : public QDialog { Q_OBJECT public: DialogSaveImageView(const OccHandle& view, QWidget* parent = nullptr); ~DialogSaveImageView(); private: void saveFile(); void clipboardCopy(); void preview(); bool createImageView(Image_PixMap* img) const; class Ui_DialogSaveImageView* m_ui = nullptr; OccHandle m_view; }; } // namespace Mayo