GammaRay API Documentation  3.2.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 >:
GammaRay::ToolUiFactory

Public Member Functions

QWidget * createWidget (QWidget *parentWidget) override
 Create the UI part of this tool. More...
 
QString id () const override
 Unique id of this tool, must match the id of a the corresponding probe tool. More...
 
- Public Member Functions inherited from GammaRay::ToolUiFactory
virtual void initUi ()
 Initialize UI related stuff for this tool. More...
 
virtual QString name () const
 Human readable name of this tool. More...
 
virtual bool remotingSupported () const
 Return true if this tool supports remoting, false otherwise. More...
 

Detailed Description

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

A templated convenience ToolUiFactory applicable for most use-cases.

Member Function Documentation

◆ createWidget()

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.

◆ id()

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, C++ and OpenGL Experts"
https://www.kdab.com/
GammaRay Qt-application inspection and manipulation tool
https://www.kdab.com/development-resources/qt-tools/gammaray/
Generated by doxygen 1.9.1