Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef GRAPHWIDGET_PLUGIN
- #define GRAPHWIDGET_PLUGIN
- #include <QtDesigner/QDesignerCustomWidgetInterface>
- class QtCAgraphPlugin : public QObject, public QDesignerCustomWidgetInterface {
- Q_OBJECT
- Q_INTERFACES(QDesignerCustomWidgetInterface)
- public:
- QtCAgraphPlugin(QObject* parent = 0);
- // Q designer custom widget interface
- bool isContainer() const;
- // bool isInitialized() const;
- QIcon icon() const;
- QString domXml() const;
- QString group() const;
- QString includeFile() const;
- QString name() const;
- QString toolTip() const;
- QString whatsThis() const;
- QWidget *createWidget(QWidget *parent);
- // void initialize(QDesignerFormEditorInterface *core);
- };
- #endif // GRAPHWIDGET_PLUGIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement