| 208 | |
| 209 | |
| 210 | void DebugBreakpointsItemDelegate::updateFonts() |
| 211 | { |
| 212 | // Get font and compute character sizes |
| 213 | m_font = getMonospaceFont(dynamic_cast<QWidget*>(parent())); |
| 214 | m_font.setKerning(false); |
| 215 | m_baseline = (int)QFontMetricsF(m_font).ascent(); |
| 216 | m_charWidth = getFontWidthAndAdjustSpacing(m_font); |
| 217 | m_charHeight = (int)(QFontMetricsF(m_font).height() + getExtraFontSpacing()); |
| 218 | m_charOffset = getFontVerticalOffset(); |
| 219 | } |
| 220 | |
| 221 | |
| 222 | QSize DebugBreakpointsItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const |
nothing calls this directly
no outgoing calls
no test coverage detected