2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2015-01-22 16:27:26 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2015-01-22 16:27:26 +01:00
|
|
|
|
|
|
|
|
#include "utils_global.h"
|
|
|
|
|
|
2022-05-24 00:40:44 +02:00
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
class QString;
|
|
|
|
|
class QWidget;
|
|
|
|
|
QT_END_NAMESPACE
|
2015-01-22 16:27:26 +01:00
|
|
|
|
|
|
|
|
namespace Utils {
|
|
|
|
|
namespace FadingIndicator {
|
|
|
|
|
|
2015-03-10 11:35:09 +01:00
|
|
|
enum TextSize {
|
|
|
|
|
SmallText,
|
|
|
|
|
LargeText
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
QTCREATOR_UTILS_EXPORT void showText(QWidget *parent, const QString &text,
|
|
|
|
|
TextSize size = LargeText);
|
2015-01-22 16:27:26 +01:00
|
|
|
QTCREATOR_UTILS_EXPORT void showPixmap(QWidget *parent, const QString &pixmap);
|
|
|
|
|
|
|
|
|
|
} // FadingIndicator
|
|
|
|
|
} // Utils
|