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

#include <qmlpluginengine.h>

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

Signals

void endCmd (const QMap< QString, QVariant > &changes)
 

Public Member Functions

 QmlPluginEngine (QObject *parent=nullptr)
 
void beginEndCmd (MuseScore *, bool undoRedo)
 
void endEndCmd (MuseScore *)
 
bool inScoreChangeActionHandler () const
 Returns true if the engine is in process of handling endCmd() call which is a result of score change user action (not undo/redo or simple selection changes/mouse clicks etc.) More...
 
- Public Member Functions inherited from Ms::MsQmlEngine
 MsQmlEngine (QObject *parent=nullptr)
 

Private Attributes

QMap< QString, QVariant > endCmdInfo
 
int cmdCount = 0
 
bool recursion = false
 
bool undoRedo = false
 
ScoreContentState lastScoreState
 
ScoreContentState currScoreState
 

Constructor & Destructor Documentation

◆ QmlPluginEngine()

Ms::QmlPluginEngine::QmlPluginEngine ( QObject *  parent = nullptr)

Member Function Documentation

◆ beginEndCmd()

void Ms::QmlPluginEngine::beginEndCmd ( MuseScore ms,
bool  undoRedo 
)

◆ endCmd

void Ms::QmlPluginEngine::endCmd ( const QMap< QString, QVariant > &  changes)
signal

◆ endEndCmd()

void Ms::QmlPluginEngine::endEndCmd ( MuseScore )

◆ inScoreChangeActionHandler()

bool Ms::QmlPluginEngine::inScoreChangeActionHandler ( ) const

Returns true if the engine is in process of handling endCmd() call which is a result of score change user action (not undo/redo or simple selection changes/mouse clicks etc.)

Member Data Documentation

◆ cmdCount

int Ms::QmlPluginEngine::cmdCount = 0
private

◆ currScoreState

ScoreContentState Ms::QmlPluginEngine::currScoreState
private

◆ endCmdInfo

QMap<QString, QVariant> Ms::QmlPluginEngine::endCmdInfo
private

◆ lastScoreState

ScoreContentState Ms::QmlPluginEngine::lastScoreState
private

◆ recursion

bool Ms::QmlPluginEngine::recursion = false
private

◆ undoRedo

bool Ms::QmlPluginEngine::undoRedo = false
private

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