Advertisement
Guest User

mon_widget_plugin.hpp

a guest
Jun 24th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. #ifndef MONWIDGET_PLUGIN
  2. #define MONWIDGET_PLUGIN
  3.  
  4. #include <QtDesigner/QDesignerCustomWidgetInterface>
  5.  
  6. class QtCAmon_plugin : public QObject, public QDesignerCustomWidgetInterface {
  7. Q_OBJECT
  8. Q_INTERFACES(QDesignerCustomWidgetInterface)
  9.  
  10. public:
  11. QtCAmon_plugin(QObject* parent = 0);
  12.  
  13. // Q designer custom widget interface
  14. bool isContainer() const;
  15. // bool isInitialized() const;
  16. QIcon icon() const;
  17. QString domXml() const;
  18. QString group() const;
  19. QString includeFile() const;
  20. QString name() const;
  21. QString toolTip() const;
  22. QString whatsThis() const;
  23. QWidget *createWidget(QWidget *parent);
  24. // void initialize(QDesignerFormEditorInterface *core);
  25.  
  26. };
  27.  
  28. #endif // MONWIDGET_PLUGIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement