git-svn-id: svn://db.shs.com.ru/libs@468 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
21
qad/touch_widgets/plugin/qad_touch_widgets.cpp
Normal file
21
qad/touch_widgets/plugin/qad_touch_widgets.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "qad_touch_widgets.h"
|
||||
#include "touchsliderplugin.h"
|
||||
#include "touchbuttframeplugin.h"
|
||||
#include "touchbuttonplugin.h"
|
||||
|
||||
|
||||
QADTouchWidgets::QADTouchWidgets(QObject * parent): QObject(parent) {
|
||||
m_widgets.append(new TouchSliderPlugin(this));
|
||||
m_widgets.append(new TouchButtFramePlugin(this));
|
||||
m_widgets.append(new TouchButtonPlugin(this));
|
||||
}
|
||||
|
||||
|
||||
QList<QDesignerCustomWidgetInterface*> QADTouchWidgets::customWidgets() const {
|
||||
return m_widgets;
|
||||
}
|
||||
|
||||
|
||||
#if QT_VERSION < 0x050000
|
||||
Q_EXPORT_PLUGIN2(qad_touch_widgets_plugin, QADTouchWidgets)
|
||||
#endif
|
||||
Reference in New Issue
Block a user