| 131 | namespace FadingIndicator { |
| 132 | |
| 133 | void 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 | |
| 145 | void showPixmap(QWidget *parent, const QString &pixmap) |
| 146 | { |
no test coverage detected