GammaRay API Documentaion  2.5.0
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

QWidget * createWidget (QWidget *parentWidget) override
 
QString id () const override
 
- Public Member Functions inherited from GammaRay::ToolUiFactory
virtual void initUi ()
 
virtual QString name () const
 Human readable name of this tool. More...
 
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 >
QWidget* GammaRay::StandardToolUiFactory< ToolUi >::createWidget ( QWidget *  parentWidget)
inlineoverridevirtual

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 >
QString GammaRay::StandardToolUiFactory< ToolUi >::id ( ) const
inlineoverridevirtual

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.


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