An abstract interface for probe tools. More...
#include <toolfactory.h>
Public Member Functions | |
virtual QWidget * | createWidget (ProbeInterface *probe, QWidget *parentWidget)=0 |
virtual QString | id () const =0 |
virtual void | init (ProbeInterface *probe)=0 |
virtual QString | name () const =0 |
virtual QStringList | supportedTypes () const =0 |
An abstract interface for probe tools.
The ToolFactory class is an abstract base class for creating probe tools for GammaRay. Each tool must have a unique identifier.
|
pure virtual |
Create the UI part of this tool.
probe | The probe interface allowing access to the object models. |
parentWidget | The parent widget for the visual elements of this tool. |
Implemented in GammaRay::StandardToolFactory< Type, Tool >.
|
pure virtual |
Unique id of this tool
Implemented in GammaRay::StandardToolFactory< Type, Tool >.
|
pure virtual |
Initialize the tool. Implement this method to do non-GUI initialization, such as creating object tracking models etc.
probe | The probe interface allowing access to the object models. |
Implemented in GammaRay::StandardToolFactory< Type, Tool >.
|
pure virtual |
Human readable name of this tool.
|
pure virtual |
Class names of types this tool can handle. The tool will only be activated if an object of one of these types is seen in the probed application.
Implemented in GammaRay::StandardToolFactory< Type, Tool >.