daily pastebin goal
2%
SHARE
TWEET

qtcagraphplugin.hpp

a guest Jun 24th, 2011 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef GRAPHWIDGET_PLUGIN
  2. #define GRAPHWIDGET_PLUGIN
  3.  
  4. #include <QtDesigner/QDesignerCustomWidgetInterface>
  5.  
  6. class QtCAgraphPlugin : public QObject, public QDesignerCustomWidgetInterface {
  7.     Q_OBJECT
  8.     Q_INTERFACES(QDesignerCustomWidgetInterface)
  9.  
  10. public:
  11.     QtCAgraphPlugin(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 // GRAPHWIDGET_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