mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
35 lines
958 B
C++
35 lines
958 B
C++
/***************************************************************************************************
|
|
* Copyright 2018-2024 Qsaker(qsaker@foxmail.com). All rights reserved.
|
|
*
|
|
* The file is encoded using "utf8 with bom", it is a part of QtSwissArmyKnife project.
|
|
*
|
|
* QtSwissArmyKnife is licensed according to the terms in the file LICENCE in the root of the source
|
|
* code directory.
|
|
**************************************************************************************************/
|
|
#ifndef APPLICATION_H
|
|
#define APPLICATION_H
|
|
|
|
#include <QApplication>
|
|
#include <QSplashScreen>
|
|
|
|
class Application : public QApplication
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Application(int argc, char **argv);
|
|
~Application() override = default;
|
|
|
|
void showSplashScreenMessage(const QString &msg);
|
|
|
|
signals:
|
|
void activeMainWindow();
|
|
|
|
private:
|
|
QSplashScreen *m_splashScreen{nullptr};
|
|
|
|
private:
|
|
static void setupPalette(const QString &fileName);
|
|
};
|
|
|
|
#endif
|