You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iGui/iGuiSplash/iSplashObj.h

37 lines
639 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include <QDialog>
#include "iGuiSplash_global.h"
class I_GUI_SPLASH_EXPORT iSplashObj
{
// Q_OBJECT
public:
public:
explicit iSplashObj();
~iSplashObj();
// 设置闪屏时长单位ms毫秒
void setTimeSpan(int ms);
// 设置文件
void setSplashFiles(QStringList list);
// 开启或关闭
virtual void start();
virtual void finish();
// virtual void setBounds();
virtual void dealAppEvents();
protected:
// 设置闪屏时长单位ms毫秒
// 默认2000
int m_nTimeSpan;
// 设置文件,可以一个或多个
QStringList m_listFiles;
};