GammaRay
2.3.0
|
An abstract interface for creating the UI parts of probe tools. More...
#include <tooluifactory.h>
Public Member Functions | |
virtual QWidget * | createWidget (QWidget *parentWidget)=0 |
virtual QString | id () const =0 |
virtual void | initUi () |
virtual bool | remotingSupported () const =0 |
An abstract interface for creating the UI parts of probe tools.
The ToolUiFactory class is an abstract base class for creating UIs for probe tools for GammaRay. The unique identifier used for the UI must match the one of the corresponding probe tool.
|
pure virtual |
Create the UI part of this tool.
parentWidget | The parent widget for the visual elements of this tool. |
Implemented in GammaRay::StandardToolUiFactory< ToolUi >.
|
pure virtual |
Unique id of this tool, must match the id of a the corresponding probe tool.
Implemented in GammaRay::StandardToolUiFactory< ToolUi >.
|
inlinevirtual |
Initialize UI related stuff for this tool. This function is called on loading the plugin, before the widget itself is needed. Use createWidget to create the actual widget.
|
pure virtual |
Return true if this tool supports remoting, false otherwise.
Implemented in GammaRay::StandardToolUiFactory< ToolUi >.