24 , m_bounding_rect(QRect(0, 0, 10, 10))
26 setAttribute(Qt::WA_TransparentForMouseEvents);
42 QPainter painter(
this);
43 painter.setBrush(QColor(Qt::lightGray));
45 painter.setFont(serifFont);
48 painter.drawText(
m_bounding_rect.marginsRemoved(QMargins(margin, margin, margin, margin)),
Defines class DesignerHelper.
Defines GUI::StyleUtils namespace.
static int getSectionFontSize()
Returns system dependent font size.
QSize SizeOfLetterM(const QWidget *widget=nullptr)
Returns size of largest letter of default system font.