MyWidget
Main Page
Classes
Files
File List
File Members
src
MyWidgetPlugin.h
Go to the documentation of this file.
1
#ifndef MYWIDGETPLUGIN_H
2
#define MYWIDGETPLUGIN_H
3
4
#include <QtGui>
5
#include <QtDesigner/QDesignerCustomWidgetInterface>
6
7
class
MyWidgetPlugin
:
public
QObject,
public
QDesignerCustomWidgetInterface
8
{
9
Q_OBJECT
10
Q_INTERFACES(QDesignerCustomWidgetInterface)
11
12
public
:
13
MyWidgetPlugin
(QObject *parent = 0);
14
virtual
~MyWidgetPlugin
();
15
16
bool
isContainer
()
const
;
17
bool
isInitialized
()
const
;
18
QIcon
icon
()
const
;
19
QString
domXml
()
const
;
20
QString
group
()
const
;
21
QString
includeFile
()
const
;
22
QString
name
()
const
;
23
QString
toolTip
()
const
;
24
QString
whatsThis
()
const
;
25
QWidget*
createWidget
(QWidget *parent);
26
void
initialize
(QDesignerFormEditorInterface *core);
27
28
private
:
29
bool
initialized;
30
};
31
32
#endif
/* MYWIDGETPLUGIN_H */
Generated on Mon May 20 2013 04:17:19 for MyWidget by
1.8.1.2