QCAD
Open Source 2D CAD
RColorComboPlugin.h
Go to the documentation of this file.
1 
20 #ifndef RCOLORCOMBOPLUGIN_H_
21 #define RCOLORCOMBOPLUGIN_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 RColorComboPlugin: public QObject, public QDesignerCustomWidgetInterface {
31 
32  Q_OBJECT
33  Q_INTERFACES(QDesignerCustomWidgetInterface)
34 
35 public:
36  RColorComboPlugin(QObject *parent = 0);
37 
38  bool isContainer() const;
39  bool isInitialized() const;
40  QIcon icon() const;
41  QString domXml() const;
42  QString group() const;
43  QString includeFile() const;
44  QString name() const;
45  QString toolTip() const;
46  QString whatsThis() const;
47  QWidget *createWidget(QWidget *parent);
48  void initialize(QDesignerFormEditorInterface *core);
49 
50 private:
52 };
53 
54 #endif
bool isInitialized() const
Definition: RColorComboPlugin.cpp:37
QString toolTip() const
Definition: RColorComboPlugin.cpp:57
QString domXml() const
Definition: RColorComboPlugin.cpp:69
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RColorComboPlugin.h:30
bool isContainer() const
Definition: RColorComboPlugin.cpp:65
void initialize(QDesignerFormEditorInterface *core)
Definition: RColorComboPlugin.cpp:30
QString group() const
Definition: RColorComboPlugin.cpp:49
QIcon icon() const
Definition: RColorComboPlugin.cpp:53
QString includeFile() const
Definition: RColorComboPlugin.cpp:89
QWidget * createWidget(QWidget *parent)
Definition: RColorComboPlugin.cpp:41
QString name() const
Definition: RColorComboPlugin.cpp:45
RColorComboPlugin(QObject *parent=0)
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RColorComboPlugin.cpp:25
QString whatsThis() const
Definition: RColorComboPlugin.cpp:61
bool initialized
Definition: RColorComboPlugin.h:51