open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Types | Public Member Functions | List of all members
iAParameterDlg Class Reference

Dialog asking the user for some given parameters. More...

#include <iAParameterDlg.h>

Inheritance diagram for iAParameterDlg:
[legend]
Collaboration diagram for iAParameterDlg:
[legend]

Public Types

using ParamListT = QVector< QSharedPointer< iAAttributeDescriptor > >
 

Public Member Functions

 iAParameterDlg (QWidget *parent, QString const &title, ParamListT parameters, QString const &descr=QString())
 Create dialog with the given parameters. More...
 
int exec () override
 
QMap< QString, QVariant > parameterValues () const
 
void setOKEnabled (bool enabled)
 
void setSourceMdi (iAMdiChild *child, iAMainWindow *mainWnd)
 
void showROI ()
 
QVector< QWidget * > widgetList ()
 

Detailed Description

Dialog asking the user for some given parameters.

Member Typedef Documentation

◆ ParamListT

using iAParameterDlg::ParamListT = QVector<QSharedPointer<iAAttributeDescriptor> >

Constructor & Destructor Documentation

◆ iAParameterDlg()

iAParameterDlg::iAParameterDlg ( QWidget *  parent,
QString const &  title,
ParamListT  parameters,
QString const &  descr = QString() 
)

Create dialog with the given parameters.

Parameters
parentthe parent widget
titlethe dialog title
parameterslist of parameters (name, type, value, range, ...)
descran optional description text, displayed on top of the dialog

Member Function Documentation

◆ exec()

int iAParameterDlg::exec ( )
override

◆ parameterValues()

QMap< QString, QVariant > iAParameterDlg::parameterValues ( ) const

◆ setOKEnabled()

void iAParameterDlg::setOKEnabled ( bool  enabled)

◆ setSourceMdi()

void iAParameterDlg::setSourceMdi ( iAMdiChild child,
iAMainWindow mainWnd 
)

◆ showROI()

void iAParameterDlg::showROI ( )

◆ widgetList()

QVector< QWidget * > iAParameterDlg::widgetList ( )

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