ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
G3PointDisclaimer.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 #include <QDialog>
11 
13 
14 namespace Ui {
15 class G3PointDisclaimer;
16 }
17 
18 class G3PointDisclaimer : public QDialog {
19  Q_OBJECT
20 
21 public:
22  explicit G3PointDisclaimer(QWidget *parent = nullptr);
24 
25  static bool show(ecvMainAppInterface *app);
26 
27 private:
28  // whether disclaimer has already been displayed (and accepted) or not
29  static bool s_disclaimerAccepted;
30 
31  Ui::G3PointDisclaimer *ui;
32 };
static bool show(ecvMainAppInterface *app)
G3PointDisclaimer(QWidget *parent=nullptr)
Main application interface (for plugins)