Dialog to select one or multiple items.
More...
#include <ccItemSelectionDlg.h>
|
|
| ccItemSelectionDlg (bool multiSelectionEnabled, QWidget *parent=nullptr, QString itemName="entities", QString label=QString()) |
| | Default constructor.
|
| |
|
void | setItems (const QStringList &items, int defaultSelectedIndex=0) |
| | Sets the list of items.
|
| |
|
int | getSelectedIndex () const |
| | Returns selected index (unique selection mode)
|
| |
|
void | getSelectedIndexes (std::vector< int > &indexes) const |
| | Returns selected indexes (multi-selection mode)
|
| |
|
|
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.
|
| |
Dialog to select one or multiple items.
The documentation for this class was generated from the following files:
- ccItemSelectionDlg.h
- ccItemSelectionDlg.cpp