MCPcopy Create free account
hub / github.com/KDE/kdevelop / expandingWidget

Method expandingWidget

plugins/quickopen/expandingtree/expandingwidgetmodel.cpp:476–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476QWidget* ExpandingWidgetModel::expandingWidget(const QModelIndex& idx_) const
477{
478 QModelIndex idx(firstColumn(idx_));
479
480 const auto widgetIt = m_expandingWidgets.find(idx);
481 if (widgetIt != m_expandingWidgets.end()) {
482 return *widgetIt;
483 } else {
484 return nullptr;
485 }
486}
487
488QList<QVariant> mergeCustomHighlighting(int leftSize, const QList<QVariant>& left, int rightSize, const QList<QVariant>& right)
489{

Callers 2

paintMethod · 0.45
sizeHintMethod · 0.45

Calls 3

firstColumnFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected