Frapper  1.0a
Public Types | Public Member Functions | Private Attributes | List of all members
Frapper::ViewPanel Class Reference

Base class for all view panel classes. More...

#include <ViewPanel.h>

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

Public Types

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...
 
- Public Types inherited from Frapper::Panel
enum  Type {
  T_Uninitialized = -1, T_Viewport, T_NetworkEditor, T_HierarchyEditor,
  T_ParameterEditor, T_CurveEditor, T_Timeline, T_History,
  T_Log, T_Documentation, T_NumTypes
}
 Nested enumeration of panel types. More...
 

Public Member Functions

 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.
 
virtual void fillToolBars (QToolBar *mainToolBar, QToolBar *panelToolBar)
 Fills the given tool bars in a panel frame with actions for the panel.
 
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.
 

Private Attributes

Type m_viewPanelType
 The type of the view panel.
 

Additional Inherited Members

- 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

Base class for all view panel classes.

Member Enumeration Documentation

Nested enumeration for the different types of view panels.

Enumerator:
T_Documentation 
T_Viewport 
T_NetworkEditor 
T_HierarchyEditor 
T_ParameterEditor 
T_CurveEditor 
T_Timeline 
T_PluginPanel 
T_PainterPanel 
T_NumTypes 

Constructor & Destructor Documentation

Frapper::ViewPanel::ViewPanel ( ViewPanel::Type  viewPanelType,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructor of the ViewPanel class.

Constructors and Destructors.

Parameters
viewPanelTypeThe type of view panel to create.
parentThe parent widget the created instance will be a child of.
flagsExtra widget options.

Constructor of the ViewPanel class.

Parameters
viewPanelTypeThe type of the view panel to create.
parentThe parent widget the created instance will be a child of.
flagsExtra widget options.

Member Function Documentation

ViewPanel::Type Frapper::ViewPanel::getViewPanelType ( )

Returns the type of the view panel.

Public Functions.

Returns
The type of the view panel.

Returns the type of the view panel.

Returns
The type of the view panel.

Member Data Documentation

Type Frapper::ViewPanel::m_viewPanelType
private

The type of the view panel.


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