MCPcopy Create free account
hub / github.com/baldurk/renderdoc / setRootIndex

Method setRootIndex

qrenderdoc/Widgets/Extended/RDHeaderView.cpp:517–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517void RDHeaderView::setRootIndex(const QModelIndex &index)
518{
519 QHeaderView::setRootIndex(index);
520
521 // need to enqueue this after the root index is actually processed (this function is called
522 // *before* the root index changes).
523 if(!m_sectionStretchHints.isEmpty())
524 {
525 QPointer<RDHeaderView> ptr = this;
526 GUIInvoke::defer(this, [this]() {
527 cacheSectionMinSizes();
528 resizeSectionsWithHints();
529 });
530 }
531}
532
533void RDHeaderView::headerDataChanged(Qt::Orientation orientation, int logicalFirst, int logicalLast)
534{

Callers 1

changeCurrentDirMethod · 0.80

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected