A templated generic ToolFactory for some data type and Tool.
More...
#include <toolfactory.h>
|
virtual QWidget * | createWidget (QWidget *parentWidget) |
|
virtual QString | id () const |
|
virtual void | init (ProbeInterface *probe) |
|
bool | isHidden () const |
|
virtual bool | remotingSupported () const |
|
virtual QStringList | supportedTypes () const |
|
virtual QString | name () const =0 |
|
template<typename Type, typename Tool, typename ToolUi>
class GammaRay::StandardToolFactory2< Type, Tool, ToolUi >
A templated generic ToolFactory for some data type and Tool.
template<typename Type , typename Tool , typename ToolUi >
template<typename Type , typename Tool , typename ToolUi >
Initialize the tool. Implement this method to do non-GUI initialization, such as creating object tracking models etc.
- Parameters
-
probe | The probe interface allowing access to the object models. |
Implements GammaRay::ToolFactory.
template<typename Type , typename Tool , typename ToolUi >
Allows to hide a plug-in from the UI. This is useful for plug-ins that only provide support for additional data types.
- Since
- 2.1
Implements GammaRay::ToolFactory.
template<typename Type , typename Tool , typename ToolUi >
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.
- Returns
- a QStringList of class names of types this tool supports.
Implements GammaRay::ToolFactory.
The documentation for this class was generated from the following file: