v2.0.0
Loading...
Searching...
No Matches
progressview.h
Go to the documentation of this file.
1//=============================================================================================================
34
35#ifndef PROGRESSVIEW_H
36#define PROGRESSVIEW_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../disp_global.h"
43#include "abstractview.h"
44
45//=============================================================================================================
46// FORWARD DECLARATIONS
47//=============================================================================================================
48
49namespace Ui {
50 class ProgressViewWidget;
51}
52
53//=============================================================================================================
54// DEFINE NAMESPACE DISPLIB
55//=============================================================================================================
56
57namespace DISPLIB
58{
59
64{
65public:
66 //=========================================================================================================
73 ProgressView(bool bHorizontalMessage = false,
74 const QString& sStyleSheet = "");
75
76 //=========================================================================================================
81
82 //=========================================================================================================
86 virtual void saveSettings();
87
88 //=========================================================================================================
92 virtual void loadSettings();
93
94 //=========================================================================================================
100 virtual void updateGuiMode(GuiMode mode);
101
102 //=========================================================================================================
108 virtual void updateProcessingMode(ProcessingMode mode);
109
110 //=========================================================================================================
114 void setHorizontal();
115
116 //=========================================================================================================
120 void setVertical();
121
122 //=========================================================================================================
128 void setTextStyleSheet(const QString& styleSheet);
129
130 //=========================================================================================================
134 void clearView();
135
136public slots:
137 //=========================================================================================================
143 void setMessage(const QString& sMessage);
144
145 //=========================================================================================================
152 void updateProgress(int iPercentage,
153 const QString& sMessage = "");
154
155 //=========================================================================================================
161 void setLoadingBarVisible(bool bVisible);
162
163private:
164
165 Ui::ProgressViewWidget* m_pUi;
166
167};
168} //Namespace
169
170#endif // PROGRESSVIEW_H
Declaration of the AbstractView Class.
disp library export/import macros.
#define DISPSHARED_EXPORT
Definition disp_global.h:51
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
void updateProgress(int iPercentage, const QString &sMessage="")
virtual void updateGuiMode(GuiMode mode)
void setLoadingBarVisible(bool bVisible)
void setMessage(const QString &sMessage)
virtual void updateProcessingMode(ProcessingMode mode)
virtual void saveSettings()
void setTextStyleSheet(const QString &styleSheet)
virtual void loadSettings()
ProgressView(bool bHorizontalMessage=false, const QString &sStyleSheet="")