GammaRay API Documentation  3.2.0
Signals | Public Member Functions | Static Public Member Functions | List of all members
GammaRay::UiIntegration Class Reference

Interface for UI plugins to integrate with the client UI. More...

#include <uiintegration.h>

Inheritance diagram for GammaRay::UiIntegration:

Signals

void navigateToCode (const QUrl &url, int lineNumber, int columnNumber)
 

Public Member Functions

 UiIntegration (QObject *parent=nullptr)
 

Static Public Member Functions

static bool hasDarkUI ()
 
static UiIntegrationinstance ()
 
static void requestNavigateToCode (const QUrl &url, int lineNumber, int columnNumber=0)
 Show the source code at the given position. More...
 

Detailed Description

Interface for UI plugins to integrate with the client UI.

This is especially relevant when the client is embedded inside another application such as an IDE.

Member Function Documentation

◆ requestNavigateToCode()

static void GammaRay::UiIntegration::requestNavigateToCode ( const QUrl &  url,
int  lineNumber,
int  columnNumber = 0 
)
static

Show the source code at the given position.

The stand-alone client will launch a text editor for this, if the client is embedded in an IDE it can chose to navigate directly.


© 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