GammaRay  2.3.0
Public Member Functions | List of all members
GammaRay::ToolUiFactory Class Referenceabstract

An abstract interface for creating the UI parts of probe tools. More...

#include <tooluifactory.h>

Inheritance diagram for GammaRay::ToolUiFactory:
Inheritance graph
[legend]

Public Member Functions

virtual QWidget * createWidget (QWidget *parentWidget)=0
 
virtual QString id () const =0
 
virtual void initUi ()
 
virtual bool remotingSupported () const =0
 

Detailed Description

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.

Member Function Documentation

virtual QWidget* GammaRay::ToolUiFactory::createWidget ( QWidget *  parentWidget)
pure virtual

Create the UI part of this tool.

Parameters
parentWidgetThe parent widget for the visual elements of this tool.
Returns
a pointer to the created QwWidget.

Implemented in GammaRay::StandardToolUiFactory< ToolUi >.

virtual QString GammaRay::ToolUiFactory::id ( ) const
pure virtual

Unique id of this tool, must match the id of a the corresponding probe tool.

Returns
a QString containing the tool id.

Implemented in GammaRay::StandardToolUiFactory< ToolUi >.

virtual void GammaRay::ToolUiFactory::initUi ( )
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.

virtual bool GammaRay::ToolUiFactory::remotingSupported ( ) const
pure virtual

Return true if this tool supports remoting, false otherwise.

Implemented in GammaRay::StandardToolUiFactory< ToolUi >.


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

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/