GammaRay API Documentaion
2.6.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 QString | name () const |
Human readable name of this tool. More... | |
virtual bool | remotingSupported () const |
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.
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 >.
|
virtual |
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.
|
virtual |
Human readable name of this tool.
You do not need to override this usually, the plugin loader will fill this in.
|
virtual |
Return true
if this tool supports remoting, false
otherwise. The default implementation returns true
.