ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvGraphicalSegmentationOptionsDlg.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 // Qt
11 #include <QString>
12 
13 // GUI
14 #include <ui_graphicalSegmentationOptionsDlg.h>
15 
17  : public QDialog,
18  public Ui::GraphicalSegmentationOptionsDlg {
19  Q_OBJECT
20 
21 public:
23  ccGraphicalSegmentationOptionsDlg(const QString windowTitle = QString(),
24  QWidget* parent = nullptr);
25 
26  void accept();
27 
29  static QString SegmentationToolOptionsKey() {
30  return "SegmentationToolOptions";
31  }
33  static QString RemainingSuffixKey() { return "Remaining"; }
35  static QString SegmentedSuffixKey() { return "Segmented"; }
36 };
static QString RemainingSuffixKey()
Returns the QSettings key to store the 'remaining entity' suffix.
static QString SegmentationToolOptionsKey()
Returns the QSettings key to store the segmentation tool options.
ccGraphicalSegmentationOptionsDlg(const QString windowTitle=QString(), QWidget *parent=nullptr)
Default constructor.
static QString SegmentedSuffixKey()
Returns the QSettings key to store the 'segmented entity' suffix.