QCAD
Open Source 2D CAD
RFontChooserWidgetPlugin.h
Go to the documentation of this file.
1 
20 #ifndef RFONTCHOOSERWIDGET_H_
21 #define RFONTCHOOSERWIDGET_H_
22 
23 #include <QDesignerCustomWidgetInterface>
24 
25 class RFontChooserWidgetPlugin: public QObject, public QDesignerCustomWidgetInterface {
26 
27  Q_OBJECT
28  Q_INTERFACES(QDesignerCustomWidgetInterface)
29 
30 public:
31  RFontChooserWidgetPlugin(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 group() const
Definition: RFontChooserWidgetPlugin.cpp:49
QIcon icon() const
Definition: RFontChooserWidgetPlugin.cpp:53
RFontChooserWidgetPlugin(QObject *parent=0)
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RFontChooserWidgetPlugin.cpp:25
QString name() const
Definition: RFontChooserWidgetPlugin.cpp:45
bool isContainer() const
Definition: RFontChooserWidgetPlugin.cpp:65
bool initialized
Definition: RFontChooserWidgetPlugin.h:46
bool isInitialized() const
Definition: RFontChooserWidgetPlugin.cpp:37
QWidget * createWidget(QWidget *parent)
Definition: RFontChooserWidgetPlugin.cpp:41
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RFontChooserWidgetPlugin.h:25
QString domXml() const
Definition: RFontChooserWidgetPlugin.cpp:69
QString whatsThis() const
Definition: RFontChooserWidgetPlugin.cpp:61
QString toolTip() const
Definition: RFontChooserWidgetPlugin.cpp:57
void initialize(QDesignerFormEditorInterface *core)
Definition: RFontChooserWidgetPlugin.cpp:30
QString includeFile() const
Definition: RFontChooserWidgetPlugin.cpp:80