Go to the documentation of this file.
17 #ifndef _GZ_GUI_PLUGIN_HH_
18 #define _GZ_GUI_PLUGIN_HH_
40 public:
virtual void Load(sdf::ElementPtr ) {}
48 style()->drawPrimitive(QStyle::PE_Widget, &opt, &p,
this);
56 #define GZ_REGISTER_GUI_PLUGIN(classname) \
57 extern "C" GZ_PLUGIN_VISIBLE gazebo::GUIPlugin *RegisterPlugin(); \
58 gazebo::GUIPlugin *RegisterPlugin() \
60 return new classname();\
A plugin loaded within the gzclient on startup.
Definition: GuiPlugin.hh:26
Forward declarations for the common classes.
Definition: Animation.hh:26
#define NULL
Definition: CommonTypes.hh:31
PluginType type
Type of plugin.
Definition: Plugin.hh:255
virtual void paintEvent(QPaintEvent *)
Definition: GuiPlugin.hh:43
A class which all plugins must inherit from.
Definition: Plugin.hh:75
virtual void Load(sdf::ElementPtr)
Load function.
Definition: GuiPlugin.hh:40
GUIPlugin()
Definition: GuiPlugin.hh:28
@ GUI_PLUGIN
A GUI plugin.
Definition: Plugin.hh:68