MCPcopy Create free account
hub / github.com/KDAB/GammaRay / appendRow

Method appendRow

plugins/textdocumentinspector/textdocumentmodel.cpp:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void TextDocumentModel::appendRow(QStandardItem *parent, QStandardItem *item,
167 const QTextFormat &format, const QRectF &boundingBox)
168{
169 item->setData(QVariant::fromValue(format), FormatRole);
170 item->setData(boundingBox, BoundingBoxRole);
171 item->setEditable(false);
172 parent->appendRow(QList<QStandardItem *>() << item << formatItem(format));
173}

Callers 11

signalEmittedMethod · 0.80
invokeMethodMethod · 0.80
errorMethod · 0.80
informationMethod · 0.80
testModelContentMethod · 0.80
testListRemoteModelMethod · 0.80
testTreeRemoteModelMethod · 0.80
testSortProxyMethod · 0.80
foreachFunction · 0.80

Calls 2

setDataMethod · 0.45
setEditableMethod · 0.45

Tested by 6

errorMethod · 0.64
informationMethod · 0.64
testModelContentMethod · 0.64
testListRemoteModelMethod · 0.64
testTreeRemoteModelMethod · 0.64
testSortProxyMethod · 0.64