#include <CurveEditorPanel.h>


Public Slots | |
| void | updateTree (bool objectsSelected) |
| Slot that is called when the selection in the scene model has changed. | |
| void | buildTree (Node *node) |
| Initializes the Selection Tree. | |
| void | showCurves () |
| Displays the curves of the given node in the curve editor. | |
| void | setCurrentFrame (const int index) const |
| Sets the index of the current frame in the scene's time. | |
| void | changeKeyValues (double value) |
| Sets the value of the selected Keys. | |
| void | scaleKeyValues (double scale) |
| Scales the value of the selected Keys. | |
| void | muteSelectedParameterGroups () |
| Mutes/unmutes the in treeView selected Parameters. | |
| void | muteAllParameterGroups () |
| Mutes/unmutes all treeView Parameters. | |
| void | unmuteAllParameterGroups () |
| Unmutes all treeView Parameters. | |
Public Member Functions | |
| CurveEditorPanel (QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Constructor of the CurveEditorPanel class. | |
| virtual | ~CurveEditorPanel () |
| Destructor of the CurveEditorPanel class. | |
| virtual void | fillToolBars (QToolBar *mainToolBar, QToolBar *panelToolBar) |
| Fills the given tool bars with actions for the curve editor panel. | |
Private Member Functions | |
| void | fillTree (ParameterGroup *rootData, QTreeWidgetItem *rootItem) |
| Fills the tree view with node data groups. | |
Private Attributes | |
| QDoubleSpinBox * | m_valueSpinBox |
| Line edit value for key value overwrite. | |
| QDoubleSpinBox * | m_scaleSpinBox |
| Line edit value for key value overwrite. | |
| QCheckBox * | m_curveCheckBox |
| Checkbox which enables/disables view flag for enabled/disabled parameters. | |
| CurveEditorGraphicsView * | m_curveEditorGraphicsView |
| The graphics view for drawing the curves. | |
| QHBoxLayout * | m_hboxLayout |
| The layout for horizontal arranging the tree an drawing region. | |
| QTreeWidget * | m_dataTree |
| The tree widget visualizing the databases. | |
| QIcon | m_muteIcon |
| The mute icon for the data tree. | |
| CurveEditorPanel::CurveEditorPanel | ( | QWidget * | parent = 0, |
|
| Qt::WindowFlags | flags = 0 | |||
| ) |
Constructor of the CurveEditorPanel class.
Constructors and Destructors.
| parent | The parent widget the created instance will be a child of. | |
| flags | Extra widget options. |
| parent | The parent widget the created instance will be a child of. | |
| flags | Extra widget options. |
| CurveEditorPanel::~CurveEditorPanel | ( | ) | [virtual] |
Destructor of the CurveEditorPanel 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.
| void CurveEditorPanel::fillToolBars | ( | QToolBar * | mainToolBar, | |
| QToolBar * | panelToolBar | |||
| ) | [virtual] |
Fills the given tool bars with actions for the curve editor panel.
Public Functions.
| mainToolBar | The main tool bar to fill with actions. | |
| panelToolBar | The panel tool bar to fill with actions. |
| mainToolBar | The main tool bar to fill with actions. | |
| panelToolBar | The panel tool bar to fill with actions. |
Reimplemented from Panel.
| void CurveEditorPanel::updateTree | ( | bool | objectsSelected | ) | [slot] |
Slot that is called when the selection in the scene model has changed.
Public Slots.
| objectsSelected | Flag that states whether objects in the scene are selected. |
| objectsSelected | Flag that states whether objects in the scene are selected. |
| void CurveEditorPanel::buildTree | ( | Node * | node | ) | [slot] |
Initializes the Selection Tree.
| node | The node whose animated parameters to display in the curve editor. |
| void CurveEditorPanel::showCurves | ( | ) | [slot] |
Displays the curves of the given node in the curve editor.
| void CurveEditorPanel::setCurrentFrame | ( | const int | index | ) | const [slot] |
Sets the index of the current frame in the scene's time.
| index | The new index of the current frame in the scene's time. |
| void CurveEditorPanel::changeKeyValues | ( | double | value | ) | [slot] |
Sets the value of the selected Keys.
| value | The new value for the selected keys. |
| void CurveEditorPanel::scaleKeyValues | ( | double | scale | ) | [slot] |
Scales the value of the selected Keys.
| scale | The scale value for the selected keys. |
| void CurveEditorPanel::muteSelectedParameterGroups | ( | ) | [slot] |
Mutes/unmutes the in treeView selected Parameters.
| void CurveEditorPanel::muteAllParameterGroups | ( | ) | [slot] |
Mutes/unmutes all treeView Parameters.
Mutes all treeView Parameters.
| void CurveEditorPanel::unmuteAllParameterGroups | ( | ) | [slot] |
Unmutes all treeView Parameters.
| void CurveEditorPanel::fillTree | ( | ParameterGroup * | rootData, | |
| QTreeWidgetItem * | rootItem | |||
| ) | [private] |
Fills the tree view with node data groups.
Privata Functions.
| root | the root parameter group of the selected node |
| rootData | the root parameter group containing the data | |
| rootItem | the QTreeWidgetItem to add the data |
QDoubleSpinBox* CurveEditorPanel::m_valueSpinBox [private] |
Line edit value for key value overwrite.
QDoubleSpinBox* CurveEditorPanel::m_scaleSpinBox [private] |
Line edit value for key value overwrite.
QCheckBox* CurveEditorPanel::m_curveCheckBox [private] |
Checkbox which enables/disables view flag for enabled/disabled parameters.
The graphics view for drawing the curves.
QHBoxLayout* CurveEditorPanel::m_hboxLayout [private] |
The layout for horizontal arranging the tree an drawing region.
QTreeWidget* CurveEditorPanel::m_dataTree [private] |
The tree widget visualizing the databases.
QIcon CurveEditorPanel::m_muteIcon [private] |
The mute icon for the data tree.
1.5.9