GammaRay API Documentation 3.0.1
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

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

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.


© 2010-2023 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 on Wed Jul 3 2024 00:08:13 for GammaRay API Documentation by doxygen 1.9.8