NDEVR
API Documentation
ModulesDialog

Allows the user to see which Modules are available and toggle them on or off, when Modules are toggleable. More...

Collaboration diagram for ModulesDialog:
[legend]

Public Member Functions

 ModulesDialog (QWidget *parent=nullptr)
 Constructs the modules dialog.
void addAllModules ()
 Populates the dialog with all available modules and their toggle controls.
void init ()
 Initializes the dialog layout and scroll area.
QSize minimumSizeHint () const override
 Returns the minimum recommended size for this dialog.
QSize sizeHint () const override
 Returns the recommended size for this dialog.

Protected Attributes

QGridLayout * m_layout
 The grid layout for arranging module entries.
QCustomScrollAream_scroll_area
 Scroll area containing the module list.

Detailed Description

Allows the user to see which Modules are available and toggle them on or off, when Modules are toggleable.


Definition at line 11 of file ModulesDialog.h.

Constructor & Destructor Documentation

◆ ModulesDialog()

ModulesDialog::ModulesDialog ( QWidget * parent = nullptr)

Constructs the modules dialog.

Parameters
[in]parentThe optional parent widget.

Member Function Documentation

◆ minimumSizeHint()

QSize ModulesDialog::minimumSizeHint ( ) const
override

Returns the minimum recommended size for this dialog.

Returns
The minimum size.

◆ sizeHint()

QSize ModulesDialog::sizeHint ( ) const
override

Returns the recommended size for this dialog.

Returns
The preferred size.

The documentation for this class was generated from the following file: