MCPcopy Create free account
hub / github.com/KDE/labplot / setText

Method setText

src/3rdparty/Qt-Advanced-Docking-System/src/ElidingLabel.cpp:208–220  ·  view source on GitHub ↗

============================================================================

Source from the content-addressed store, hash-verified

206
207//============================================================================
208void CElidingLabel::setText(const QString &text)
209{
210 d->Text = text;
211 if (d->isModeElideNone())
212 {
213 Super::setText(text);
214 }
215 else
216 {
217 internal::setToolTip(this, text);
218 d->elideText(this->size().width());
219 }
220}
221
222
223//============================================================================

Callers 5

updateOrientationMethod · 0.45
eventMethod · 0.45
insertDockWidgetMethod · 0.45
createLayoutMethod · 0.45
setTitleMethod · 0.45

Calls 5

setToolTipFunction · 0.85
isModeElideNoneMethod · 0.80
elideTextMethod · 0.80
widthMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected