Developer Documentation
|
Interface class for providing information on objects. More...
#include <OpenFlipper/BasePlugin/InformationInterface.hh>
Public Slots | |
virtual DataType | supportedDataTypes ()=0 |
Get data type for information requests. More... | |
virtual void | slotInformationRequested (const QPoint _clickedPoint, DataType _type)=0 |
Show information dialog on clicked object. More... | |
Public Member Functions | |
virtual | ~InformationInterface () |
Default destructor. | |
Interface class for providing information on objects.
Definition at line 70 of file InformationInterface.hh.
|
pure virtualslot |
Show information dialog on clicked object.
This slot is called each time the user clicks on an object. The information plugin for a specific type should display the necessary information on all entity types and the clicked object itself.
_clickedPoint | The 2D point in screen coords, which the user has clicked |
_type | Data type to be registered |
Implemented in InfoMeshObjectPlugin, and InfoSkeletonObjectPlugin.
|
pure virtualslot |
Get data type for information requests.
This slot is called by the core in order to identify the data types for which the plugin provides information.
Implemented in InfoMeshObjectPlugin, and InfoSkeletonObjectPlugin.