Class for a panel that contains a curve editor widget for displaying number parameters.
More...
#include <CurveEditorPanel.h>
|
| void | drag () |
| | Signal that is emitted when a drag event is emited.
|
| |
|
| void | keyPressEvent (QKeyEvent *event) |
| | Handles key press events for the widget.
|
| |
|
| void | muteItems (QTreeWidgetItem *item) |
| | Changes color and icon of selected treeView Items and chids.
|
| |
| void | unmuteItems (QTreeWidgetItem *item) |
| | Changes color and icon of selected treeView Items and chids.
|
| |
| void | updateItems () |
| | Updates color and icon of selected treeView Items and chids.
|
| |
| void | fillTree (ParameterGroup *rootData, QTreeWidgetItem *rootItem) |
| | Fills the tree view with node data groups.
|
| |
|
| 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 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.
|
| |
| QMap< QString, QString > | m_parameterMap |
| | Map with default values. For load and save functionality.
|
| |
Class for a panel that contains a curve editor widget for displaying number parameters.
| Frapper::CurveEditorPanel::CurveEditorPanel |
( |
QWidget * |
parent = 0, |
|
|
Qt::WindowFlags |
flags = 0 |
|
) |
| |
Constructor of the CurveEditorPanel class.
Constructors and Destructors.
- Parameters
-
| parent | The parent widget the created instance will be a child of. |
| flags | Extra widget options. |
Constructor of the CurveEditorPanel class.
- Parameters
-
| parent | The parent widget the created instance will be a child of. |
| flags | Extra widget options. |
| Frapper::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 Frapper::CurveEditorPanel::fillToolBars |
( |
QToolBar * |
mainToolBar, |
|
|
QToolBar * |
panelToolBar |
|
) |
| |
|
virtual |
Fills the given tool bars with actions for the curve editor panel.
Public Functions.
- Parameters
-
| mainToolBar | The main tool bar to fill with actions. |
| panelToolBar | The panel tool bar to fill with actions. |
Fills the given tool bars with actions for the curve editor panel.
- Parameters
-
| mainToolBar | The main tool bar to fill with actions. |
| panelToolBar | The panel tool bar to fill with actions. |
Reimplemented from Frapper::Panel.
| void Frapper::CurveEditorPanel::updateTree |
( |
bool |
objectsSelected | ) |
|
|
slot |
Slot that is called when the selection in the scene model has changed.
Public Slots.
- Parameters
-
| objectsSelected | Flag that states whether objects in the scene are selected. |
Slot that is called when the selection in the scene model has changed.
- Parameters
-
| objectsSelected | Flag that states whether objects in the scene are selected. |
| void Frapper::CurveEditorPanel::buildTree |
( |
Node * |
node | ) |
|
|
slot |
Initializes the Selection Tree.
- Parameters
-
| node | The node whose animated parameters to display in the curve editor. |
| void Frapper::CurveEditorPanel::showCurves |
( |
| ) |
|
|
slot |
Displays the curves of the given node in the curve editor.
| void Frapper::CurveEditorPanel::setCurrentFrame |
( |
const int |
index | ) |
const |
|
slot |
Sets the index of the current frame in the scene's time.
- Parameters
-
| index | The new index of the current frame in the scene's time. |
| void Frapper::CurveEditorPanel::changeKeyValues |
( |
| ) |
|
|
slot |
Sets the value of the selected Keys.
| void Frapper::CurveEditorPanel::scaleKeyValues |
( |
| ) |
|
|
slot |
Scales the value of the selected Keys.
| void Frapper::CurveEditorPanel::normalizeKeyValues |
( |
| ) |
|
|
slot |
Scales the values of the shown curve to a maximum of one.
| void Frapper::CurveEditorPanel::muteSelectedParameterGroups |
( |
| ) |
|
|
slot |
Mutes/unmutes the in treeView selected Parameters.
| void Frapper::CurveEditorPanel::muteAllParameterGroups |
( |
| ) |
|
|
slot |
Mutes/unmutes all treeView Parameters.
Mutes all treeView Parameters.
| void Frapper::CurveEditorPanel::unmuteAllParameterGroups |
( |
| ) |
|
|
slot |
Unmutes all treeView Parameters.
| void Frapper::CurveEditorPanel::updateAllParameters |
( |
| ) |
|
|
slot |
Updates all treeView Parameters.
| void Frapper::CurveEditorPanel::drag |
( |
| ) |
|
|
signal |
Signal that is emitted when a drag event is emited.
| void Frapper::CurveEditorPanel::muteItems |
( |
QTreeWidgetItem * |
item | ) |
|
|
private |
Changes color and icon of selected treeView Items and chids.
Privata Functions.
Fills the tree view with node data groups
- Parameters
-
| rootData | the root parameter group containing the data |
| rootItem | the QTreeWidgetItem to add the data Changes color and icon of selected treeView Items and chids |
| void Frapper::CurveEditorPanel::unmuteItems |
( |
QTreeWidgetItem * |
item | ) |
|
|
private |
Changes color and icon of selected treeView Items and chids.
| void Frapper::CurveEditorPanel::updateItems |
( |
| ) |
|
|
private |
Updates color and icon of selected treeView Items and chids.
| void Frapper::CurveEditorPanel::fillTree |
( |
ParameterGroup * |
rootData, |
|
|
QTreeWidgetItem * |
rootItem |
|
) |
| |
|
private |
Fills the tree view with node data groups.
- Parameters
-
| root | the root parameter group of the selected node |
| void Frapper::CurveEditorPanel::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
Handles key press events for the widget.
Protected Events.
- Parameters
-
| event | The description of the key event. |
Handles key press events for the widget.
- Parameters
-
| event | The description of the key event. |
| QDoubleSpinBox* Frapper::CurveEditorPanel::m_normalizeSpinBox |
|
private |
Line edit value for key value overwrite.
| QDoubleSpinBox* Frapper::CurveEditorPanel::m_valueSpinBox |
|
private |
Line edit value for key value overwrite.
| QDoubleSpinBox* Frapper::CurveEditorPanel::m_scaleSpinBox |
|
private |
Line edit value for key value overwrite.
| QCheckBox* Frapper::CurveEditorPanel::m_curveCheckBox |
|
private |
Checkbox which enables/disables view flag for enabled/disabled parameters.
The graphics view for drawing the curves.
| QHBoxLayout* Frapper::CurveEditorPanel::m_hboxLayout |
|
private |
The layout for horizontal arranging the tree an drawing region.
| QTreeWidget* Frapper::CurveEditorPanel::m_dataTree |
|
private |
The tree widget visualizing the databases.
| QIcon Frapper::CurveEditorPanel::m_muteIcon |
|
private |
The mute icon for the data tree.
The documentation for this class was generated from the following files: