15 #include <QtWidgets/QTreeWidget>
16 #include <boost/unordered_map.hpp>
20 class DtVectorNetworkTreeLogic;
38 virtual void addLayer(
const std::string& layerName);
39 virtual void removeLayer(
const std::string& layerName);
40 virtual void showLayer(
const std::string& layerName);
41 virtual void hideLayer(
const std::string& layerName);
43 virtual void addPointFeature(
DtElementID id,
const std::string& layerName,
46 virtual void addLinearFeature(
DtElementID id,
const std::string& layerName,
49 virtual void addArealFeature(
DtElementID id,
const std::string& layerName,
54 virtual void setFeatureSelected(
DtElementID id,
bool selected);
56 virtual void finishedAdding();
61 virtual void selectionChanged(
const QItemSelection& selected,
62 const QItemSelection& deselected );
74 QTreeWidgetItem& featureTypeRoot(
const std::string& layerName,FeatureType type);
77 typedef boost::unordered_map<QTreeWidgetItem*, QList<QTreeWidgetItem*> >
ToAddMap;