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

Method sizeHint

ui/breakpointswidget.cpp:222–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221
222QSize DebugBreakpointsItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const
223{
224 auto totalWidth = (idx.data(Qt::SizeHintRole).toInt() + 2) * m_charWidth + 4;
225 return QSize(totalWidth, m_charHeight + 2);
226}
227
228
229DebugBreakpointsWidget::DebugBreakpointsWidget(ViewFrame* view, BinaryViewRef data, Menu* menu):

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected