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

#include <palettewidget.h>

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

Signals

void palettesEnabledChanged ()
 
void paletteWorkspaceChanged ()
 
void paletteBackgroundChanged ()
 
void paletteSearchRequested ()
 
void elementDraggedToScoreView ()
 

Public Member Functions

 PaletteQmlInterface (PaletteWorkspace *workspace, QmlNativeToolTip *t, bool enabled, QObject *parent=nullptr)
 
PaletteWorkspacepaletteWorkspace ()
 
const PaletteWorkspacepaletteWorkspace () const
 
void setPaletteWorkspace (PaletteWorkspace *workspace)
 
QColor paletteBackground () const
 
void setPaletteBackground (const QColor &val)
 
bool palettesEnabled () const
 
void setPalettesEnabled (bool val)
 
void notifyElementDraggedToScoreView ()
 
void requestPaletteSearch ()
 
Q_INVOKABLE Qt::KeyboardModifiers keyboardModifiers () const
 

Properties

bool palettesEnabled
 
Ms::PaletteWorkspace paletteWorkspace
 
Ms::QmlNativeToolTip tooltip
 
QColor paletteBackground
 

Private Member Functions

QmlNativeToolTipgetTooltip ()
 

Private Attributes

PaletteWorkspacew
 
QmlNativeToolTiptooltip
 
QColor _paletteBackground
 
bool _palettesEnabled
 

Constructor & Destructor Documentation

◆ PaletteQmlInterface()

Ms::PaletteQmlInterface::PaletteQmlInterface ( PaletteWorkspace workspace,
QmlNativeToolTip t,
bool  enabled,
QObject *  parent = nullptr 
)

Member Function Documentation

◆ elementDraggedToScoreView

void Ms::PaletteQmlInterface::elementDraggedToScoreView ( )
signal

◆ getTooltip()

QmlNativeToolTip* Ms::PaletteQmlInterface::getTooltip ( )
inlineprivate

◆ keyboardModifiers()

Q_INVOKABLE Qt::KeyboardModifiers Ms::PaletteQmlInterface::keyboardModifiers ( ) const
inline

◆ notifyElementDraggedToScoreView()

void Ms::PaletteQmlInterface::notifyElementDraggedToScoreView ( )
inline

◆ paletteBackground()

QColor Ms::PaletteQmlInterface::paletteBackground ( ) const
inline

◆ paletteBackgroundChanged

void Ms::PaletteQmlInterface::paletteBackgroundChanged ( )
signal

◆ paletteSearchRequested

void Ms::PaletteQmlInterface::paletteSearchRequested ( )
signal

◆ palettesEnabled()

bool Ms::PaletteQmlInterface::palettesEnabled ( ) const
inline

◆ palettesEnabledChanged

void Ms::PaletteQmlInterface::palettesEnabledChanged ( )
signal

◆ paletteWorkspace() [1/2]

PaletteWorkspace* Ms::PaletteQmlInterface::paletteWorkspace ( )
inline

◆ paletteWorkspace() [2/2]

const PaletteWorkspace* Ms::PaletteQmlInterface::paletteWorkspace ( ) const
inline

◆ paletteWorkspaceChanged

void Ms::PaletteQmlInterface::paletteWorkspaceChanged ( )
signal

◆ requestPaletteSearch()

void Ms::PaletteQmlInterface::requestPaletteSearch ( )
inline

◆ setPaletteBackground()

void Ms::PaletteQmlInterface::setPaletteBackground ( const QColor &  val)

◆ setPalettesEnabled()

void Ms::PaletteQmlInterface::setPalettesEnabled ( bool  val)

◆ setPaletteWorkspace()

void Ms::PaletteQmlInterface::setPaletteWorkspace ( PaletteWorkspace workspace)
inline

Member Data Documentation

◆ _paletteBackground

QColor Ms::PaletteQmlInterface::_paletteBackground
private

◆ _palettesEnabled

bool Ms::PaletteQmlInterface::_palettesEnabled
private

◆ tooltip

QmlNativeToolTip* Ms::PaletteQmlInterface::tooltip
private

◆ w

PaletteWorkspace* Ms::PaletteQmlInterface::w
private

Property Documentation

◆ paletteBackground

QColor Ms::PaletteQmlInterface::paletteBackground
read

◆ palettesEnabled

bool Ms::PaletteQmlInterface::palettesEnabled
read

◆ paletteWorkspace

Ms::PaletteWorkspace Ms::PaletteQmlInterface::paletteWorkspace
readwrite

◆ tooltip

Ms::QmlNativeToolTip Ms::PaletteQmlInterface::tooltip
read

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