-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfsStimForm.h
More file actions
executable file
·54 lines (42 loc) · 1.18 KB
/
fsStimForm.h
File metadata and controls
executable file
·54 lines (42 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/****************************************************************************
** Form interface generated from reading ui file 'stimform.ui'
**
** Created: Tue Apr 7 15:28:31 2009
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef STIMFORM_H
#define STIMFORM_H
#include <QtGui>
#include <QtWidgets>
#include <QtXml>
class StimForm : public QWidget
{
Q_OBJECT
public:
StimForm( QWidget* parent = 0);
~StimForm();
private:
QSpinBox *pulseLengthSpinBox;
QSpinBox *nPulsesSpinBox;
QSpinBox *preDelaySpinBox;
QDoubleSpinBox *frequencySpinBox;
QSpinBox *periodSpinBox;
QSpinBox *nTrainsSpinBox;
QSpinBox *interPulseIntervalSpinBox;
QPushButton *continuousButton;
QPushButton *pulseStart;
QPushButton *pulseStop;
int generateSingleStim(char *stimCommand);
void stopPulseSeq(void);
protected:
protected slots:
void updateStimData(void);
void ablePulseTrain(void);
void periodChanged(void);
void frequencyChanged(void);
void ableMultiplePulses(void);
void startPulseSeq(bool start);
void stopPulseSeq(bool stop);
};
#endif // STIMFORM_H