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

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)

Create the UI part of this tool.

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

Implements GammaRay::ToolUiFactory.

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

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

a QString containing the tool id.

Implements GammaRay::ToolUiFactory.

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
Qt-application inspection and manipulation tool