MCPcopy Create free account
hub / github.com/Vector35/debugger / sizeHint

Method sizeHint

ui/threadframes.cpp:375–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373
374
375QSize ThreadFramesItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const
376{
377 auto totalWidth = (idx.data(Qt::SizeHintRole).toInt() + 2) * m_charWidth + 4;
378 return QSize(totalWidth, m_charHeight + 2);
379}
380
381
382void ThreadFramesWidget::contextMenuEvent(QContextMenuEvent* event)

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected