| 360 | |
| 361 | |
| 362 | QSize DebugStackItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const |
| 363 | { |
| 364 | auto totalWidth = (idx.data(Qt::SizeHintRole).toInt() + 2) * m_charWidth + 4; |
| 365 | return QSize(totalWidth, m_charHeight + 2); |
| 366 | } |
| 367 | |
| 368 | |
| 369 | void DebugStackItemDelegate::setEditorData(QWidget* editor, const QModelIndex& index) const |
no test coverage detected