PySide6.QtQml.QQmlDebuggingEnabler

class QQmlDebuggingEnabler

概要

方法

静态函数

注意

本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。

详细描述

class StartMode
__init__([printWarning=true])
Parameters:

printWarning – 布尔值

注意

此函数已弃用。

static connectToLocalDebugger(socketFileName[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient])
Parameters:
Return type:

布尔

static debuggerServices()
Return type:

字符串列表

static enableDebugging(printWarning)
Parameters:

printWarning – 布尔值

static inspectorServices()
Return type:

字符串列表

static nativeDebuggerServices()
Return type:

字符串列表

static profilerServices()
Return type:

字符串列表

static setServices(services)
Parameters:

services – 字符串列表

static startDebugConnector(pluginName[, configuration=QVariantHash()])
Parameters:
  • pluginName – str

  • configuration – 字典,键类型为 .QString,值类型为 QVariant。

Return type:

布尔

static startTcpDebugServer(port[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient[, hostName=""]])
Parameters:
  • port – int

  • modeStartMode

  • hostName – str

Return type:

布尔