-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewbook.h
More file actions
41 lines (33 loc) · 766 Bytes
/
newbook.h
File metadata and controls
41 lines (33 loc) · 766 Bytes
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
/*
* @Author: your name
* @Date: 2020-07-15 16:08:20
* @LastEditTime: 2020-07-16 11:34:33
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \CodePracticeClassProject\newbook.h
*/
#ifndef NEWBOOK_H
#define NEWBOOK_H
#include <QDialog>
#include<QString>
namespace Ui {
class newBook;
}
class newBook : public QDialog
{
Q_OBJECT
public:
explicit newBook(QWidget *parent = nullptr);
~newBook();
void writeToFile(QString cnt);
void clearUserFace();
int checkid(QString id);
int checkblank(QString cnt);
private slots:
void on_ok_bu_clicked();
void on_no_bu_clicked();
private:
Ui::newBook *ui;
QList<QString> bok_lines;
};
#endif