forked from alankzh/MNavigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newui.h
59 lines (50 loc) · 1.89 KB
/
newui.h
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef NEWUI_H
#define NEWUI_H
#include "qts.h"
#include "customWidgets/dirlistwidget.h"
#include "customWidgets/dicominfowidget.h"
#include "tools/constant.h"
#include "DicomLoader.h"
#include "customWidgets/drawwidget.h"
#include "tools/screentools.h"
#include "customWidgets/operationplanwidget.h"
#include "customWidgets/textureselectwidget.h"
#include "customThread/loadthreadhelper.h"
#include "customThread/progressbarwidget.h"
#include "customThread/progressobserver.h"
#include <QSizePolicy>
/**
* @brief The NewUi class
* 主窗口,新风格UI界面
*/
class NewUi : public QWidget
{
Q_OBJECT
public:
NewUi(QWidget *parent = 0);
~NewUi();
public slots:
void loadVolumeData(QString name,QString dirPath);
void showLoadDialog();
void onDataLoadingDone();
private:
void init();
void connection();
/*布局相关 start-------------------------------------------------------------------------------------------*/
DirListWidget *dirListWidget=NULL;
DicomInfoWidget *dicomInfoWidget=NULL;
DrawWidget *drawWidget=NULL;
OperationPlanWidget *operationPlanWidget=NULL;
TextureSelectWidget *textureSelectWidget=NULL;
/*布局相关 end -------------------------------------------------------------------------------------------*/
/*线程相关 start--------------------------------------------------------------------------------------------*/
LoadThreadHelper *threadHelper=NULL;
ProgressBarWidget *progressBar;
ProgressObserver::Pointer observer;
ProgressReceive *receive;
/*线程相关 end----------------------------------------------------------------------------------------------*/
/*加载相关 start--------------------------------------------------------------------------------------------*/
QString dirPath;
/*加载相关 end---------------------------------------------------------------------------------------------*/
};
#endif // NEWUI_H