53 #ifndef ACG_QTSCENEGRAPHWIDGET_HH 54 #define ACG_QTSCENEGRAPHWIDGET_HH 59 #include <ACG/Config/ACGDefines.hh> 60 #include <ACG/Scenegraph/BaseNode.hh> 64 #include <QTreeWidget> 105 virtual bool canHandle(std::string _className);
111 virtual std::string handles();
117 virtual QString contextMenuName();
121 QMap< SceneGraph::BaseNode* , QWidget* > widgetMap_;
148 enum Columns { Node, Type,
Status, Mode };
151 class Item :
public QTreeWidgetItem
155 Item(QTreeWidget* _parent,
189 void slotItemPressed( QTreeWidgetItem * _item,
192 void slotItemExpandedOrCollapsed( QTreeWidgetItem * _item );
196 void slotModeMenu ( QAction * _action );
197 void slotStatusMenu( QAction * _action );
199 void slotEditMaterial();
200 void slotEditTexture();
201 void slotEditShader();
202 void slotEditClipPlanes();
203 void slotEditCoordinateFrame();
218 void keyPressEvent(QKeyEvent* _event);
220 void keyReleaseEvent(QKeyEvent* _event);
233 QAction * actionActive_;
234 QAction * actionHideNode_;
235 QAction * actionHideChildren_;
236 QAction * actionHideSubtree_;
255 void setGeneratorMap( QMap< std::string , SceneGraphWidgetGenerator* > _map) { generatorMap_ = _map; };
258 QMap< std::string , SceneGraphWidgetGenerator* > generatorMap_;
297 void setGeneratorMap( QMap< std::string , SceneGraphWidgetGenerator* > _map) { sgw_->setGeneratorMap(_map); };
310 #endif // ACG_QTSCENEGRAPHWIDGET_HH defined Namespace providing different geometric functions concerning angles.
Add status to mesh item (all items)