-
Notifications
You must be signed in to change notification settings - Fork 5
/
templateedit.h
63 lines (49 loc) · 1.17 KB
/
templateedit.h
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
55
56
57
58
59
60
61
62
63
#ifndef TEMPLATEEDIT_H
#define TEMPLATEEDIT_H
#include "constants.h"
#include "positionedit.h"
#include <QWidget>
#include <QLineEdit>
#include <QDateEdit>
#include <QSpinBox>
#include <QComboBox>
#include <QGroupBox>
#include <QRadioButton>
#include <QLabel>
#include <QMessageBox>
#include <QFormLayout>
#include <QHBoxLayout>
class TemplateEdit : public QWidget
{
Q_OBJECT
public:
TemplateEdit(QWidget *parent = 0);
void buildTemplateEdit();
void buildPrintSelection();
QLabel *title;
QWidget *templateEdit;
QLineEdit *nameEdit;
QDateEdit *dateEdit;
QSpinBox *heightEdit;
QSpinBox *widthEdit;
PositionEdit *positionEdit;
QComboBox *materialEdit;
QSpinBox *amountEdit;
QLabel *positionGraphic;
QGroupBox *groupBox;
QRadioButton *petriRadio;
QRadioButton *wellPlateRadio;
bool firstMessage = true;
private slots:
void onWellPlateRadioClicked();
void onPetriRadioClicked();
void positionHoverSlot();
void leftPositionSlot();
public slots:
void rowTemplate();
void gridPetriSlot();
void gridPlateSlot();
void wellPlateColumnSlot();
void fillWellSlot();
};
#endif // TEMPLATEEDIT_H