Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::actions::QObjectPropertyOperator Class Reference
Inheritance diagram for zrythm::actions::QObjectPropertyOperator:
Collaboration diagram for zrythm::actions::QObjectPropertyOperator:

Public Member Functions

 QObjectPropertyOperator (QObject *parent=nullptr)
Q_SIGNAL void currentObjectChanged ()
Q_SIGNAL void undoStackChanged ()
QObject * currentObject () const
void setCurrentObject (QObject *object)
undo::UndoStackundoStack () const
void setUndoStack (undo::UndoStack *undoStack)
Q_INVOKABLE void setValue (QString propertyName, QVariant value)
Q_INVOKABLE void setValueAffectingTempoMap (QString propertyName, QVariant value)
 Set a value that affects the tempo map.

Properties

QObject * currentObject
zrythm::undo::UndoStackundoStack

Detailed Description

Definition at line 14 of file qobject_property_operator.h.

Constructor & Destructor Documentation

◆ QObjectPropertyOperator()

zrythm::actions::QObjectPropertyOperator::QObjectPropertyOperator ( QObject * parent = nullptr)
inlineexplicit

Definition at line 22 of file qobject_property_operator.h.

Member Function Documentation

◆ currentObject()

QObject * zrythm::actions::QObjectPropertyOperator::currentObject ( ) const
inline

Definition at line 30 of file qobject_property_operator.h.

◆ setCurrentObject()

void zrythm::actions::QObjectPropertyOperator::setCurrentObject ( QObject * object)
inline

Definition at line 31 of file qobject_property_operator.h.

◆ setUndoStack()

void zrythm::actions::QObjectPropertyOperator::setUndoStack ( undo::UndoStack * undoStack)
inline

Definition at line 45 of file qobject_property_operator.h.

◆ setValueAffectingTempoMap()

Q_INVOKABLE void zrythm::actions::QObjectPropertyOperator::setValueAffectingTempoMap ( QString propertyName,
QVariant value )

Set a value that affects the tempo map.

The audio engine will be stopped while changes to this property are made.

◆ undoStack()

undo::UndoStack * zrythm::actions::QObjectPropertyOperator::undoStack ( ) const
inline

Definition at line 44 of file qobject_property_operator.h.

Property Documentation

◆ currentObject

QObject * zrythm::actions::QObjectPropertyOperator::currentObject
readwrite

Definition at line 17 of file qobject_property_operator.h.

◆ undoStack

zrythm::undo::UndoStack * zrythm::actions::QObjectPropertyOperator::undoStack
readwrite

Definition at line 18 of file qobject_property_operator.h.


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