-
Notifications
You must be signed in to change notification settings - Fork 2
/
CRUDmw.h
46 lines (37 loc) · 911 Bytes
/
CRUDmw.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
#ifndef CRUDMW_H
#define CRUDMW_H
//#include <QtCore>
#include <QMainWindow>
#include <QSqlDatabase>
#include <QSqlTableModel>
#include <QDebug>
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
QSqlDatabase dbConnect();
QSqlTableModel *patientsModel, *examsModel;
QModelIndex indexx;
protected slots:
void on_newExamButton_clicked();
void on_rowOfPTDoubleClicked(QModelIndex ind);
//void on_StringFT_picked();
/*on_searchButton_clicked();
on_moreButton_clicked();
on_newPatientButton_clicked();
on_printButton_clicked();
on_viewButton_clicked();
on_deleteButton_clicked();
on_editButton_clicked();
on_StringFT_picked();
on_StringST_picked();*/
};
#endif // CRUDMW_H