2#include <NDEVR/String.h>
8 class NDEVRActivationDialogUI;
17 class NDEVRActivationDialog :
public QWidget
25 NDEVRActivationDialog(QWidget* parent =
nullptr);
26 ~NDEVRActivationDialog();
30 static void PerformActivationCheck();
31 virtual void showEvent(QShowEvent* event)
override;
32 virtual void hideEvent(QHideEvent* event)
override;
36 void updateInformationUI();
41 void setActivationID(
const String&
id);
54 void showButtons(
bool buttons);
59 void onActivationFileSelected(
const File& file);
63 void updateInternetTime();
67 void updateDemoTimes();
72 String activationCode()
const;
78 static void SetActivationDialogShowing(
bool is_showing);
83 static void SetShowActivationOverride(std::function<
void()> function);
90 void onActivatedSignal();
91 void onActivationFailedSignal();
92 void onAcceptedSignal();
97 void onIncorrectActivation();
101 void onCorrectActivation();
103 static bool s_is_activation_showing;
104 static bool s_has_shown_activation_dialog;
105 Ui::NDEVRActivationDialogUI* ui;
106 FileChooserDialog* m_selection_dialog =
nullptr;
107 bool m_showing_file_browser =
false;
108 String m_activation_id;
109 static std::function<void()> s_show_activation_override;
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
The primary namespace for the NDEVR SDK.