3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-16 04:05:53 +00:00
2022-03-05 22:41:29 +05:00

34 lines
704 B
C++

/*
SPDX-FileCopyrightText: 2010 Ivan Cukic <ivan.cukic(at)kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include <QScreen>
#include <KQuickAddons/QuickViewSharedEngine>
class QMouseEvent;
class QKeyEvent;
class SplashWindow : public KQuickAddons::QuickViewSharedEngine
{
public:
SplashWindow(bool testing, bool window, const QString &theme, QScreen *screen);
void setStage(int stage);
virtual void setGeometry(const QRect &rect);
protected:
void keyPressEvent(QKeyEvent *event) override;
void mousePressEvent(QMouseEvent *event) override;
private:
int m_stage;
const bool m_testing;
const bool m_window;
const QString m_theme;
};