MCPcopy Create free account
hub / github.com/IENT/YUView / setText

Method setText

YUViewLib/src/ui/widgets/QLabelElided.h:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 explicit QLabelElided(const QString &newText, QWidget *parent = 0) : QLabel(parent) { setMinimumSize(20,1); setText(newText); }
51 QString text() const { return m_text; }
52 void setText(const QString &newText)
53 {
54 if (m_text == newText) return;
55 m_text = newText;
56 setElidedText();
57 }
58 void setToolTip(const QString & newToolTip)
59 {
60 if (m_toolTip == newToolTip) return;

Calls

no outgoing calls

Tested by

no test coverage detected