20 #ifndef __PALETTEWIDGET_H__ 21 #define __PALETTEWIDGET_H__ 27 class PaletteWorkspace;
28 class QmlNativeToolTip;
74 Q_INVOKABLE Qt::KeyboardModifiers
keyboardModifiers()
const {
return QGuiApplication::keyboardModifiers(); }
85 QAction* singlePaletteAction =
nullptr;
88 bool wasShown =
false;
90 static void registerQmlTypes();
96 void setSinglePalette(
bool);
102 void activateSearchBox();
103 void applyCurrentPaletteElement();
106 void showEvent(QShowEvent* event)
override;
107 void changeEvent(QEvent* evt)
override;
Definition: paletteworkspace.h:167
PaletteQmlInterface(PaletteWorkspace *workspace, QmlNativeToolTip *t, bool enabled, QObject *parent=nullptr)
Definition: palettewidget.cpp:36
Definition: palettewidget.h:34
void setPaletteBackground(const QColor &val)
Definition: palettewidget.cpp:46
PaletteWorkspace * paletteWorkspace()
Definition: palettewidget.h:60
void notifyElementDraggedToScoreView()
Definition: palettewidget.h:70
void elementDraggedToScoreView()
bool _palettesEnabled
Definition: palettewidget.h:46
void setPalettesEnabled(bool val)
Definition: palettewidget.cpp:58
QColor _paletteBackground
Definition: palettewidget.h:45
void palettesEnabledChanged()
Q_INVOKABLE Qt::KeyboardModifiers keyboardModifiers() const
Definition: palettewidget.h:74
const PaletteWorkspace * paletteWorkspace() const
Definition: palettewidget.h:61
Definition: aeolus.cpp:26
void paletteSearchRequested()
QColor paletteBackground() const
Definition: palettewidget.h:64
void paletteBackgroundChanged()
void paletteWorkspaceChanged()
void setPaletteWorkspace(PaletteWorkspace *workspace)
Definition: palettewidget.h:62
Ms::QmlNativeToolTip tooltip
Definition: palettewidget.h:40
bool palettesEnabled() const
Definition: palettewidget.h:67
QmlNativeToolTip * getTooltip()
Definition: palettewidget.h:48
PaletteWorkspace * w
Definition: palettewidget.h:43
void requestPaletteSearch()
Definition: palettewidget.h:72