API Documentation
Loading...
Searching...
No Matches
InitialSetupDialog.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/String.h>
4#include <QWidget>
5class QBoxLayout;
6namespace NDEVR
7{
8 class ImageView;
9 class QCustomStackedWidget;
10 class QCustomLabel;
11 class TranslationCombo;
12 class Button;
13 class UnitDialog;
14 class FileAndFolderSettingsDialog;
15 class UnitsDialog;
16 class WindowManager;
17 class NDEVRActivationDialog;
18 class NDEVR_API InitialSetupDialog : public QWidget
19 {
20 Q_OBJECT
21 public:
22 InitialSetupDialog(WindowManager* manager, QWidget* parent = nullptr);
23 void addWidget(QWidget* widget);
24 void removeWidget(QWidget* widget);
26 void resetDialog();
27 bool hasContent() const;
28 protected:
29 void setupInitialPage();
30 void setupActivationTab();
31 void setupUnitsTab();
32 void setupFolderTab();
33 void setupButtons();
34 void updateWidgets();
35 QSize minimumSizeHint() const override;
36 QSize sizeHint() const override;
37 void retranslate();
38 void setVisible(bool visible) override;
39 signals:
41 protected:
42 QCustomStackedWidget* m_stack = nullptr;
43 QWidget* m_first_page = nullptr;
44 QCustomLabel* m_text = nullptr;
45 ImageView* m_view = nullptr;
46 QCustomLabel* m_language_label = nullptr;
47 QCustomLabel* m_language_info_label = nullptr;
48 TranslationCombo* m_translation_combo = nullptr;
49 WindowManager* m_window_manager = nullptr;
50 QCustomLabel* m_lighting_label = nullptr;
51 QCustomLabel* m_lighting_info_label = nullptr;
52 Button* m_lighting_button = nullptr;
53 QCustomLabel* m_touch_label = nullptr;
54 QCustomLabel* m_touch_info_label = nullptr;
55 Button* m_touch_button = nullptr;
56 QBoxLayout* m_main_layout = nullptr;
57 Button* m_next_button = nullptr;
58 Button* m_previous_button = nullptr;
59 UnitsDialog* m_unit_dialog = nullptr;
60 FileAndFolderSettingsDialog* m_folder_dialog = nullptr;
61 NDEVRActivationDialog* m_activation_dialog = nullptr;
63
64 };
65}
#define NDEVR_API
Definition DLLInfo.h:67
Definition Button.h:60
Definition FileAndFolderSettingsDialog.h:15
Definition ImageView.h:40
Definition InitialSetupDialog.h:19
bool m_language_changed
Definition InitialSetupDialog.h:62
Definition QCustomLabel.h:42
Definition QCustomStackedWidget.h:142
Definition TranslationCombo.h:7
Definition UnitsDialog.h:49
Definition WindowManager.h:68
Definition ACIColor.h:37