1
#ifndef MOLECULEWIDGETPLUGIN_H
2
#define MOLECULEWIDGETPLUGIN_H
3
/***************************************************************************
4
* Copyright (C) 2007 by Carsten Niehaus *
7
* This program is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 2 of the License, or *
10
* (at your option) any later version. *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
17
* You should have received a copy of the GNU General Public License *
18
* along with this program; if not, write to the *
19
* Free Software Foundation, Inc., *
20
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
21
***************************************************************************/
22
#include <QDesignerCustomWidgetInterface>
24
class MoleculeWidgetPlugin : public QObject,
25
public QDesignerCustomWidgetInterface
28
Q_INTERFACES( QDesignerCustomWidgetInterface )
31
MoleculeWidgetPlugin( QObject *parent = 0 );
33
bool isContainer() const;
34
bool isInitialized() const;
36
QString domXml() const;
37
QString group() const;
38
QString includeFile() const;
40
QString toolTip() const;
41
QString whatsThis() const;
42
QWidget *createWidget( QWidget *parent );
43
void initialize( QDesignerFormEditorInterface *core );
48
#endif // MOLECULEWIDGETPLUGIN_H