Krita Source Code Documentation
Loading...
Searching...
No Matches
KisWarningWidget.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISWARNINGWIDGET_H
8#define KISWARNINGWIDGET_H
9
10#include "kritaui_export.h"
11#include <QWidget>
12
13class QLabel;
14
15class KRITAUI_EXPORT KisWarningWidget : public QWidget
16{
17 Q_OBJECT
18public:
19 KisWarningWidget(QWidget *parent);
20
21 void setText(const QString &text);
22
27 static QString changeImageProfileWarningText();
28
29private:
30 QLabel *m_warningIcon = 0;
31 QLabel *m_warningText = 0;
32};
33
34#endif // KISWARNINGWIDGET_H