QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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
30class RCommandLinePlugin: public QObject, public QDesignerCustomWidgetInterface {
31
32 Q_OBJECT
33 Q_INTERFACES(QDesignerCustomWidgetInterface)
34
35public:
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
50private:
52};
53
54#endif
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RCommandLinePlugin.h:30
QWidget * createWidget(QWidget *parent)
Definition RCommandLinePlugin.cpp:38
QString whatsThis() const
Definition RCommandLinePlugin.cpp:58
QString group() const
Definition RCommandLinePlugin.cpp:46
QString toolTip() const
Definition RCommandLinePlugin.cpp:54
void initialize(QDesignerFormEditorInterface *core)
Definition RCommandLinePlugin.cpp:27
QIcon icon() const
Definition RCommandLinePlugin.cpp:50
bool initialized
Definition RCommandLinePlugin.h:51
bool isInitialized() const
Definition RCommandLinePlugin.cpp:34
QString name() const
Definition RCommandLinePlugin.cpp:42
QString includeFile() const
Definition RCommandLinePlugin.cpp:73
RCommandLinePlugin(QObject *parent=0)
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RCommandLinePlugin.cpp:22
bool isContainer() const
Definition RCommandLinePlugin.cpp:62
QString domXml() const
Definition RCommandLinePlugin.cpp:66