MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / setErrorMessage

Method setErrorMessage

widgets/ErrorWidget.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void ErrorWidget::setErrorMessage(const QString &message)
51{
52 m_errorMessage = message;
53 QFont smallFont = font();
54 smallFont.setPointSize(qMax(8, smallFont.pointSize() - 2));
55 setFont(smallFont);
56 setFixedSize(calculateSize());
57 update();
58}
59
60void ErrorWidget::setupColors()
61{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected