Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::project::ChordEditor Class Reference

View state for the chord editor lane. More...

#include <src/structure/project/chord_editor.h>

Inheritance diagram for zrythm::structure::project::ChordEditor:
Collaboration diagram for zrythm::structure::project::ChordEditor:

Public Member Functions

 ChordEditor (QObject *parent=nullptr)
Public Member Functions inherited from zrythm::structure::project::EditorSettings
 EditorSettings (QObject *parent=nullptr)
double getX () const
void setX (double x)
Q_SIGNAL void xChanged (double x)
double getY () const
void setY (double y)
Q_SIGNAL void yChanged (double y)
double getHorizontalZoomLevel () const
void setHorizontalZoomLevel (double hzoom_level)
Q_SIGNAL void horizontalZoomLevelChanged (double hzoom_level)
double clamp_scroll_start_x (double x)
double clamp_scroll_start_y (double y)
void append_scroll (double dx, double dy, bool validate)
 Appends the given deltas to the scroll x/y values.

Friends

void init_from (ChordEditor &obj, const ChordEditor &other, zrythm::utils::ObjectCloneType clone_type)
void to_json (nlohmann::json &j, const ChordEditor &editor)
void from_json (const nlohmann::json &j, ChordEditor &editor)

Additional Inherited Members

Properties inherited from zrythm::structure::project::EditorSettings
QML_ELEMENT double x
double y
double horizontalZoomLevel

Detailed Description

View state for the chord editor lane.

Holds scroll position and zoom level for the chord arrangement view.

Definition at line 20 of file chord_editor.h.


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