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{
37class ProgressViewWidget;
38}
39
40//=============================================================================================================
41// DEFINE NAMESPACE DISPLIB
42//=============================================================================================================
43
44namespace DISPLIB
45{
46
47//=============================================================================================================
55{
56public:
57 //=========================================================================================================
64 ProgressView(bool bHorizontalMessage = false,
65 const QString& sStyleSheet = "");
66
67 //=========================================================================================================
72
73 //=========================================================================================================
77 virtual void saveSettings();
78
79 //=========================================================================================================
83 virtual void loadSettings();
84
85 //=========================================================================================================
91 virtual void updateGuiMode(GuiMode mode);
92
93 //=========================================================================================================
99 virtual void updateProcessingMode(ProcessingMode mode);
100
101 //=========================================================================================================
105 void setHorizontal();
106
107 //=========================================================================================================
111 void setVertical();
112
113 //=========================================================================================================
119 void setTextStyleSheet(const QString& styleSheet);
120
121 //=========================================================================================================
125 void clearView();
126
127public slots:
128 //=========================================================================================================
134 void setMessage(const QString& sMessage);
135
136 //=========================================================================================================
143 void updateProgress(int iPercentage,
144 const QString& sMessage = "");
145
146 //=========================================================================================================
152 void setLoadingBarVisible(bool bVisible);
153
154private:
155 Ui::ProgressViewWidget* m_pUi;
156};
157} //Namespace
158
159#endif // PROGRESSVIEW_H
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
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="")