53 #ifndef TYPEQTWIDGETPLUGIN_HH
54 #define TYPEQTWIDGETPLUGIN_HH
74 #if QT_VERSION >= 0x050000
75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypeQtWidget")
81 void emptyObjectAdded(
int _id );
86 void noguiSupported( ) {};
95 QString
name() {
return (QString(
"TypeQtWidget")); };
96 QString
description( ) {
return (QString(tr(
"Register QtWidget type"))); };
103 QString version() {
return QString(
"1.0"); };
117 void passMouseEvents(QMouseEvent *_event);
119 std::map<int,QtWidgetObject*> widgets_;
123 #endif //TYPEQTWIDGETPLUGIN_HH
Interface class from which all plugins have to be created.
void slotMouseEvent(QMouseEvent *_event)
Mouse Event from main application ( Picking Mode )
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QString description()
Return a description of what the plugin is doing.
QString name()
Return a name for the plugin.
void objectDeleted(int _id)
An object was deleted.
int addEmpty()
Create an empty object.
Interface for all plugins which want to Load or Save files and create Objects.
Interface class for receiving mouse events.
Interface class for type definitions.