| 1 |
//########################################################################## |
| 2 |
//# # |
| 3 |
//# CLOUDCOMPARE PLUGIN: qFacets # |
| 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: Thomas Dewez, BRGM # |
| 15 |
//# # |
| 16 |
//########################################################################## |
| 17 |
|
| 18 |
#ifndef QFACET_FACETS_EXPORT_DLG_HEADER |
| 19 |
#define QFACET_FACETS_EXPORT_DLG_HEADER |
| 20 |
|
| 21 |
#include <QDialog> |
| 22 |
|
| 23 |
#include "ui_facetsExportDlg.h" |
| 24 |
|
| 25 |
//! Dialog for exporting facets or facets info (qFacets plugin) |
| 26 |
class FacetsExportDlg : public QDialog, public Ui::FacetsExportDlg |
| 27 |
{ |
| 28 |
Q_OBJECT |
| 29 |
|
| 30 |
public: |
| 31 |
|
| 32 |
//! Usage mode |
| 33 |
enum IOMode { SHAPE_FILE_IO, ASCII_FILE_IO }; |
| 34 |
|
| 35 |
//! Default constructor |
| 36 |
FacetsExportDlg(IOMode mode, QWidget* parent = nullptr); |
| 37 |
|
| 38 |
protected: |
| 39 |
|
| 40 |
//! Called when the 'browse' tool button is pressed |
| 41 |
void browseDestination(); |
| 42 |
|
| 43 |
protected: |
| 44 |
|
| 45 |
//! Current I/O mode |
| 46 |
IOMode m_mode; |
| 47 |
}; |
| 48 |
|
| 49 |
#endif //QFACET_FACETS_EXPORT_DLG_HEADER |