MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / showText

Function showText

src/widgets/FadingIndicator.cpp:133–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131namespace FadingIndicator {
132
133void showText(QWidget *parent, const QString &text, TextSize size)
134{
135 QPointer<Internal::FadingIndicatorPrivate> &indicator = Internal::FadingIndicatorPrivate::textIndicator;
136
137 if (indicator)
138 delete indicator;
139
140 indicator = new Internal::FadingIndicatorPrivate(parent, size);
141 indicator->setText(text);
142 indicator->run(2500); // deletes itself
143}
144
145void showPixmap(QWidget *parent, const QString &pixmap)
146{

Callers 1

Calls 2

setTextMethod · 0.80
runMethod · 0.80

Tested by

no test coverage detected