forked from qt-creator/qt-creator
Run configuration: Make debugger aspect display more configurable.
Change-Id: I4da0d92552146b9fa7a2236bce2f2ed0c9fe6147 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -203,7 +203,9 @@ DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(RunConfiguration
|
||||
m_useCppDebugger(true),
|
||||
m_useQmlDebugger(AutoEnableQmlDebugger),
|
||||
m_qmlDebugServerPort(Constants::QML_DEFAULT_DEBUG_SERVER_PORT),
|
||||
m_suppressDisplay(false),
|
||||
m_suppressQmlDebuggingOptions(false),
|
||||
m_suppressCppDebuggingOptions(false),
|
||||
m_suppressQmlDebuggingSpinbox(false)
|
||||
{}
|
||||
|
||||
@@ -212,7 +214,9 @@ DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(DebuggerRunConfig
|
||||
m_useCppDebugger(other->m_useCppDebugger),
|
||||
m_useQmlDebugger(other->m_useQmlDebugger),
|
||||
m_qmlDebugServerPort(other->m_qmlDebugServerPort),
|
||||
m_suppressDisplay(other->m_suppressDisplay),
|
||||
m_suppressQmlDebuggingOptions(other->m_suppressQmlDebuggingOptions),
|
||||
m_suppressCppDebuggingOptions(other->m_suppressCppDebuggingOptions),
|
||||
m_suppressQmlDebuggingSpinbox(other->m_suppressQmlDebuggingSpinbox)
|
||||
{}
|
||||
|
||||
@@ -262,21 +266,41 @@ void DebuggerRunConfigurationAspect::setQmllDebugServerPort(uint port)
|
||||
m_qmlDebugServerPort = port;
|
||||
}
|
||||
|
||||
void DebuggerRunConfigurationAspect::suppressDisplay()
|
||||
{
|
||||
m_suppressDisplay = true;
|
||||
}
|
||||
|
||||
void DebuggerRunConfigurationAspect::suppressQmlDebuggingOptions()
|
||||
{
|
||||
m_suppressQmlDebuggingOptions = true;
|
||||
}
|
||||
|
||||
void DebuggerRunConfigurationAspect::suppressCppDebuggingOptions()
|
||||
{
|
||||
m_suppressCppDebuggingOptions = true;
|
||||
}
|
||||
|
||||
void DebuggerRunConfigurationAspect::suppressQmlDebuggingSpinbox()
|
||||
{
|
||||
m_suppressQmlDebuggingSpinbox = true;
|
||||
}
|
||||
|
||||
bool DebuggerRunConfigurationAspect::isDisplaySuppressed() const
|
||||
{
|
||||
return m_suppressDisplay;
|
||||
}
|
||||
|
||||
bool DebuggerRunConfigurationAspect::areQmlDebuggingOptionsSuppressed() const
|
||||
{
|
||||
return m_suppressQmlDebuggingOptions;
|
||||
}
|
||||
|
||||
bool DebuggerRunConfigurationAspect::areCppDebuggingOptionsSuppressed() const
|
||||
{
|
||||
return m_suppressCppDebuggingOptions;
|
||||
}
|
||||
|
||||
bool DebuggerRunConfigurationAspect::isQmlDebuggingSpinboxSuppressed() const
|
||||
{
|
||||
return m_suppressQmlDebuggingSpinbox;
|
||||
|
||||
Reference in New Issue
Block a user