git-svn-id: svn://db.shs.com.ru/libs@90 a8b55f48-bf90-11e4-a774-851b48703e85
31 lines
716 B
C++
31 lines
716 B
C++
#ifndef TOUCHBUTTFRAMEPLUGIN_H
|
|
#define TOUCHBUTTFRAMEPLUGIN_H
|
|
|
|
#include <QDesignerCustomWidgetInterface>
|
|
|
|
class TouchButtFramePlugin : public QObject, public QDesignerCustomWidgetInterface
|
|
{
|
|
Q_OBJECT
|
|
Q_INTERFACES(QDesignerCustomWidgetInterface)
|
|
|
|
public:
|
|
TouchButtFramePlugin(QObject *parent = 0);
|
|
|
|
bool isContainer() const;
|
|
bool isInitialized() const;
|
|
QIcon icon() const;
|
|
QString domXml() const;
|
|
QString group() const;
|
|
QString includeFile() const;
|
|
QString name() const;
|
|
QString toolTip() const;
|
|
QString whatsThis() const;
|
|
QWidget *createWidget(QWidget *parent);
|
|
void initialize(QDesignerFormEditorInterface *core);
|
|
|
|
private:
|
|
bool m_initialized;
|
|
};
|
|
|
|
#endif
|