-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpageone.h
executable file
·79 lines (64 loc) · 1.68 KB
/
pageone.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#ifndef PAGEONE_H
#define PAGEONE_H
#include "positionedit.h"
#include <QWidget>
#include <QTabWidget>
#include <QLineEdit>
#include <QDateEdit>
#include <QSpinBox>
#include <QComboBox>
#include <QWizardPage>
#include <QDate>
#include <QFormLayout>
#include <QGridLayout>
#include <QLabel>
#include <QGroupBox>
#include <QRadioButton>
#include <QListWidget>
#include <QListWidget>
#include <QListWidgetItem>
class PageOne : public QWidget
{
Q_OBJECT
public:
PageOne();
PageOne(QWidget *parent = 0);
QLabel *customLabel;
QLineEdit *nameEdit;
QDateEdit *dateEdit;
QSpinBox *heightEdit;
QSpinBox *widthEdit;
PositionEdit *positionEdit;
QComboBox *materialEdit;
QGroupBox *groupBox;
QSpinBox *amountEdit;
QRadioButton *petriRadio;
QRadioButton *wellPlateRadio;
QTabWidget *tabWidget;
QLabel *positionGraphic;
bool firstMessage = true;
private:
void customTab(QTabWidget *tabWidget);
void templateTab(QTabWidget *tabWidget);
void buildPrintSelection();
void buildCustomTemplate(QHBoxLayout *hlayout, QString title, QString iconPath);
void buildTemplateItem(QHBoxLayout *hlayout, QString title, QString iconPath, const char *slot);
private slots:
void onWellPlateRadioClicked();
void onPetriRadioClicked();
void onRowTemplateClicked();
void gridPetriClicked();
void gridPlateClicked();
void fillWellClicked();
void wellPlateColumnClicked();
void positionHoverSlot();
void leftPositionSlot();
signals:
void rowTemplateSignal();
void gridPetriSignal();
void fillWellSignal();
void gridPlateSignal();
void wellPlateColumnSignal();
void nextPage();
};
#endif //PAGEONE_H