-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathdlgstartupprocess.cpp
More file actions
44 lines (35 loc) · 881 Bytes
/
dlgstartupprocess.cpp
File metadata and controls
44 lines (35 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#include "dlgstartupprocess.h"
#include "ui_dlgstartupprocess.h"
#include "Common/commonfunction.h"
#include <windows.h>
CDlgStartupprocess* CDlgStartupprocess::pFrame = NULL;
CDlgStartupprocess::CDlgStartupprocess(QWidget *parent) :
QDialog(parent),
ui(new Ui::CDlgStartupprocess)
{
ui->setupUi(this);
setWindowFlags( Qt::FramelessWindowHint );
}
CDlgStartupprocess::~CDlgStartupprocess()
{
delete ui;
}
CDlgStartupprocess* CDlgStartupprocess::GetFrame( QWidget* parent )
{
if ( NULL == pFrame ) {
pFrame = new CDlgStartupprocess( parent );
//CCommonFunction::MySetWindowPos( pFrame );
}
return pFrame;
}
void CDlgStartupprocess::FreeFrame( )
{
if ( NULL != pFrame ) {
delete pFrame;
pFrame = NULL;
}
}
void CDlgStartupprocess::UpdateInfo( QString strInfo )
{
ui->lblInfo->setText( strInfo );
}