QCAD
Open Source 2D CAD
RCommandLinePlugin.h
Go to the documentation of this file.
1 
20 #ifndef RCOMMANDLINEPLUGIN_H_
21 #define RCOMMANDLINEPLUGIN_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 RCommandLinePlugin: public QObject, public QDesignerCustomWidgetInterface {
31 
32  Q_OBJECT
33  Q_INTERFACES(QDesignerCustomWidgetInterface)
34 
35 public:
36  RCommandLinePlugin(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
QString name() const
Definition: RCommandLinePlugin.cpp:44
QString whatsThis() const
Definition: RCommandLinePlugin.cpp:60
bool initialized
Definition: RCommandLinePlugin.h:51
QIcon icon() const
Definition: RCommandLinePlugin.cpp:52
bool isInitialized() const
Definition: RCommandLinePlugin.cpp:36
QString includeFile() const
Definition: RCommandLinePlugin.cpp:75
QString domXml() const
Definition: RCommandLinePlugin.cpp:68
QWidget * createWidget(QWidget *parent)
Definition: RCommandLinePlugin.cpp:40
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RCommandLinePlugin.h:30
QString group() const
Definition: RCommandLinePlugin.cpp:48
RCommandLinePlugin(QObject *parent=0)
Copyright (c) 2011-2017 by Andrew Mustun.
Definition: RCommandLinePlugin.cpp:24
void initialize(QDesignerFormEditorInterface *core)
Definition: RCommandLinePlugin.cpp:29
QString toolTip() const
Definition: RCommandLinePlugin.cpp:56
bool isContainer() const
Definition: RCommandLinePlugin.cpp:64