Visual Computing Library
devel
|
Public Types | |
using | IconFunction = std::function< std::pair< QIcon, std::string >(const DrawableObject &)> |
Signals | |
void | drawableObjectSelectionChanged (uint i) |
void | drawableObjectVisibilityChanged () |
Public Member Functions | |
DrawableObjectVectorTree (const std::shared_ptr< DrawableObjectVector > &v, QWidget *parent=nullptr) | |
DrawableObjectVectorTree (QWidget *parent=nullptr) | |
uint | selectedDrawableObject () const |
void | setDrawableObjectVector (const std::shared_ptr< vcl::DrawableObjectVector > &v) |
void | setIconFunction (const IconFunction &f) |
bool | setSelectedItem (uint i) |
void | update () |
Private Slots | |
void | itemCheckStateChanged (QTreeWidgetItem *item, int column) |
void | itemSelectionChanged () |
Private Member Functions | |
void | updateDrawableVectorTree () |
Private Attributes | |
std::shared_ptr< DrawableObjectVector > | mDrawList |
IconFunction | mIconFunction = nullptr |
Ui::DrawableObjectVectorTree * | mUI |