daily pastebin goal
30%
SHARE
TWEET

mon_widget_plugin.hpp

a guest Jun 24th, 2011 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top