QCAD
Open Source 2D CAD
RCharacterWidgetPlugin.h
Go to the documentation of this file.
1 
20 #ifndef RCHARACTERWIDGETPLUGIN_H_
21 #define RCHARACTERWIDGETPLUGIN_H_
22 
23 #include <QDesignerCustomWidgetInterface>
24 
25 class RCharacterWidgetPlugin: public QObject,
26  public QDesignerCustomWidgetInterface {
27 
28  Q_OBJECT
29  Q_INTERFACES(QDesignerCustomWidgetInterface)
30 
31 public:
32  RCharacterWidgetPlugin(QObject *parent = 0);
33 
34  bool isContainer() const;
35  bool isInitialized() const;
36  QIcon icon() const;
37  QString domXml() const;
38  QString group() const;
39  QString includeFile() const;
40  QString name() const;
41  QString toolTip() const;
42  QString whatsThis() const;
43  QWidget *createWidget(QWidget *parent);
44  void initialize(QDesignerFormEditorInterface *core);
45 
46 private:
48 };
49 
50 #endif
QString group() const
Definition: RCharacterWidgetPlugin.cpp:48
QString domXml() const
Definition: RCharacterWidgetPlugin.cpp:68
QString whatsThis() const
Definition: RCharacterWidgetPlugin.cpp:60
void initialize(QDesignerFormEditorInterface *core)
Definition: RCharacterWidgetPlugin.cpp:29
QString name() const
Definition: RCharacterWidgetPlugin.cpp:44
RCharacterWidgetPlugin(QObject *parent=0)
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RCharacterWidgetPlugin.cpp:24
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RCharacterWidgetPlugin.h:25
QString includeFile() const
Definition: RCharacterWidgetPlugin.cpp:75
QString toolTip() const
Definition: RCharacterWidgetPlugin.cpp:56
QWidget * createWidget(QWidget *parent)
Definition: RCharacterWidgetPlugin.cpp:40
QIcon icon() const
Definition: RCharacterWidgetPlugin.cpp:52
bool isInitialized() const
Definition: RCharacterWidgetPlugin.cpp:36
bool isContainer() const
Definition: RCharacterWidgetPlugin.cpp:64
bool initialized
Definition: RCharacterWidgetPlugin.h:47