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

Method sizeHint

ui/moduleswidget.cpp:261–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259
260
261QSize DebugModulesItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const
262{
263 auto totalWidth = (idx.data(Qt::SizeHintRole).toInt() + 2) * m_charWidth + 4;
264 return QSize(totalWidth, m_charHeight + 2);
265}
266
267
268DebugModulesWidget::DebugModulesWidget(ViewFrame* view, BinaryViewRef data) : QTableView(view), m_view(view)

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected