47 #ifndef TYPEQTWIDGETPLUGIN_HH 48 #define TYPEQTWIDGETPLUGIN_HH 68 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypeQtWidget")
73 void emptyObjectAdded(
int _id );
78 void noguiSupported( ) {};
87 QString
name() {
return (QString(
"TypeQtWidget")); };
88 QString
description( ) {
return (QString(tr(
"Register QtWidget type"))); };
95 QString version() {
return QString(
"1.0"); };
109 void passMouseEvents(QMouseEvent *_event);
111 std::map<int,QtWidgetObject*> widgets_;
115 #endif //TYPEQTWIDGETPLUGIN_HH 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.
int addEmpty()
Create an empty object.
Interface class for type definitions.
Interface class for receiving mouse events.
void objectDeleted(int _id)
An object was deleted.
QString name()
Return a name for the plugin.
void slotMouseEvent(QMouseEvent *_event)
Mouse Event from main application ( Picking Mode )
Interface class from which all plugins have to be created.
QString description()
Return a description of what the plugin is doing.