LibEngsas
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
designerplugin
epushbuttondesignerplugin.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2010 - 2012 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Lesser General Public
6
License as published by the Free Software Foundation; either
7
version 2.1 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public
15
License along with this library; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17
MA 02110-1301 USA.
18
*/
19
20
#ifndef EPUSHBUTTONDESIGNERPLUGIN_H
21
#define EPUSHBUTTONDESIGNERPLUGIN_H
22
23
#include <QObject>
24
#include <QDesignerCustomWidgetInterface>
25
29
class
EPushButtonDesignerPlugin
:
public
QObject,
public
QDesignerCustomWidgetInterface
30
{
31
Q_OBJECT
32
Q_INTERFACES(QDesignerCustomWidgetInterface)
33
public
:
34
EPushButtonDesignerPlugin
(QObject *parent = 0);
35
36
QString
name
()
const
;
37
QString
group
()
const
;
38
QString
toolTip
()
const
;
39
QString
whatsThis
()
const
;
40
QString
includeFile
()
const
;
41
QIcon
icon
()
const
;
42
bool
isContainer
()
const
;
43
QWidget *
createWidget
(QWidget *parent);
44
QString
domXml
()
const
;
45
// codeTemplate() const;
46
void
initialize
(QDesignerFormEditorInterface *core);
47
bool
isInitialized
()
const
;
48
49
private
:
50
bool
initialized
;
51
};
52
53
#endif // EPUSHBUTTONDESIGNERPLUGIN_H
Generated by
1.8.1.2