Common editor settings.
More...
#include <src/structure/arrangement/editor_settings.h>
|
| | 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.
|
Common editor settings.
Definition at line 17 of file editor_settings.h.
◆ EditorSettings()
| zrythm::structure::arrangement::EditorSettings::EditorSettings |
( |
QObject * | parent = nullptr | ) |
|
|
inline |
◆ getHorizontalZoomLevel()
| double zrythm::structure::arrangement::EditorSettings::getHorizontalZoomLevel |
( |
| ) |
const |
|
inline |
◆ getX()
| double zrythm::structure::arrangement::EditorSettings::getX |
( |
| ) |
const |
|
inline |
◆ getY()
| double zrythm::structure::arrangement::EditorSettings::getY |
( |
| ) |
const |
|
inline |
◆ setHorizontalZoomLevel()
| void zrythm::structure::arrangement::EditorSettings::setHorizontalZoomLevel |
( |
double | hzoom_level | ) |
|
|
inline |
◆ setX()
| void zrythm::structure::arrangement::EditorSettings::setX |
( |
double | x | ) |
|
|
inline |
◆ setY()
| void zrythm::structure::arrangement::EditorSettings::setY |
( |
double | y | ) |
|
|
inline |
◆ from_json
| void from_json |
( |
const nlohmann::json & | j, |
|
|
EditorSettings & | settings ) |
|
friend |
◆ init_from
◆ to_json
| void to_json |
( |
nlohmann::json & | j, |
|
|
const EditorSettings & | settings ) |
|
friend |
◆ horizontalZoomLevel
| double zrythm::structure::arrangement::EditorSettings::horizontalZoomLevel |
|
readwrite |
| QML_ELEMENT double zrythm::structure::arrangement::EditorSettings::x |
|
readwrite |
| double zrythm::structure::arrangement::EditorSettings::y |
|
readwrite |
The documentation for this class was generated from the following file: