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 <qglobal.h>
24 #if QT_VERSION >= 0x050400
25 #include <QtUiPlugin/QDesignerCustomWidgetInterface>
26 #else
27 #include <QDesignerCustomWidgetInterface>
28 #endif
29 
30 class RCharacterWidgetPlugin: public QObject,
31  public QDesignerCustomWidgetInterface {
32 
33  Q_OBJECT
34  Q_INTERFACES(QDesignerCustomWidgetInterface)
35 
36 public:
37  RCharacterWidgetPlugin(QObject *parent = 0);
38 
39  bool isContainer() const;
40  bool isInitialized() const;
41  QIcon icon() const;
42  QString domXml() const;
43  QString group() const;
44  QString includeFile() const;
45  QString name() const;
46  QString toolTip() const;
47  QString whatsThis() const;
48  QWidget *createWidget(QWidget *parent);
49  void initialize(QDesignerFormEditorInterface *core);
50 
51 private:
53 };
54 
55 #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-2017 by Andrew Mustun.
Definition: RCharacterWidgetPlugin.cpp:24
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RCharacterWidgetPlugin.h:30
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:52