GammaRay  2.0.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
GammaRay::StandardToolUiFactory< ToolUi > Class Template Reference

A templated convenience ToolUiFactory applicable for most use-cases. More...

#include <tooluifactory.h>

Inheritance diagram for GammaRay::StandardToolUiFactory< ToolUi >:
Inheritance graph
[legend]

Public Member Functions

virtual QWidget * createWidget (QWidget *parentWidget)
 
virtual QString id () const
 
virtual bool remotingSupported () const
 

Detailed Description

template<typename ToolUi>
class GammaRay::StandardToolUiFactory< ToolUi >

A templated convenience ToolUiFactory applicable for most use-cases.

Member Function Documentation

template<typename ToolUi >
virtual QWidget* GammaRay::StandardToolUiFactory< ToolUi >::createWidget ( QWidget *  parentWidget)
inlinevirtual

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.

Implements GammaRay::ToolUiFactory.

template<typename ToolUi >
virtual QString GammaRay::StandardToolUiFactory< ToolUi >::id ( ) const
inlinevirtual

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

Returns
a QString containing the tool id.

Implements GammaRay::ToolUiFactory.

template<typename ToolUi >
virtual bool GammaRay::StandardToolUiFactory< ToolUi >::remotingSupported ( ) const
inlinevirtual

Return true if this tool supports remoting, false otherwise.

Implements GammaRay::ToolUiFactory.


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

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