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 for receiving mouse events.
int addEmpty()
Create an empty object.
Interface class for type definitions.
QString name()
Return a name for the plugin.
Interface class from which all plugins have to be created.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
Interface for all plugins which want to Load or Save files and create Objects.
void slotMouseEvent(QMouseEvent *_event)
Mouse Event from main application ( Picking Mode )
void objectDeleted(int _id)
An object was deleted.
QString description()
Return a description of what the plugin is doing.