-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathodunc_verme_islemleri.h
57 lines (38 loc) · 1.17 KB
/
odunc_verme_islemleri.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
#ifndef ODUNC_VERME_ISLEMLERI_H
#define ODUNC_VERME_ISLEMLERI_H
#include <QDialog>
#include <QMessageBox>
#include <QSqlDatabase>
#include <QSql>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QSqlTableModel>
#include <QSqlError>
#include <QModelIndex>
#include <QModelIndexList>
#include <QDate>
namespace Ui {
class odunc_verme_islemleri;
}
class odunc_verme_islemleri : public QDialog
{
Q_OBJECT
public:
explicit odunc_verme_islemleri(QSqlDatabase veriTabani, QWidget *parent = nullptr);
~odunc_verme_islemleri();
void closeEvent(QCloseEvent *event);
void oduncAlinanKitaplariListelemeFOnksiyonu();
void teslsimEdilenKitaplariListelemeFonksiyonU();
private slots:
void on_tableView_Odunc_Alinan_Kitaplar_Listesi_clicked(const QModelIndex &index);
void on_pushButton_Odunc_Kitap_Teslim_Et_clicked();
private:
Ui::odunc_verme_islemleri *ui;
QSqlQuery *sorguOduncAlinan;
QSqlQueryModel *modelOduncAlinan;
QSqlQuery *sorguTeslimEdilen;
QSqlQueryModel *modelTeslimEdilen;
QSqlQuery *insertQuery;
QSqlQuery *deleteQuery;
};
#endif // ODUNC_VERME_ISLEMLERI_H