添加进度条
This commit is contained in:
parent
bc3cebbd1a
commit
c01e6ecfe2
|
|
@ -3,6 +3,7 @@
|
|||
#include "BaseFun.h"
|
||||
#include "math.h"
|
||||
#include <QDir>
|
||||
#include <QStatusBar>
|
||||
//#include "ObjectArchive.h"
|
||||
#include <QCoreApplication>
|
||||
#include <QTextStream>
|
||||
|
|
@ -3156,3 +3157,9 @@ void qsort_int(char**datx,int left,int right,int idx,int len,int pos)
|
|||
if(i<right) qsort_int(datx,i,right,idx,len,pos);
|
||||
}
|
||||
|
||||
QStatusBar* GetStatusBar()
|
||||
{
|
||||
static QStatusBar * pStatusBar = new QStatusBar;
|
||||
return static_cast<QStatusBar*>(pStatusBar);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ CONFIG(debug, debug|release){
|
|||
}
|
||||
|
||||
HEADERS += \
|
||||
../../common/geometryutils.h \
|
||||
../include/BaseColor.h \
|
||||
../include/BaseFun.h \
|
||||
../include/BaseFunExport.h \
|
||||
|
|
@ -56,6 +57,7 @@ HEADERS += \
|
|||
../include/wvst.h
|
||||
|
||||
SOURCES += \
|
||||
../../common/geometryutils.cpp \
|
||||
BaseColor.cpp \
|
||||
BaseFun.cpp \
|
||||
CStringType.cpp \
|
||||
|
|
|
|||
|
|
@ -530,11 +530,11 @@ bool IsInvalidString(QString filename)
|
|||
}
|
||||
return isInvalid;
|
||||
}
|
||||
QStatusBar* GetStatusBar()
|
||||
{
|
||||
static QStatusBar * pStatusBar = new QStatusBar;
|
||||
return static_cast<QStatusBar*>(pStatusBar);
|
||||
}
|
||||
// QStatusBar* GetStatusBar()
|
||||
// {
|
||||
// static QStatusBar * pStatusBar = new QStatusBar;
|
||||
// return static_cast<QStatusBar*>(pStatusBar);
|
||||
// }
|
||||
QString GetOutDataPath()
|
||||
{
|
||||
QString strProjectDir = QCoreApplication::applicationDirPath()+ QDir::separator() + "../Outdata";
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ QString GetDate(time_t mDate);
|
|||
QString GetConfPath();
|
||||
bool RenameWellName(QString filename, QString strNewName);
|
||||
void ComboxFromConfigFile( QComboBox *aCombox ,QString configCategory);
|
||||
QStatusBar * GetStatusBar();
|
||||
// QStatusBar * GetStatusBar();
|
||||
QString GetDataPath();
|
||||
QString DoubleToString(double dValue, int nDecimal,int *pReallyDecimal);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user