MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / ResultsTree

Method ResultsTree

gui/resultstree.cpp:132–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132ResultsTree::ResultsTree(QWidget * parent) :
133 QTreeView(parent),
134 mModel(new QStandardItemModel)
135{
136 setModel(mModel);
137 translate(); // Adds columns to grid
138 clear();
139 setExpandsOnDoubleClick(false);
140 setSortingEnabled(true);
141
142 connect(this, &ResultsTree::doubleClicked, this, &ResultsTree::quickStartApplication);
143}
144
145void ResultsTree::keyPressEvent(QKeyEvent *event)
146{

Callers

nothing calls this directly

Calls 1

clearFunction · 0.50

Tested by

no test coverage detected