2025-02-28 15:14:18 +01:00
|
|
|
#ifndef G3POINTDISCLAIMER_H
|
|
|
|
|
#define G3POINTDISCLAIMER_H
|
2024-05-14 16:49:07 +02:00
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
|
|
class ccMainAppInterface;
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class G3PointDisclaimer;
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-28 15:14:18 +01:00
|
|
|
class G3PointDisclaimer : public QDialog
|
2024-05-14 16:49:07 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2025-02-28 15:14:18 +01:00
|
|
|
explicit G3PointDisclaimer(QWidget *parent = nullptr);
|
|
|
|
|
~G3PointDisclaimer();
|
2024-05-14 16:49:07 +02:00
|
|
|
|
|
|
|
|
static bool show(ccMainAppInterface* app);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
//whether disclaimer has already been displayed (and accepted) or not
|
|
|
|
|
static bool s_disclaimerAccepted;
|
|
|
|
|
|
|
|
|
|
Ui::G3PointDisclaimer *ui;
|
|
|
|
|
};
|
|
|
|
|
|
2025-02-28 15:14:18 +01:00
|
|
|
#endif // G3POINTDISCLAIMER_H
|