-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbookeditdialog.h
59 lines (41 loc) · 1.13 KB
/
bookeditdialog.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
#ifndef BOOKEDITDIALOG_H
#define BOOKEDITDIALOG_H
#include <QDialog>
#include <QString>
#include <QSqlTableModel>
#include "editordialog.h"
#include "bookedit.h"
namespace Ui {
class BookEditDialog;
}
class BookEditDialog : public QDialog
{
Q_OBJECT
public:
explicit BookEditDialog(QWidget *parent = 0,const QString &BookPath = NULL);
~BookEditDialog();
private slots:
void displayTime();
void on_newRecordButton_clicked();
void on_deleteRecordButton_clicked();
void on_showAllButton_clicked();
void on_ascendingOrderButton_clicked();
void on_descendingOrderButton_clicked();
void on_idSelectradioButton_clicked();
void on_wortSelectradioButton_clicked();
void on_tableView_doubleClicked(const QModelIndex &index);
void on_goTolineEdit_textChanged(const QString &keyWort);
private:
void updateWordCount();
QString asIdSelect;
QString asWortSelect;
QString deleteMethode;
QString descendingOrder;
private:
Ui::BookEditDialog *ui;
QString tableName;
QSqlTableModel *model;
BookEdit *bookEdit;
QString bookpath;
};
#endif // BOOKEDITDIALOG_H