ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccSelectChildrenDlg Class Reference

Minimal dialog to pick one element in a list (combo box) More...

#include <ecvSelectChildrenDlg.h>

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

Public Member Functions

 ccSelectChildrenDlg (QWidget *parent=nullptr)
 Default constructor. More...
 
 ~ccSelectChildrenDlg () override
 
void addType (QString typeName, CV_CLASS_ENUM type)
 Add an element to the 'type' combo box. More...
 
CV_CLASS_ENUM getSelectedType ()
 Returns the selected type. More...
 
QString getSelectedName ()
 Returns the selected name (if any) More...
 
bool getStrictMatchState () const
 Returns the state of the strict type checkbox. More...
 
bool getTypeIsUsed () const
 
bool getNameIsRegex () const
 if the name must be considered as regex More...
 
bool getNameMatchIsUsed () const
 if performing name-match (regex or not) More...
 

Protected Slots

void onAccept ()
 Called when the dialog is accepted. More...
 

Detailed Description

Minimal dialog to pick one element in a list (combo box)

Constructor & Destructor Documentation

◆ ccSelectChildrenDlg()

ccSelectChildrenDlg::ccSelectChildrenDlg ( QWidget *  parent = nullptr)
explicit

◆ ~ccSelectChildrenDlg()

ccSelectChildrenDlg::~ccSelectChildrenDlg ( )
override

Member Function Documentation

◆ addType()

void ccSelectChildrenDlg::addType ( QString  typeName,
CV_CLASS_ENUM  type 
)

Add an element to the 'type' combo box.

References s_lastType, and type.

Referenced by ccDBRoot::selectByTypeAndName().

◆ getNameIsRegex()

bool ccSelectChildrenDlg::getNameIsRegex ( ) const

if the name must be considered as regex

Referenced by onAccept(), and ccDBRoot::selectByTypeAndName().

◆ getNameMatchIsUsed()

bool ccSelectChildrenDlg::getNameMatchIsUsed ( ) const

if performing name-match (regex or not)

Referenced by ccDBRoot::selectByTypeAndName().

◆ getSelectedName()

QString ccSelectChildrenDlg::getSelectedName ( )

Returns the selected name (if any)

Referenced by ccDBRoot::selectByTypeAndName().

◆ getSelectedType()

CV_CLASS_ENUM ccSelectChildrenDlg::getSelectedType ( )

Returns the selected type.

References CV_TYPES::HIERARCHY_OBJECT.

Referenced by onAccept(), and ccDBRoot::selectByTypeAndName().

◆ getStrictMatchState()

bool ccSelectChildrenDlg::getStrictMatchState ( ) const

Returns the state of the strict type checkbox.

Referenced by ccDBRoot::selectByTypeAndName().

◆ getTypeIsUsed()

bool ccSelectChildrenDlg::getTypeIsUsed ( ) const

if the type checkbox is checked the children are filtered before checking the name for matches

Referenced by ccDBRoot::selectByTypeAndName().

◆ onAccept

void ccSelectChildrenDlg::onAccept ( )
protectedslot

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