Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::qt::DrawableObjectVectorTree Class Reference
Inheritance diagram for vcl::qt::DrawableObjectVectorTree:

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< DrawableObjectVectormDrawList
 
IconFunction mIconFunction = nullptr
 
Ui::DrawableObjectVectorTree * mUI
 

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