Frapper  1.0a
Public Member Functions | List of all members
Frapper::HierarchyPanel Class Reference

Class representing a view for displaying and editing a scene hierarchy. More...

#include <HierarchyPanel.h>

Inheritance diagram for Frapper::HierarchyPanel:
Inheritance graph
[legend]
Collaboration diagram for Frapper::HierarchyPanel:
Collaboration graph
[legend]

Public Member Functions

 HierarchyPanel (QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor of the HierarchyPanel class.
 
virtual ~HierarchyPanel ()
 Destructor of the HierarchyPanel class.
 
virtual void fillToolBars (QToolBar *mainToolBar, QToolBar *panelToolBar)
 Fills the given tool bars in a panel frame with actions for the panel.
 
QTreeView * getTreeView ()
 Returns the tree view that is used to display the scene objects.
 
- Public Member Functions inherited from Frapper::ViewPanel
 ViewPanel (Type viewPanelType, QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor of the ViewPanel class.
 
Type getViewPanelType ()
 Returns the type of the view panel.
 
- Public Member Functions inherited from Frapper::Panel
 Panel (QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor of the Panel class.
 
virtual ~Panel ()
 Destructor of the Panel class.
 
QMap< QString, QString > getPanelParameters ()
 Gets the panel parameters. For load and save functionality.
 
virtual void setPanelParameters (const QMap< QString, QString > &parameterMap)
 Sets the panel parameters. For load and save functionality.
 
virtual void registerControl (NodeModel *nodeModel, SceneModel *sceneModel)
 Connects the panel with the scene.
 

Additional Inherited Members

- Public Types inherited from Frapper::ViewPanel
enum  Type {
  T_Documentation, T_Viewport, T_NetworkEditor, T_HierarchyEditor,
  T_ParameterEditor, T_CurveEditor, T_Timeline, T_PluginPanel,
  T_PainterPanel, T_NumTypes
}
 Nested enumeration for the different types of view panels. More...
 
- Static Public Member Functions inherited from Frapper::Panel
static QString getTypeName (Type panelType)
 Returns the name of the given panel type.
 
static QString getTypeIconName (Type panelType)
 Returns the icon name for the given panel type.
 
- Protected Attributes inherited from Frapper::Panel
QMap< QString, QString > m_parameterMap
 Map with default values. For load and save functionality.
 

Detailed Description

Class representing a view for displaying and editing a scene hierarchy.

Constructor & Destructor Documentation

Frapper::HierarchyPanel::HierarchyPanel ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor of the HierarchyPanel class.

Constructors and Destructors.

Parameters
parentThe parent widget the created instance will be a child of.
flagsExtra widget options.

Constructor of the HierarchyPanel class.

Parameters
parentThe parent widget the created instance will be a child of.
flagsExtra widget options.
Frapper::HierarchyPanel::~HierarchyPanel ( )
virtual

Destructor of the HierarchyPanel class.

Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.

Member Function Documentation

void Frapper::HierarchyPanel::fillToolBars ( QToolBar *  mainToolBar,
QToolBar *  panelToolBar 
)
virtual

Fills the given tool bars in a panel frame with actions for the panel.

Public Functions.

Parameters
mainToolBarThe main tool bar to fill with actions.
panelToolBarThe panel tool bar to fill with actions.

Fills the given tool bars in a panel frame with actions for the panel.

Parameters
mainToolBarThe main tool bar to fill with actions.
panelToolBarThe panel tool bar to fill with actions.

Reimplemented from Frapper::Panel.

QTreeView * Frapper::HierarchyPanel::getTreeView ( )

Returns the tree view that is used to display the scene objects.

Returns
The tree view that is used to display the scene objects.

The documentation for this class was generated from the following files: