forked from qt-creator/qt-creator
Debugger: Make debugger aspect more explicit
There are basically 3 states for the decision whether to start a debugger or not. But these had been under-represented by just displaying 2 states. Enabled (checked) and disabled (unchecked) are obvious, but the default of Auto (represented as checked) is there for convenience of the user, but it has some drawbacks of failing its guess whether to enable the debugger or not. Turn the former check boxes into a tri-state combo boxes and explicitly display the consequences inside the summary. Task-number: QTCREATORBUG-28627 Change-Id: Ieffed5b227ae978555258097385d6e80dfad3ac6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -10,8 +10,6 @@
|
||||
|
||||
namespace Debugger {
|
||||
|
||||
namespace Internal { class DebuggerLanguageAspect; }
|
||||
|
||||
class DEBUGGER_EXPORT DebuggerRunConfigurationAspect
|
||||
: public ProjectExplorer::GlobalOrProjectAspect
|
||||
{
|
||||
@@ -40,8 +38,8 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
Internal::DebuggerLanguageAspect *m_cppAspect;
|
||||
Internal::DebuggerLanguageAspect *m_qmlAspect;
|
||||
Utils::TriStateAspect *m_cppAspect;
|
||||
Utils::TriStateAspect *m_qmlAspect;
|
||||
Utils::BoolAspect *m_multiProcessAspect;
|
||||
Utils::StringAspect *m_overrideStartupAspect;
|
||||
ProjectExplorer::Target *m_target;
|
||||
|
||||
Reference in New Issue
Block a user