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 };
ccGraphicalSegmentationOptionsDlg
Definition: ecvGraphicalSegmentationOptionsDlg.h:16
ccGraphicalSegmentationOptionsDlg::accept
void accept()
Definition: ecvGraphicalSegmentationOptionsDlg.cpp:34
ccGraphicalSegmentationOptionsDlg::RemainingSuffixKey
static QString RemainingSuffixKey()
Returns the QSettings key to store the 'remaining entity' suffix.
Definition: ecvGraphicalSegmentationOptionsDlg.h:33
ccGraphicalSegmentationOptionsDlg::ccGraphicalSegmentationOptionsDlg
ccGraphicalSegmentationOptionsDlg(const QString windowTitle=QString(), QWidget *parent=nullptr)
Default constructor.
Definition: ecvGraphicalSegmentationOptionsDlg.cpp:13
ecvGraphicalSegmentationOptionsDlg.h
Ui
Definition: sfEditDlg.h:16
ccGraphicalSegmentationOptionsDlg::SegmentedSuffixKey
static QString SegmentedSuffixKey()
Returns the QSettings key to store the 'segmented entity' suffix.
Definition: ecvGraphicalSegmentationOptionsDlg.h:35
ccGraphicalSegmentationOptionsDlg::SegmentationToolOptionsKey
static QString SegmentationToolOptionsKey()
Returns the QSettings key to store the segmentation tool options.
Definition: ecvGraphicalSegmentationOptionsDlg.h:29