home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / designer / sctablewidgetplugin.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-07-24  |  1.1 KB  |  44 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SCTABLEWIDGETPLUGIN_H
  8. #define SCTABLEWIDGETPLUGIN_H
  9.  
  10. #include <QDesignerContainerExtension>
  11. #include <QDesignerCustomWidgetInterface>
  12.  
  13.  
  14. class QDesignerFormEditorInterface;
  15.  
  16.  
  17. /*! \brief A ScTableWidget plugin for Qt designer
  18. \author Craig Bradney <cbradney@scribus.info>
  19. */
  20. class ScTableWidgetPlugin : public QObject, public QDesignerCustomWidgetInterface
  21. {
  22.     Q_OBJECT
  23.     Q_INTERFACES(QDesignerCustomWidgetInterface)
  24. public:
  25.     ScTableWidgetPlugin(QObject* = 0);
  26.     bool isContainer() const;
  27.     bool isInitialized() const;
  28.     QIcon icon() const;
  29.     QString codeTemplate() const;
  30.     QString domXml() const;
  31.     QString group() const;
  32.     QString includeFile() const;
  33.     QString name() const;
  34.     QString toolTip() const;
  35.     QString whatsThis() const;
  36.     QWidget* createWidget(QWidget*);
  37.     void initialize(QDesignerFormEditorInterface*);
  38. private:
  39.     bool initialized;
  40. };
  41.  
  42. #endif
  43.  
  44.