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

Public Types

enum  ToolType {
  Select , Edit , Cut , Eraser ,
  Ramp , Audition
}
 

Public Member Functions

 Tool (QObject *parent=nullptr)
 
int getToolValue () const
 
void setToolValue (int tool)
 
Q_SIGNAL void toolValueChanged (int tool)
 

Properties

QML_ELEMENT int toolValue
 

Friends

void init_from (Tool &obj, const Tool &other, utils::ObjectCloneType clone_type)
 
void to_json (nlohmann::json &j, const Tool &tool)
 
void from_json (const nlohmann::json &j, Tool &tool)
 

Detailed Description

Definition at line 15 of file tool.h.

Member Enumeration Documentation

◆ ToolType

enum zrythm::gui::backend::Tool::ToolType

Definition at line 23 of file tool.h.

Friends And Related Symbol Documentation

◆ from_json

void from_json ( const nlohmann::json & j,
Tool & tool )
friend

Definition at line 51 of file tool.h.

◆ to_json

void to_json ( nlohmann::json & j,
const Tool & tool )
friend

Definition at line 47 of file tool.h.

Property Documentation

◆ toolValue

QML_ELEMENT int zrythm::gui::backend::Tool::toolValue
readwrite

Definition at line 19 of file tool.h.


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