36 #ifndef PROJECTSETTINGSVIEW_H
37 #define PROJECTSETTINGSVIEW_H
43 #include "../disp_global.h"
59 class ProjectSettingsViewWidget;
85 const QString& sDataPath =
"/TestData",
86 const QString& sCurrentProject =
"TestProject",
87 const QString& sCurrentSubject =
"TestSubject",
88 const QString& sCurrentParadigm =
"UnknownParadigm",
98 void setRecordingElapsedTime(
int mSecsElapsed);
106 QString getCurrentFileName();
112 void triggerFileNameUpdate();
118 void hideFileNameUi();
124 void showFileNameUi();
130 void hideParadigmUi();
136 void showParadigmUi();
163 void updateGuiMode(GuiMode mode);
171 void updateProcessingMode(ProcessingMode mode);
179 void deleteProject();
180 void deleteSubject();
182 void paradigmChanged(
const QString &sNewParadigm);
184 void scanForProjects();
185 void scanForSubjects();
187 void selectNewProject(
const QString &sNewProject);
188 void selectNewSubject(
const QString &sNewSubject);
190 void updateFileName(
bool currentTime =
true);
192 void onTimeChanged();
193 void onRecordingTimerStateChanged(
bool state);
195 void browseDirectories();
197 Ui::ProjectSettingsViewWidget* m_pUi;
199 QStringList m_sListProjects;
200 QStringList m_sListSubjects;
203 QString m_sCurrentProject;
204 QString m_sCurrentSubject;
205 QString m_sCurrentParadigm;
208 int m_iRecordingTime;
211 void timerChanged(
int secs);
212 void recordingTimerStateChanged(
bool state);
213 void newProject(
const QString& sCurrentProject);
214 void newSubject(
const QString& sCurrentSubject);
215 void newParadigm(
const QString& sCurrentParadigm);
216 void fileNameChanged(
const QString& sCurrentFileName);
220 #endif // PROJECTSETTINGSVIEW_H