aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggeractions.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-06-03 11:34:52 +0200
committerhjk <hjk121@nokiamail.com>2014-06-04 17:16:41 +0200
commit8694ad982dbad6e649614fb5f4bee3f99dab7a69 (patch)
tree637e8f8a34d61caad6b1110c57cb418fcd76648d /src/plugins/debugger/debuggeractions.h
parentac930e4ff07b1041c2b219538c9152aad56ecd28 (diff)
Debugger: More column resizing
Turns out setting the column resize mode on the view itself is counter-productive as it takes away the ability to manually re-adjust. So set the mode only temporarily to get the preferred width than switch back to manually resize mode and use the hint to set some initial size. Also use the length of the header label as absolute minimum. Change-Id: Ic17e31334b23ce6d541f9459cd22be65145046d3 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/debugger/debuggeractions.h')
-rw-r--r--src/plugins/debugger/debuggeractions.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/plugins/debugger/debuggeractions.h b/src/plugins/debugger/debuggeractions.h
index ef16a50dfe6..5cf9a715505 100644
--- a/src/plugins/debugger/debuggeractions.h
+++ b/src/plugins/debugger/debuggeractions.h
@@ -108,6 +108,8 @@ enum DebuggerActionCode
UseAddressInStackView,
RegisterForPostMortem,
+ AlwaysAdjustColumnWidths,
+
// Cdb
CdbAdditionalArguments,
@@ -139,14 +141,12 @@ enum DebuggerActionCode
MaximalStackDepth,
ExpandStack,
CreateFullBacktrace,
- AlwaysAdjustStackColumnWidths,
// Watchers & Locals
ShowStdNamespace,
ShowQtNamespace,
SortStructMembers,
AutoDerefPointers,
- AlwaysAdjustLocalsColumnWidths,
MaximalStringLength,
DisplayStringLimit,
@@ -162,7 +162,6 @@ enum DebuggerActionCode
AllPluginBreakpoints,
SelectedPluginBreakpoints,
AdjustBreakpointLocations,
- AlwaysAdjustBreakpointsColumnWidths,
NoPluginBreakpoints,
SelectedPluginBreakpointsPattern,
BreakOnThrow,
@@ -171,18 +170,6 @@ enum DebuggerActionCode
BreakOnFatal,
BreakOnAbort,
- // Registers
- AlwaysAdjustRegistersColumnWidths,
-
- // Snapshots
- AlwaysAdjustSnapshotsColumnWidths,
-
- // Threads
- AlwaysAdjustThreadsColumnWidths,
-
- // Modules
- AlwaysAdjustModulesColumnWidths,
-
// QML Tools
ShowQmlObjectTree,
ShowAppOnTop,