MuseScore  3.4
Music composition and notation
Public Member Functions | Properties | Private Slots | Private Attributes | List of all members
Ms::PaletteElementEditor Class Reference

#include <paletteworkspace.h>

Inheritance diagram for Ms::PaletteElementEditor:
Inheritance graph
[legend]
Collaboration diagram for Ms::PaletteElementEditor:
Collaboration graph
[legend]

Public Member Functions

 PaletteElementEditor (QObject *parent=nullptr)
 
 PaletteElementEditor (AbstractPaletteController *controller, QPersistentModelIndex paletteIndex, PalettePanel::Type type, QObject *parent=nullptr)
 
bool valid () const
 
QString actionName () const
 
Q_INVOKABLE void open ()
 

Properties

bool valid
 
QString actionName
 

Private Slots

void onElementAdded (const Element *)
 

Private Attributes

AbstractPaletteController_controller = nullptr
 
QPersistentModelIndex _paletteIndex
 
PalettePanel::Type _type = PalettePanel::Type::Unknown
 

Constructor & Destructor Documentation

◆ PaletteElementEditor() [1/2]

Ms::PaletteElementEditor::PaletteElementEditor ( QObject *  parent = nullptr)
inline

◆ PaletteElementEditor() [2/2]

Ms::PaletteElementEditor::PaletteElementEditor ( AbstractPaletteController controller,
QPersistentModelIndex  paletteIndex,
PalettePanel::Type  type,
QObject *  parent = nullptr 
)
inline

Member Function Documentation

◆ actionName()

QString Ms::PaletteElementEditor::actionName ( ) const

◆ onElementAdded

void Ms::PaletteElementEditor::onElementAdded ( const Element el)
privateslot

◆ open()

void Ms::PaletteElementEditor::open ( )

◆ valid()

bool Ms::PaletteElementEditor::valid ( ) const

Member Data Documentation

◆ _controller

AbstractPaletteController* Ms::PaletteElementEditor::_controller = nullptr
private

◆ _paletteIndex

QPersistentModelIndex Ms::PaletteElementEditor::_paletteIndex
private

◆ _type

PalettePanel::Type Ms::PaletteElementEditor::_type = PalettePanel::Type::Unknown
private

Property Documentation

◆ actionName

QString Ms::PaletteElementEditor::actionName
read

◆ valid

bool Ms::PaletteElementEditor::valid
read

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