logplus/BaseFun/include/DepthProgress.h
2025-10-29 17:23:30 +08:00

46 lines
1.1 KiB
C++

#ifndef PAI_FRAME_DEPTHPROGRESS_H__
#define PAI_FRAME_DEPTHPROGRESS_H__
#include "BaseFunExport.h"
#include <QApplication>
#include <QProgressBar>
#include <QLabel>
class BASEFUN_EXPORT DepthProgress{
QString m_Name;
QProgressBar * progerssBar;
QLabel * label;
bool v1;
bool v2;
public:
DepthProgress();
~DepthProgress();
bool CreatProgress(float sdep,float edep,const char* notifyMsg);
bool SetDepth(float sdep);
bool CheckCancle();
bool DelProgress();
bool DelProgress1();
void SetShowName(const char * Name);
};
class BASEFUN_EXPORT DiDepthProgress{
QStringList m_Name;
QList<QProgressBar *> progerssBarList;
QList<QLabel *> labelList;
bool v1;
bool v2;
public:
DiDepthProgress();
~DiDepthProgress();
bool CreatProgress(float sdep,float edep,const char* notifyMsg,int Index);
bool SetDepth(float sdep,int Index);
bool CheckCancle();
bool DelProgress(int Index);
void SetShowName(const char * Name,int Index);
bool SetRange(float sdep,float edep,int Index);
bool CreatProgress(float sdep,float edep,const char* notifyMsg);
bool DelProgress();
};
#endif