forked from qt-creator/qt-creator
Debugger: Re-organize General settings into more logical groups
Task-number: QTCREATORBUG-31929 Change-Id: I17f5203e6e028cfff6e9e79c7917900b693c2970 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -142,31 +142,48 @@ CommonSettings::CommonSettings()
|
|||||||
setLayouter([this] {
|
setLayouter([this] {
|
||||||
using namespace Layouting;
|
using namespace Layouting;
|
||||||
|
|
||||||
Column col1 {
|
Group behavior {
|
||||||
useAlternatingRowColors,
|
title(Tr::tr("Behavior")),
|
||||||
useAnnotationsInMainEditor,
|
Column {
|
||||||
useToolTipsInMainEditor,
|
registerForPostMortem,
|
||||||
closeSourceBuffersOnExit,
|
|
||||||
closeMemoryBuffersOnExit,
|
|
||||||
raiseOnInterrupt,
|
raiseOnInterrupt,
|
||||||
breakpointsFullPathByDefault,
|
|
||||||
warnOnReleaseBuilds,
|
warnOnReleaseBuilds,
|
||||||
Row { maximalStackDepth, st }
|
breakpointsFullPathByDefault,
|
||||||
|
forceLoggingToConsole,
|
||||||
|
Row { maximalStackDepth, st },
|
||||||
|
st
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Column col2 {
|
Group userInterface {
|
||||||
|
title(Tr::tr("User Interface")),
|
||||||
|
Column {
|
||||||
|
useAnnotationsInMainEditor,
|
||||||
|
useToolTipsInMainEditor,
|
||||||
|
useAlternatingRowColors,
|
||||||
fontSizeFollowsEditor,
|
fontSizeFollowsEditor,
|
||||||
switchModeOnExit,
|
|
||||||
showQmlObjectTree,
|
|
||||||
stationaryEditorWhileStepping,
|
stationaryEditorWhileStepping,
|
||||||
|
showQmlObjectTree,
|
||||||
showUnsupportedBreakpointWarning,
|
showUnsupportedBreakpointWarning,
|
||||||
forceLoggingToConsole,
|
}
|
||||||
registerForPostMortem,
|
};
|
||||||
st
|
|
||||||
|
Group afterLife {
|
||||||
|
title(Tr::tr("When Debugging Stops")),
|
||||||
|
Column {
|
||||||
|
closeSourceBuffersOnExit,
|
||||||
|
closeMemoryBuffersOnExit,
|
||||||
|
switchModeOnExit,
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return Column {
|
return Column {
|
||||||
Group { title(Tr::tr("Behavior")), Row { col1, col2, st } },
|
Grid {
|
||||||
|
Column { behavior, afterLife },
|
||||||
|
Column { userInterface, st },
|
||||||
|
columnStretch(0, 1),
|
||||||
|
columnStretch(1, 1)
|
||||||
|
},
|
||||||
sourcePathMap,
|
sourcePathMap,
|
||||||
st
|
st
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user