rock_widget_collection  0.1
ProgressIndicatorPlugin.h
Go to the documentation of this file.
1 #ifndef PROGRESSINDICATORPLUGIN_H
2 #define PROGRESSINDICATORPLUGIN_H
3 
4 #include <QtGui>
5 #include <QtDesigner/QDesignerCustomWidgetInterface>
6 
7 class ProgressIndicatorPlugin : public QObject, public QDesignerCustomWidgetInterface
8 {
9  Q_OBJECT
10  Q_INTERFACES(QDesignerCustomWidgetInterface)
11 
12 public:
13  ProgressIndicatorPlugin(QObject *parent = 0);
14  virtual ~ProgressIndicatorPlugin();
15 
16  bool isContainer() const;
17  bool isInitialized() const;
18  QIcon icon() const;
19  QString domXml() const;
20  QString group() const;
21  QString includeFile() const;
22  QString name() const;
23  QString toolTip() const;
24  QString whatsThis() const;
25  QWidget* createWidget(QWidget *parent);
26  void initialize(QDesignerFormEditorInterface *core);
27 
28 private:
29  bool initialized;
30 };
31 
32 #endif /* PROGRESSINDICATORPLUGIN_H */
ProgressIndicatorPlugin(QObject *parent=0)
void initialize(QDesignerFormEditorInterface *core)
QWidget * createWidget(QWidget *parent)