NDEVR
API Documentation
ModulesDialog.h
1#pragma once
2#include <QWidget>
3#include <QGridLayout>
4namespace NDEVR
5{
11 class ModulesDialog : public QWidget
12 {
13 public:
18 ModulesDialog(QWidget* parent = nullptr);
22 void init();
31 QSize sizeHint() const override;
36 QSize minimumSizeHint() const override;
37 protected:
38 QGridLayout* m_layout;
40 };
41}
ModulesDialog(QWidget *parent=nullptr)
Constructs the modules dialog.
QGridLayout * m_layout
The grid layout for arranging module entries.
QSize minimumSizeHint() const override
Returns the minimum recommended size for this dialog.
void addAllModules()
Populates the dialog with all available modules and their toggle controls.
QCustomScrollArea * m_scroll_area
Scroll area containing the module list.
void init()
Initializes the dialog layout and scroll area.
QSize sizeHint() const override
Returns the recommended size for this dialog.
A scroll area is used to display the contents of a child widget within a frame.
The primary namespace for the NDEVR SDK.