42 using IconFunction = DrawableObjectItem::IconFunction;
47 Ui::DrawableObjectVectorTree* mUI;
50 std::shared_ptr<DrawableObjectVector> mDrawList;
53 IconFunction mIconFunction =
nullptr;
58 const std::shared_ptr<DrawableObjectVector>& v,
59 QWidget*
parent =
nullptr);
62 void setIconFunction(
const IconFunction& f);
64 void setDrawableObjectVector(
65 const std::shared_ptr<vcl::DrawableObjectVector>& v);
67 uint selectedDrawableObject()
const;
72 bool setSelectedItem(uint
i);
75 void drawableObjectSelectionChanged(uint
i);
76 void drawableObjectVisibilityChanged();
79 void updateDrawableVectorTree();
82 void itemSelectionChanged();
83 void itemCheckStateChanged(QTreeWidgetItem*
item,
int column);