2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
7
#ifndef SMSHADEBUTTONPLUGIN_H
8
#define SMSHADEBUTTONPLUGIN_H
10
#include <QDesignerContainerExtension>
11
#include <QDesignerCustomWidgetInterface>
14
class QDesignerFormEditorInterface;
17
/*! \brief A SMShadeButton plugin for Qt designer
18
\author Petr Vanek <petr@scribus.info>
20
class SMShadeButtonPlugin : public QObject, public QDesignerCustomWidgetInterface
23
Q_INTERFACES(QDesignerCustomWidgetInterface)
25
SMShadeButtonPlugin(QObject* = 0);
26
bool isContainer() const;
27
bool isInitialized() const;
29
QString codeTemplate() const;
30
QString domXml() const;
31
QString group() const;
32
QString includeFile() const;
34
QString toolTip() const;
35
QString whatsThis() const;
36
QWidget* createWidget(QWidget*);
37
void initialize(QDesignerFormEditorInterface*);