00001
00002
00003
00004 #ifndef CUSTOMWIDGETPLUGIN_H
00005 #define CUSTOMWIDGETPLUGIN_H
00006 #include <QDesignerCustomWidgetInterface>
00007
00019 class videoDisplayPlugin : public QObject, public QDesignerCustomWidgetInterface
00020 {
00021 Q_OBJECT
00022 Q_INTERFACES(QDesignerCustomWidgetInterface)
00023
00024 public:
00029 videoDisplayPlugin(QObject *parent = 0);
00030
00031 bool isContainer() const;
00032 bool isInitialized() const;
00033 QIcon icon() const;
00034 QString domXml() const;
00035 QString group() const;
00036 QString includeFile() const;
00037 QString name() const;
00038 QString toolTip() const;
00039 QString whatsThis() const;
00040 QWidget *createWidget(QWidget *parent);
00041 void initialize(QDesignerFormEditorInterface *core);
00042
00043 private:
00044 bool initialized;
00045 };
00046
00047 #endif
00048
00049