20 #ifndef __AWLPLUGIN_H__ 21 #define __AWLPLUGIN_H__ 23 #include <QtUiPlugin/QDesignerCustomWidgetInterface> 29 class AwlPlugin :
public QDesignerCustomWidgetInterface {
37 QIcon
icon()
const {
return QIcon(); }
40 QString
toolTip()
const {
return QString(); }
41 QString
group()
const {
return "MusE Awl Widgets"; }
59 QString
name()
const {
return "Awl::Knob"; }
60 QWidget* createWidget(QWidget* parent);
73 QString
name()
const {
return "Awl::VolKnob"; }
74 QWidget* createWidget(QWidget* parent);
87 QString
name()
const {
return "Awl::PanKnob"; }
88 QWidget* createWidget(QWidget* parent);
101 QString
name()
const {
return "Awl::MidiPanKnob"; }
102 QWidget* createWidget(QWidget* parent);
115 QString
name()
const {
return "Awl::ColorLabel"; }
116 QWidget* createWidget(QWidget* parent);
129 QString
name()
const {
return "Awl::Slider"; }
130 QWidget* createWidget(QWidget* parent);
143 QString
name()
const {
return "Awl::VolSlider"; }
144 QWidget* createWidget(QWidget* parent);
157 QString
name()
const {
return "Awl::MeterSlider"; }
158 QWidget* createWidget(QWidget* parent);
171 QString
name()
const {
return "Awl::DenominatorSpinBox"; }
172 QWidget* createWidget(QWidget* parent);
185 QString
name()
const {
return "Awl::PitchLabel"; }
186 QWidget* createWidget(QWidget* parent);
199 QString
name()
const {
return "Awl::PitchEdit"; }
200 QWidget* createWidget(QWidget* parent);
207 class AwlPlugins :
public QObject,
public QDesignerCustomWidgetCollectionInterface {
209 Q_PLUGIN_METADATA(IID
"org.qt-project.Qt.QDesignerCustomWidgetCollectionInterface")
213 QList<QDesignerCustomWidgetInterface*> customWidgets()
const;
Definition: awlplugin.h:95
Definition: awlplugin.h:81
Definition: awlplugin.h:29
Definition: awlplugin.h:67
QString includeFile() const
Definition: awlplugin.h:100
QString includeFile() const
Definition: awlplugin.h:58
VolSliderPlugin(QObject *parent=0)
Definition: awlplugin.h:141
QString includeFile() const
Definition: awlplugin.h:198
QIcon icon() const
Definition: awlplugin.h:37
KnobPlugin(QObject *parent=0)
Definition: awlplugin.h:57
AwlPlugin()
Definition: awlplugin.h:34
VolKnobPlugin(QObject *parent=0)
Definition: awlplugin.h:71
bool isInitialized() const
Definition: awlplugin.h:36
PitchEditPlugin(QObject *parent=0)
Definition: awlplugin.h:197
QString name() const
Definition: awlplugin.h:185
virtual QString codeTemplate() const
Definition: awlplugin.h:38
Definition: awlplugin.h:207
QString includeFile() const
Definition: awlplugin.h:72
Definition: awlplugin.h:165
bool isContainer() const
Definition: awlplugin.h:35
PitchLabelPlugin(QObject *parent=0)
Definition: awlplugin.h:183
Q_INTERFACES(QDesignerCustomWidgetInterface) bool m_initialized
ColorLabelPlugin(QObject *parent=0)
Definition: awlplugin.h:113
QString includeFile() const
Definition: awlplugin.h:114
QString includeFile() const
Definition: awlplugin.h:128
QString name() const
Definition: awlplugin.h:101
Definition: awlplugin.h:179
Definition: awlplugin.h:109
QString includeFile() const
Definition: awlplugin.h:184
Definition: awlplugin.h:193
QString includeFile() const
Definition: awlplugin.h:142
void initialize(QDesignerFormEditorInterface *)
Definition: awlplugin.h:42
MeterSliderPlugin(QObject *parent=0)
Definition: awlplugin.h:155
QString includeFile() const
Definition: awlplugin.h:86
Definition: awlplugin.h:123
QString whatsThis() const
Definition: awlplugin.h:39
QString name() const
Definition: awlplugin.h:143
QString name() const
Definition: awlplugin.h:59
QString name() const
Definition: awlplugin.h:73
QString toolTip() const
Definition: awlplugin.h:40
DenominatorSpinBoxPlugin(QObject *parent=0)
Definition: awlplugin.h:169
Definition: awlplugin.h:53
QString name() const
Definition: awlplugin.h:87
SliderPlugin(QObject *parent=0)
Definition: awlplugin.h:127
QString name() const
Definition: awlplugin.h:115
QString group() const
Definition: awlplugin.h:41
QString name() const
Definition: awlplugin.h:157
QString includeFile() const
Definition: awlplugin.h:156
Definition: awlplugin.h:137
MidiPanKnobPlugin(QObject *parent=0)
Definition: awlplugin.h:99
Definition: awlplugin.h:151
QString name() const
Definition: awlplugin.h:129
QString includeFile() const
Definition: awlplugin.h:170
QString name() const
Definition: awlplugin.h:199
PanKnobPlugin(QObject *parent=0)
Definition: awlplugin.h:85
QString name() const
Definition: awlplugin.h:171