Public Slots | Public Member Functions

InformationInterface Class Reference

Interface class for providing information on objects. More...

#include <OpenFlipper/BasePlugin/InformationInterface.hh>

Inheritance diagram for InformationInterface:
Inheritance graph
[legend]

List of all members.

Public Slots

virtual DataType supportedDataTypes ()=0
 Get data type for information requests.
virtual void slotInformationRequested (const QPoint _clickedPoint, DataType _type)=0
 Show information dialog on clicked object.

Public Member Functions

virtual ~InformationInterface ()
 Default destructor.

Detailed Description

Interface class for providing information on objects.


Detailed description

Definition at line 63 of file InformationInterface.hh.


Member Function Documentation

virtual void InformationInterface::slotInformationRequested ( const QPoint  _clickedPoint,
DataType  _type 
) [pure virtual, slot]

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.

Parameters:
_clickedPoint The 2D point in screen coords, which the user has clicked
_type Data type to be registered

Referenced by Core::slotMouseEventIdentify().

virtual DataType InformationInterface::supportedDataTypes (  )  [pure virtual, slot]

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.

Returns:
The supported data types (OR'ed in case of multiple types)

Referenced by Core::loadPlugin().


The documentation for this class was generated from the following file: