Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSplashPreview.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-3.0-or-later
2#ifndef KIS_SPLASH_PREVIEW_H
3#define KIS_SPLASH_PREVIEW_H
4#include <QPixmap>
5#include <QWidget>
6
7class KisSplashPreview : public QWidget
8{
9 Q_OBJECT
10public:
11 explicit KisSplashPreview(QWidget *parent = nullptr);
12
13 void setPixmap(const QPixmap &pixmap);
14
15protected:
16 void paintEvent(QPaintEvent *event) override;
17 void resizeEvent(QResizeEvent *event) override;
18
19private:
22};
23
24#endif
void setPixmap(const QPixmap &pixmap)
KisSplashPreview(QWidget *parent=nullptr)
void paintEvent(QPaintEvent *event) override
void resizeEvent(QResizeEvent *event) override