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 /**--------------------------------------------------------------------------------------------------
19 \brief Shown after a new installation on a device, allowing the user to familiarize themselves with
20 the environment and to setup any needed settings, such as language, and performing registation.
21 **/
22 class NDEVR_API InitialSetupDialog : public QWidget
23 {
24 Q_OBJECT
25 public:
26 InitialSetupDialog(WindowManager* manager, QWidget* parent = nullptr);
27 void addWidget(QWidget* widget);
28 void removeWidget(QWidget* widget);
31 bool hasContent() const;
32 protected:
39 QSize minimumSizeHint() const override;
40 QSize sizeHint() const override;
42 void setVisible(bool visible) override;
43 signals:
45 protected:
46 QCustomStackedWidget* m_stack = nullptr;
47 QWidget* m_first_page = nullptr;
48 QCustomLabel* m_text = nullptr;
49 ImageView* m_view = nullptr;
50 QCustomLabel* m_language_label = nullptr;
51 QCustomLabel* m_language_info_label = nullptr;
52 TranslationCombo* m_translation_combo = nullptr;
53 WindowManager* m_window_manager = nullptr;
54 QCustomLabel* m_lighting_label = nullptr;
55 QCustomLabel* m_lighting_info_label = nullptr;
56 Button* m_lighting_button = nullptr;
57 QCustomLabel* m_touch_label = nullptr;
58 QCustomLabel* m_touch_info_label = nullptr;
59 Button* m_touch_button = nullptr;
60 QBoxLayout* m_main_layout = nullptr;
61 Button* m_next_button = nullptr;
62 Button* m_previous_button = nullptr;
63 UnitsDialog* m_unit_dialog = nullptr;
64 FileAndFolderSettingsDialog* m_folder_dialog = nullptr;
65 NDEVRActivationDialog* m_activation_dialog = nullptr;
67
68 };
69}
#define NDEVR_API
Definition DLLInfo.h:50
A core widget that allows the user to click one of many button types.
Definition Button.h:66
Allows the user to adjust default folders or whether or not the software uses project folders or proj...
Definition FileAndFolderSettingsDialog.h:19
A widget that shows a raster image or icon.
Definition ImageView.h:43
Shown after a new installation on a device, allowing the user to familiarize themselves with the envi...
Definition InitialSetupDialog.h:23
QSize minimumSizeHint() const override
void addWidget(QWidget *widget)
QSize sizeHint() const override
bool m_language_changed
Definition InitialSetupDialog.h:66
InitialSetupDialog(WindowManager *manager, QWidget *parent=nullptr)
void removeWidget(QWidget *widget)
void setVisible(bool visible) override
Displays translated text. No user interaction functionality is provided. The visual appearance of the...
Definition QCustomLabel.h:46
The main class for a layout where all widgets occupy the same same and only one widget is shown at a ...
Definition QCustomStackedWidget.h:149
Provides possible translations via a combobox to allow the user to select a language for the software...
Definition TranslationCombo.h:12
A dialog which can be used to set various units for different unit categories, such as selecting the ...
Definition UnitsDialog.h:53
Manages all windows and logic surrounding dialogs and views for displaying and managing any environme...
Definition WindowManager.h:68
Definition ACIColor.h:37