MCPcopy Create free account
hub / github.com/Vector35/debugger / setStatusText

Method setStatusText

ui/statusbar.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60void DebuggerStatusBarWidget::setStatusText(const QString& text)
61{
62 setToolTip(text);
63 QString displayText = text;
64 if (displayText.length() >= STATUS_STRING_MAX_LEN)
65 displayText = displayText.left(STATUS_STRING_MAX_LEN - 3) + "...";
66
67 m_status->setText(displayText);
68 m_parent->setFixedWidth(m_status->sizeHint().width());
69}
70
71
72void DebuggerStatusBarWidget::updateStatusText(const DebuggerEvent& event)

Callers

nothing calls this directly

Calls 1

sizeHintMethod · 0.45

Tested by

no test coverage detected