new cmake build
git-svn-id: svn://db.shs.com.ru/libs@90 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
21
touch_widgets/plugin/touch_widgets.h
Normal file
21
touch_widgets/plugin/touch_widgets.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef TW_H
|
||||
#define TW_H
|
||||
|
||||
#include <QtDesigner/QtDesigner>
|
||||
#include <QtCore/qplugin.h>
|
||||
|
||||
class TW : public QObject, public QDesignerCustomWidgetCollectionInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
|
||||
|
||||
public:
|
||||
explicit TW(QObject *parent = 0);
|
||||
|
||||
virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
|
||||
|
||||
private:
|
||||
QList<QDesignerCustomWidgetInterface*> m_widgets;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user