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

Class for a panel that contains a curve editor widget for displaying number parameters. More...

#include <PainterPanel.h>

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

Public Member Functions

 PainterPanel (QWidget *parent=0, Qt::WindowFlags flags=0)
 Constructor of the PainterPanel class.
 
virtual ~PainterPanel ()
 Destructor of the PainterPanel class.
 
virtual void fillToolBars (QToolBar *mainToolBar, QToolBar *panelToolBar)
 Fills the given tool bars with actions for the curve editor panel.
 
- 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.
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 Handles key press events for the widget.
 

Private Attributes

QHBoxLayout * m_hboxLayout
 The layout for horizontal arranging the tree an drawing region.
 

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 for a panel that contains a curve editor widget for displaying number parameters.

Constructor & Destructor Documentation

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

Constructor of the PainterPanel class.

Constructors and Destructors.

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

Constructor of the PainterPanel class.

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

Destructor of the PainterPanel class.

Destructor of the NetworkPanel 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 PainterPanel::PainterPanel::fillToolBars ( QToolBar *  mainToolBar,
QToolBar *  panelToolBar 
)
virtual

Fills the given tool bars with actions for the curve editor panel.

Fills the given tool bars with actions for the PainterPanel view.

Public Functions.

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

Fills the given tool bars with actions for the painter panel.

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

Reimplemented from Frapper::Panel.

void Frapper::PainterPanel::keyPressEvent ( QKeyEvent *  event)
protected

Handles key press events for the widget.

Public Slots.

Parameters
eventThe description of the key event.

Privata Functions Protected Events Handles key press events for the widget.

Parameters
eventThe description of the key event.

Member Data Documentation

QHBoxLayout* Frapper::PainterPanel::m_hboxLayout
private

The layout for horizontal arranging the tree an drawing region.


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