qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ccEntitySelectionDialog Class Reference

Dialog to select one or multiple entities. More...

#include <ccEntitySelectionDlg.h>

Inheritance diagram for ccEntitySelectionDialog:
Inheritance graph
[legend]
Collaboration diagram for ccEntitySelectionDialog:
Collaboration graph
[legend]

Public Member Functions

 ccEntitySelectionDialog (const ccHObject::Container &entities, bool multiSelectionEnabled, int defaultSelectedIndex=0, QWidget *parent=nullptr, QString label=QString())
 Default constructor.
 
virtual ~ccEntitySelectionDialog ()
 Destructor.
 
int getSelectedIndex () const
 Returns the selected index (unique selection mode)
 
void getSelectedIndexes (std::vector< int > &indexes) const
 Returns the selected indexes (multi-selection mode)
 
void selectAll ()
 Selects all entities.
 
void selectNone ()
 Selects all entities.
 

Static Public Member Functions

static int SelectEntity (const ccHObject::Container &entities, int defaultSelectedIndex=0, QWidget *parent=nullptr, QString label=QString())
 Static shortcut: unique selection mode.
 
static bool SelectEntities (const ccHObject::Container &entities, std::vector< int > &indexes, QWidget *parent=nullptr, QString label=QString())
 Static shortcut: multi-selection mode.
 

Protected Attributes

Ui_EntitySelectionDialog * m_ui
 Associated ui.
 

Detailed Description

Dialog to select one or multiple entities.


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