| 180 | |
| 181 | |
| 182 | void ProcessItemDelegate::updateFonts() |
| 183 | { |
| 184 | m_font = getMonospaceFont(dynamic_cast<QWidget*>(parent())); |
| 185 | m_font.setKerning(false); |
| 186 | m_baseline = (int)QFontMetricsF(m_font).ascent(); |
| 187 | m_charWidth = getFontWidthAndAdjustSpacing(m_font); |
| 188 | m_charHeight = (int)(QFontMetricsF(m_font).height() + getExtraFontSpacing()); |
| 189 | m_charOffset = getFontVerticalOffset(); |
| 190 | } |
| 191 | |
| 192 | |
| 193 | QSize ProcessItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& idx) const |
nothing calls this directly
no outgoing calls
no test coverage detected