• hjk's avatar
    TreeModel: Take responsibility for some of the casting · 7a80f2f0
    hjk authored
    This adds a templated layer on top of TreeModel that can specify
    item types for the top three layers in the model, relieving user
    code from some of the previously necessary type casting.
    
    Two common setups get an extra layer with convenience functions
    on top: TwoLevelTreeModel for two-level model with a first level
    of static headers and a uniform second level, and UniformTreeModel
    where all non-root nodes are the same.
    
    "Untyped" plain TreeModels are still possible.
    
    The walkTree() feature and untyped iteration in the base
    TreeItem and TreeModel is retained for now to ease transition
    in downstream modules, but is planned to be removed soon.
    
    Change-Id: I67d75a1a4e18e8f254dbfb458db03510d8990d8b
    Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
    7a80f2f0
Name
Last commit
Last update
..
analyzer Loading commit data...
cdb Loading commit data...
console Loading commit data...
gdb Loading commit data...
images Loading commit data...
lldb Loading commit data...
namedemangler Loading commit data...
pdb Loading commit data...
qml Loading commit data...
shared Loading commit data...
unit-tests/simple Loading commit data...
Debugger.json.in Loading commit data...
Debugger.mimetypes.xml Loading commit data...
README Loading commit data...
breakhandler.cpp Loading commit data...
breakhandler.h Loading commit data...
breakpoint.cpp Loading commit data...
breakpoint.h Loading commit data...
breakwindow.cpp Loading commit data...
breakwindow.h Loading commit data...
commonoptionspage.cpp Loading commit data...
commonoptionspage.h Loading commit data...
debugger.pro Loading commit data...
debugger.qbs Loading commit data...
debugger.qrc Loading commit data...
debugger_dependencies.pri Loading commit data...
debugger_global.h Loading commit data...
debuggeractions.cpp Loading commit data...
debuggeractions.h Loading commit data...
debuggerconstants.h Loading commit data...
debuggercore.h Loading commit data...
debuggerdialogs.cpp Loading commit data...
debuggerdialogs.h Loading commit data...
debuggerengine.cpp Loading commit data...
debuggerengine.h Loading commit data...
debuggericons.h Loading commit data...
debuggerinternalconstants.h Loading commit data...
debuggeritem.cpp Loading commit data...
debuggeritem.h Loading commit data...
debuggeritemmanager.cpp Loading commit data...
debuggeritemmanager.h Loading commit data...
debuggerkitconfigwidget.cpp Loading commit data...
debuggerkitconfigwidget.h Loading commit data...
debuggerkitinformation.cpp Loading commit data...
debuggerkitinformation.h Loading commit data...
debuggermainwindow.cpp Loading commit data...
debuggermainwindow.h Loading commit data...
debuggeroptionspage.cpp Loading commit data...
debuggeroptionspage.h Loading commit data...
debuggerplugin.cpp Loading commit data...
debuggerplugin.h Loading commit data...
debuggerprotocol.cpp Loading commit data...
debuggerprotocol.h Loading commit data...
debuggerrunconfigurationaspect.cpp Loading commit data...
debuggerrunconfigurationaspect.h Loading commit data...
debuggerruncontrol.cpp Loading commit data...
debuggerruncontrol.h Loading commit data...
debuggersourcepathmappingwidget.cpp Loading commit data...
debuggersourcepathmappingwidget.h Loading commit data...
debuggerstartparameters.h Loading commit data...
debuggerstringutils.h Loading commit data...
debuggertooltipmanager.cpp Loading commit data...
debuggertooltipmanager.h Loading commit data...
debuggerunittests.qrc Loading commit data...
disassembleragent.cpp Loading commit data...
disassembleragent.h Loading commit data...
disassemblerlines.cpp Loading commit data...
disassemblerlines.h Loading commit data...
imageviewer.cpp Loading commit data...
imageviewer.h Loading commit data...
loadcoredialog.cpp Loading commit data...
loadcoredialog.h Loading commit data...
localsandexpressionswindow.cpp Loading commit data...
localsandexpressionswindow.h Loading commit data...
logwindow.cpp Loading commit data...
logwindow.h Loading commit data...
memoryagent.cpp Loading commit data...
memoryagent.h Loading commit data...
memoryview.cpp Loading commit data...
memoryview.h Loading commit data...
moduleshandler.cpp Loading commit data...
moduleshandler.h Loading commit data...
moduleswindow.cpp Loading commit data...
moduleswindow.h Loading commit data...
outputcollector.cpp Loading commit data...
outputcollector.h Loading commit data...
procinterrupt.cpp Loading commit data...
procinterrupt.h Loading commit data...
ptracepreload.c Loading commit data...
ptracepreload.pro Loading commit data...
ptracepreload.qbs Loading commit data...
registerhandler.cpp Loading commit data...
registerhandler.h Loading commit data...
registerpostmortemaction.cpp Loading commit data...
registerpostmortemaction.h Loading commit data...
registerwindow.cpp Loading commit data...
registerwindow.h Loading commit data...
simplifytype.cpp Loading commit data...
simplifytype.h Loading commit data...
snapshothandler.cpp Loading commit data...
snapshothandler.h Loading commit data...
snapshotwindow.cpp Loading commit data...
snapshotwindow.h Loading commit data...
sourceagent.cpp Loading commit data...
sourceagent.h Loading commit data...
sourcefileshandler.cpp Loading commit data...
sourcefileshandler.h Loading commit data...
sourcefileswindow.cpp Loading commit data...
sourcefileswindow.h Loading commit data...
sourceutils.cpp Loading commit data...
sourceutils.h Loading commit data...
stackframe.cpp Loading commit data...
stackframe.h Loading commit data...
stackhandler.cpp Loading commit data...
stackhandler.h Loading commit data...
stackwindow.cpp Loading commit data...
stackwindow.h Loading commit data...
terminal.cpp Loading commit data...
terminal.h Loading commit data...
threaddata.h Loading commit data...
threadshandler.cpp Loading commit data...
threadshandler.h Loading commit data...
threadswindow.cpp Loading commit data...
threadswindow.h Loading commit data...
unstartedappwatcherdialog.cpp Loading commit data...
unstartedappwatcherdialog.h Loading commit data...
watchdata.cpp Loading commit data...
watchdata.h Loading commit data...
watchdelegatewidgets.cpp Loading commit data...
watchdelegatewidgets.h Loading commit data...
watchhandler.cpp Loading commit data...
watchhandler.h Loading commit data...
watchutils.cpp Loading commit data...
watchutils.h Loading commit data...
watchwindow.cpp Loading commit data...
watchwindow.h Loading commit data...