|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
A preset of chord descriptors. More...
#include <src/gui/backend/backend/settings/chord_preset.h>


Public Types | |
| using | NameT = QString |
Public Member Functions | |
| ChordPreset (QObject *parent=nullptr) | |
| ChordPreset (const NameT &name, QObject *parent=nullptr) | |
| NameT | getName () const |
| void | setName (const NameT &name) |
| Q_SIGNAL void | nameChanged (const NameT &name) |
| zrythm::utils::Utf8String | get_info_text () const |
| Gets informational text. | |
Data Fields | |
| NameT | name_ |
| Preset name. | |
| std::vector< zrythm::dsp::ChordDescriptor > | descr_ |
| Chord descriptors. | |
| ChordPresetPack * | pack_ = nullptr |
| Pointer to owner pack. | |
Properties | |
| QString | name |
Friends | |
| void | init_from (ChordPreset &obj, const ChordPreset &other, zrythm::utils::ObjectCloneType clone_type) |
| void | to_json (nlohmann::json &j, const ChordPreset &preset) |
| void | from_json (const nlohmann::json &j, ChordPreset &preset) |
A preset of chord descriptors.
Definition at line 26 of file chord_preset.h.
| using ChordPreset::NameT = QString |
Definition at line 33 of file chord_preset.h.
|
friend |
Definition at line 67 of file chord_preset.h.
|
friend |
Definition at line 62 of file chord_preset.h.
| std::vector<zrythm::dsp::ChordDescriptor> ChordPreset::descr_ |
Chord descriptors.
Definition at line 78 of file chord_preset.h.
| NameT ChordPreset::name_ |
Preset name.
Definition at line 75 of file chord_preset.h.
| ChordPresetPack* ChordPreset::pack_ = nullptr |
Pointer to owner pack.
Definition at line 81 of file chord_preset.h.
|
readwrite |
Definition at line 29 of file chord_preset.h.