ccGraphicalSegmentationOptionsDlg.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //##########################################################################
  2. //# #
  3. //# CLOUDCOMPARE #
  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: CloudCompare project #
  15. //# #
  16. //##########################################################################
  17. #ifndef CC_GRAPHICAL_SEGMENTATION_OPTIONS_DLG_HEADER
  18. #define CC_GRAPHICAL_SEGMENTATION_OPTIONS_DLG_HEADER
  19. //Qt
  20. #include <QString>
  21. //GUI
  22. #include <ui_graphicalSegmentationOptionsDlg.h>
  23. class ccGraphicalSegmentationOptionsDlg : public QDialog, public Ui::GraphicalSegmentationOptionsDlg
  24. {
  25. Q_OBJECT
  26. public:
  27. //! Default constructor
  28. ccGraphicalSegmentationOptionsDlg(const QString windowTitle = QString(), QWidget* parent = nullptr);
  29. void accept();
  30. //! Returns the QSettings key to store the segmentation tool options
  31. static QString SegmentationToolOptionsKey() { return "SegmentationToolOptions"; }
  32. //! Returns the QSettings key to store the 'remaining entity' suffix
  33. static QString RemainingSuffixKey() { return "Remaining"; }
  34. //! Returns the QSettings key to store the 'segmented entity' suffix
  35. static QString SegmentedSuffixKey() { return "Segmented"; }
  36. };
  37. #endif // CC_GRAPHICAL_SEGMENTATION_OPTIONS_DLG_HEADER