Developer Documentation
|
#include <ACG/QtWidgets/QtSceneGraphWidget.hh>
Classes | |
class | Item |
struct | StatusActions |
Public Types | |
enum | Columns { Node , Type , Status , Mode } |
Public Slots | |
void | update (ACG::SceneGraph::BaseNode *_rootNode) |
Update recursively from _rootNode on. More... | |
void | expandAll () |
void | updateAll () |
Signals | |
void | signalNodeChanged (ACG::SceneGraph::BaseNode *_node) |
Public Member Functions | |
QtSceneGraphWidget (QWidget *_parent=0, SceneGraph::BaseNode *_rootNode=0) | |
default constructor More... | |
virtual | ~QtSceneGraphWidget () |
destructor More... | |
bool | addWidgetGenerator (SceneGraphWidgetGenerator *_generator) |
Add a node widget handler. More... | |
void | setGeneratorMap (QMap< std::string, SceneGraphWidgetGenerator * > _map) |
Set a complete generator map (this will overwrite the existing one! More... | |
Private Slots | |
void | slotItemPressed (QTreeWidgetItem *_item, int _col) |
void | slotItemExpandedOrCollapsed (QTreeWidgetItem *_item) |
void | slotNodeChanged (ACG::SceneGraph::BaseNode *_node) |
void | slotModeMenu (QAction *_action) |
void | slotStatusMenu (QAction *_action) |
void | slotEditMaterial () |
void | slotEditTexture () |
void | slotEditShader () |
void | slotEditClipPlanes () |
void | slotEditCoordinateFrame () |
Private Member Functions | |
QtSceneGraphWidget (const QtSceneGraphWidget &_rhs) | |
copy constructor | |
QtSceneGraphWidget & | operator= (const QtSceneGraphWidget &_rhs) |
assignment operator | |
void | update (SceneGraph::BaseNode *_node, Item *_parent) |
update _node More... | |
void | keyPressEvent (QKeyEvent *_event) |
key events More... | |
void | keyReleaseEvent (QKeyEvent *_event) |
key events More... | |
Private Attributes | |
SceneGraph::BaseNode * | rootNode_ |
QMenu * | modeMenu_ |
Item * | curItem_ |
bool | shiftPressed_ |
struct ACG::QtWidgets::QtSceneGraphWidget::StatusActions | statusActions_ |
QMap< std::string, SceneGraphWidgetGenerator * > | generatorMap_ |
This class is used within the QtExaminerWidget to display and modify the current scenegraph.
Definition at line 134 of file QtSceneGraphWidget.hh.
enum ACG::QtWidgets::QtSceneGraphWidget::Columns |
Definition at line 148 of file QtSceneGraphWidget.hh.
ACG::QtWidgets::QtSceneGraphWidget::QtSceneGraphWidget | ( | QWidget * | _parent = 0 , |
SceneGraph::BaseNode * | _rootNode = 0 |
||
) |
default constructor
Definition at line 110 of file QtSceneGraphWidget.cc.
|
inlinevirtual |
destructor
Definition at line 146 of file QtSceneGraphWidget.hh.
bool ACG::QtWidgets::QtSceneGraphWidget::addWidgetGenerator | ( | SceneGraphWidgetGenerator * | _generator | ) |
Add a node widget handler.
returns true, if the handler was sucessfully added.
Definition at line 565 of file QtSceneGraphWidget.cc.
|
slot |
Definition at line 537 of file QtSceneGraphWidget.cc.
|
private |
key events
Definition at line 515 of file QtSceneGraphWidget.cc.
|
private |
key events
Definition at line 525 of file QtSceneGraphWidget.cc.
|
inline |
Set a complete generator map (this will overwrite the existing one!
Definition at line 255 of file QtSceneGraphWidget.hh.
|
signal |
This signal is emitted when the user changes a node through its node dialog
|
privateslot |
Definition at line 441 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 463 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 377 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 419 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 398 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 238 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 249 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 485 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 557 of file QtSceneGraphWidget.cc.
|
privateslot |
Definition at line 498 of file QtSceneGraphWidget.cc.
|
slot |
Update recursively from _rootNode
on.
Definition at line 191 of file QtSceneGraphWidget.cc.
|
private |
update _node
Definition at line 220 of file QtSceneGraphWidget.cc.
|
slot |
Definition at line 544 of file QtSceneGraphWidget.cc.
|
private |
Definition at line 228 of file QtSceneGraphWidget.hh.
|
private |
Definition at line 258 of file QtSceneGraphWidget.hh.
|
private |
Definition at line 226 of file QtSceneGraphWidget.hh.
|
private |
Definition at line 224 of file QtSceneGraphWidget.hh.
|
private |
Definition at line 229 of file QtSceneGraphWidget.hh.