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