MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
progressview.h
Go to the documentation of this file.
1//=============================================================================================================
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
61{
62public:
63 //=========================================================================================================
70 ProgressView(bool bHorizontalMessage = false,
71 const QString& sStyleSheet = "");
72
73 //=========================================================================================================
78
79 //=========================================================================================================
83 virtual void saveSettings();
84
85 //=========================================================================================================
89 virtual void loadSettings();
90
91 //=========================================================================================================
97 virtual void updateGuiMode(GuiMode mode);
98
99 //=========================================================================================================
105 virtual void updateProcessingMode(ProcessingMode mode);
106
107 //=========================================================================================================
111 void setHorizontal();
112
113 //=========================================================================================================
117 void setVertical();
118
119 //=========================================================================================================
125 void setTextStyleSheet(const QString& styleSheet);
126
127 //=========================================================================================================
131 void clearView();
132
133public slots:
134 //=========================================================================================================
140 void setMessage(const QString& sMessage);
141
142 //=========================================================================================================
149 void updateProgress(int iPercentage,
150 const QString& sMessage = "");
151
152 //=========================================================================================================
158 void setLoadingBarVisible(bool bVisible);
159
160private:
161
162 Ui::ProgressViewWidget* m_pUi;
163
164};
165} //Namespace
166
167#endif // PROGRESSVIEW_H
#define DISPSHARED_EXPORT
Definition disp_global.h:55
The AbstractView class provides the base calss for all Disp viewers.
void setTextStyleSheet(const QString &styleSheet)
AbstractView class declaration.