13 #ifndef __INSPECTORPLUGIN_H__ 14 #define __INSPECTORPLUGIN_H__ 16 #include <QtUiPlugin/QDesignerCustomWidgetInterface> 27 bool isThemeDark()
const;
36 Q_INTERFACES(QDesignerCustomWidgetInterface)
43 QIcon
icon()
const {
return QIcon(); }
46 QString
toolTip()
const {
return QString(); }
47 QString
group()
const {
return "MuseScore Inspector Widgets"; }
48 void initialize(QDesignerFormEditorInterface *);
60 QString
includeFile()
const {
return QString(
"inspector/fontStyleSelect.h"); }
61 QString
name()
const {
return "Ms::FontStyleSelect"; }
62 QWidget* createWidget(QWidget* parent);
74 QString
includeFile()
const {
return QString(
"inspector/resetButton.h"); }
75 QString
name()
const {
return "Ms::ResetButton"; }
76 QWidget* createWidget(QWidget* parent);
83 class InspectorPlugins :
public QObject,
public QDesignerCustomWidgetCollectionInterface {
85 Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface")
86 Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
90 QList<QDesignerCustomWidgetInterface*> customWidgets()
const;
Definition: inspectorplugin.h:55
bool isInitialized() const
Definition: inspectorplugin.h:42
QIcon icon() const
Definition: inspectorplugin.h:43
bool isContainer() const
Definition: inspectorplugin.h:41
QString includeFile() const
Definition: inspectorplugin.h:60
int getInt(int byte, int bits)
Definition: ove.cpp:5182
QString toolTip() const
Definition: inspectorplugin.h:46
Definition: inspectorplugin.h:83
FontStyleSelectPlugin(QObject *parent=0)
Definition: inspectorplugin.h:59
#define VOICES
Definition: mscore.h:72
static void init()
Definition: mscore.cpp:235
QString name() const
Definition: inspectorplugin.h:61
QString group() const
Definition: inspectorplugin.h:47
Definition: aeolus.cpp:26
QString whatsThis() const
Definition: inspectorplugin.h:45
virtual QString codeTemplate() const
Definition: inspectorplugin.h:44
static QColor selectColor[VOICES]
Definition: mscore.h:327
Definition: inspectorplugin.h:35
Definition: inspectorplugin.h:25
InspectorPlugin()
Definition: inspectorplugin.h:40