v2.0.0
Loading...
Searching...
No Matches
progressview.h
Go to the documentation of this file.
1//=============================================================================================================
20
21#ifndef PROGRESSVIEW_H
22#define PROGRESSVIEW_H
23
24//=============================================================================================================
25// INCLUDES
26//=============================================================================================================
27
28#include "../disp_global.h"
29#include "abstractview.h"
30
31//=============================================================================================================
32// FORWARD DECLARATIONS
33//=============================================================================================================
34
35namespace Ui {
36 class ProgressViewWidget;
37}
38
39//=============================================================================================================
40// DEFINE NAMESPACE DISPLIB
41//=============================================================================================================
42
43namespace DISPLIB
44{
45
46//=============================================================================================================
54{
55public:
56 //=========================================================================================================
63 ProgressView(bool bHorizontalMessage = false,
64 const QString& sStyleSheet = "");
65
66 //=========================================================================================================
71
72 //=========================================================================================================
76 virtual void saveSettings();
77
78 //=========================================================================================================
82 virtual void loadSettings();
83
84 //=========================================================================================================
90 virtual void updateGuiMode(GuiMode mode);
91
92 //=========================================================================================================
98 virtual void updateProcessingMode(ProcessingMode mode);
99
100 //=========================================================================================================
104 void setHorizontal();
105
106 //=========================================================================================================
110 void setVertical();
111
112 //=========================================================================================================
118 void setTextStyleSheet(const QString& styleSheet);
119
120 //=========================================================================================================
124 void clearView();
125
126public slots:
127 //=========================================================================================================
133 void setMessage(const QString& sMessage);
134
135 //=========================================================================================================
142 void updateProgress(int iPercentage,
143 const QString& sMessage = "");
144
145 //=========================================================================================================
151 void setLoadingBarVisible(bool bVisible);
152
153private:
154
155 Ui::ProgressViewWidget* m_pUi;
156
157};
158} //Namespace
159
160#endif // PROGRESSVIEW_H
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
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="")