59 #ifndef ACG_QTSCENEGRAPHWIDGET_HH
60 #define ACG_QTSCENEGRAPHWIDGET_HH
65 #include <ACG/Config/ACGDefines.hh>
66 #include <ACG/Scenegraph/BaseNode.hh>
70 #include <QTreeWidget>
111 virtual bool canHandle(std::string _className);
117 virtual std::string handles();
123 virtual QString contextMenuName();
127 QMap< SceneGraph::BaseNode* , QWidget* > widgetMap_;
154 enum Columns { Node, Type,
Status, Mode };
157 class Item :
public QTreeWidgetItem
161 Item(QTreeWidget* _parent,
195 void slotItemPressed( QTreeWidgetItem * _item,
198 void slotItemExpandedOrCollapsed( QTreeWidgetItem * _item );
202 void slotModeMenu ( QAction * _action );
203 void slotStatusMenu( QAction * _action );
205 void slotEditMaterial();
206 void slotEditTexture();
207 void slotEditShader();
208 void slotEditClipPlanes();
209 void slotEditCoordinateFrame();
224 void keyPressEvent(QKeyEvent* _event);
226 void keyReleaseEvent(QKeyEvent* _event);
239 QAction * actionActive_;
240 QAction * actionHideNode_;
241 QAction * actionHideChildren_;
242 QAction * actionHideSubtree_;
261 void setGeneratorMap( QMap< std::string , SceneGraphWidgetGenerator* > _map) { generatorMap_ = _map; };
264 QMap< std::string , SceneGraphWidgetGenerator* > generatorMap_;
303 void setGeneratorMap( QMap< std::string , SceneGraphWidgetGenerator* > _map) { sgw_->setGeneratorMap(_map); };
316 #endif // ACG_QTSCENEGRAPHWIDGET_HH defined
Namespace providing different geometric functions concerning angles.
virtual ~QtSceneGraphWidget()
destructor
void setGeneratorMap(QMap< std::string, SceneGraphWidgetGenerator * > _map)
Set a complete generator map (this will overwrite the existing one!
void setGeneratorMap(QMap< std::string, SceneGraphWidgetGenerator * > _map)
Set a complete generator map (this will overwrite the existing one!
Add status to mesh item (all items)