Dialog to select one or multiple entities.
More...
#include <ccEntitySelectionDlg.h>
|
| 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 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.
|
|
|
Ui_EntitySelectionDialog * | m_ui |
| Associated ui.
|
|
Dialog to select one or multiple entities.
The documentation for this class was generated from the following files:
- ccEntitySelectionDlg.h
- ccEntitySelectionDlg.cpp