| 220 | |
| 221 | |
| 222 | QSize 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 | |
| 229 | DebugBreakpointsWidget::DebugBreakpointsWidget(ViewFrame* view, BinaryViewRef data, Menu* menu): |