Debian Codegraph @

plugins/core/Standard/qSRA/include/dxfProfilesExportDlg.h

raw
1 //##########################################################################
2 //# #
3 //# CLOUDCOMPARE PLUGIN: qSRA #
4 //# #
5 //# This program is free software; you can redistribute it and/or modify #
6 //# it under the terms of the GNU General Public License as published by #
7 //# the Free Software Foundation; version 2 or later of the License. #
8 //# #
9 //# This program is distributed in the hope that it will be useful, #
10 //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
11 //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
12 //# GNU General Public License for more details. #
13 //# #
14 //# COPYRIGHT: EDF #
15 //# #
16 //##########################################################################
17
18 #ifndef QSRA_DXF_PROFILE_IMPORT_DLG_HEADER
19 #define QSRA_DXF_PROFILE_IMPORT_DLG_HEADER
20
21 #include "ui_dxfProfilesExportDlg.h"
22
23 //! Dialog for export multiple 2D profiles in a single DXF file (qSRA plugin)
24 class DxfProfilesExportDlg : public QDialog, public Ui::DxfProfilesExportDlg
25 {
26 Q_OBJECT
27
28 public:
29
30 //! Default constructor
31 explicit DxfProfilesExportDlg(QWidget* parent = nullptr);
32
33 //! Returns vert. profiles output filename (on completion)
34 QString getVertFilename() const;
35 //! Returns horiz. profiles output filename (on completion)
36 QString getHorizFilename() const;
37
38 protected:
39
40 //! Called when the vert. 'browse' tool button is pressed
41 void browseVertFile();
42 //! Called when the horiz. 'browse' tool button is pressed
43 void browseHorizFile();
44
45 //! Saves dialog state to persistent settings
46 void acceptAndSaveSettings();
47
48 protected:
49
50 //! Inits dialog state from persistent settings
51 void initFromPersistentSettings();
52
53 };
54
55 #endif //QSRA_PROFILE_IMPORT_DLG_HEADER