Debian Codegraph @

plugins/core/IO/qDracoIO/include/SaveDracoFileDlg.h

raw
1 #pragma once
2
3 //##########################################################################
4 //# #
5 //# CLOUDCOMPARE #
6 //# #
7 //# This program is free software; you can redistribute it and/or modify #
8 //# it under the terms of the GNU General Public License as published by #
9 //# the Free Software Foundation; version 2 or later of the License. #
10 //# #
11 //# This program is distributed in the hope that it will be useful, #
12 //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 //# GNU General Public License for more details. #
15 //# #
16 //# COPYRIGHT: CloudCompare project #
17 //# #
18 //##########################################################################
19
20 #include <QDialog>
21
22 #include <qCC_io.h>
23
24 #include "ui_saveDracoFileDlg.h"
25
26 //! DRACO file (https://github.com/google/draco) saving dialog
27 class SaveDracoFileDlg : public QDialog, public Ui::SaveDracoFileDlg
28 {
29 Q_OBJECT
30
31 public:
32
33 //! Default constructor
34 explicit SaveDracoFileDlg(QWidget* parent = nullptr);
35
36 //! Destructor
37 virtual ~SaveDracoFileDlg() = default;
38
39 //! Resets default values
40 void reset();
41
42 protected:
43
44 //! Inits dialog state from persistent settings
45 void initFromPersistentSettings();
46
47 //! Saves dialog state from persistent settings
48 void saveToPersistentSettings();
49 };