QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RFontChooserWidgetPlugin.h
Go to the documentation of this file.
1
20#ifndef RFONTCHOOSERWIDGET_H_
21#define RFONTCHOOSERWIDGET_H_
22
23#include <qglobal.h>
24#if QT_VERSION >= 0x050400
25#include <QtUiPlugin/QDesignerCustomWidgetInterface>
26#else
27#include <QDesignerCustomWidgetInterface>
28#endif
29
30class RFontChooserWidgetPlugin: public QObject, public QDesignerCustomWidgetInterface {
31
32 Q_OBJECT
33 Q_INTERFACES(QDesignerCustomWidgetInterface)
34
35public:
36 RFontChooserWidgetPlugin(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 RFontChooserWidgetPlugin.h:30
bool isContainer() const
Definition RFontChooserWidgetPlugin.cpp:62
QString name() const
Definition RFontChooserWidgetPlugin.cpp:42
QIcon icon() const
Definition RFontChooserWidgetPlugin.cpp:50
QString includeFile() const
Definition RFontChooserWidgetPlugin.cpp:77
bool isInitialized() const
Definition RFontChooserWidgetPlugin.cpp:34
QWidget * createWidget(QWidget *parent)
Definition RFontChooserWidgetPlugin.cpp:38
QString whatsThis() const
Definition RFontChooserWidgetPlugin.cpp:58
QString toolTip() const
Definition RFontChooserWidgetPlugin.cpp:54
bool initialized
Definition RFontChooserWidgetPlugin.h:51
RFontChooserWidgetPlugin(QObject *parent=0)
Copyright (c) 2011-2018 by Andrew Mustun.
Definition RFontChooserWidgetPlugin.cpp:22
void initialize(QDesignerFormEditorInterface *core)
Definition RFontChooserWidgetPlugin.cpp:27
QString domXml() const
Definition RFontChooserWidgetPlugin.cpp:66
QString group() const
Definition RFontChooserWidgetPlugin.cpp:46