23 #ifndef PENCREATORBUTTONFACTORY_H 24 #define PENCREATORBUTTONFACTORY_H 27 #if QT_VERSION < 0x050500 //hex-code must be used since Qt4 moc process does not understand QT_VERSION_CHECK(5,5,0) 28 #include <QtDesigner/QDesignerCustomWidgetInterface> 30 #include <QtUiPlugin/QDesignerCustomWidgetInterface> 36 Q_INTERFACES(QDesignerCustomWidgetInterface)
41 bool isContainer()
const;
42 bool isInitialized()
const {
return initialized; }
44 QString domXml()
const;
45 QString group()
const;
46 QString includeFile()
const;
48 QString toolTip()
const;
49 QString whatsThis()
const;
50 QWidget *createWidget(QWidget *parent);
51 void initialize(QDesignerFormEditorInterface *core);