ui 0.2 添加loading界面 待美观
This commit is contained in:
24
Loading.h
Normal file
24
Loading.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
#include "ui_Loading.h"
|
||||
#include <QMouseEvent>
|
||||
|
||||
class Loading : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Loading(QWidget *parent = Q_NULLPTR);
|
||||
~Loading();
|
||||
|
||||
private:
|
||||
Ui::Loading ui;
|
||||
bool ready2Enter = false;
|
||||
int currentValue = 0;
|
||||
void updateSlot();
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QMouseEvent *);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user