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

Method sizeHint

ui/attachprocess.cpp:193–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192
193QSize ProcessItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const
194{
195 auto totalWidth = (idx.data(Qt::SizeHintRole).toInt() + 2) * m_charWidth + 4;
196 return QSize(totalWidth, m_charHeight + 2);
197}
198
199
200ProcessListFilterProxyModel::ProcessListFilterProxyModel(QObject* parent) : QSortFilterProxyModel(parent)

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected