ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qM3C2DisclaimerDialog.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 <QDialog>
12 
14 
15 namespace Ui {
16 class DisclaimerDialog;
17 }
18 
20 class DisclaimerDialog : public QDialog {
21 public:
23  DisclaimerDialog(QWidget* parent = nullptr);
25 
26  static bool show(ecvMainAppInterface* app);
27 
28 private:
29  // whether disclaimer has already been displayed (and accepted) or not
30  static bool s_disclaimerAccepted;
31 
32  Ui::DisclaimerDialog* m_ui;
33 };
Dialog for displaying the BRGM disclaimer.
DisclaimerDialog(QWidget *parent=nullptr)
Default constructor.
static bool show(ecvMainAppInterface *app)
Main application interface (for plugins)