-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddform.h
39 lines (31 loc) · 931 Bytes
/
addform.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
#ifndef ADDFORM_H
#define ADDFORM_H
#include <QDialog>
#include <QTableWidget>
namespace Ui {
class AddForm;
}
class AddForm : public QDialog
{
Q_OBJECT
public:
explicit AddForm(QWidget *parent = nullptr, QString password = "", QString user = "",
QTableWidget* table = NULL, bool edit = false, QList<QTableWidgetItem*> line = QList<QTableWidgetItem*>());
~AddForm();
private slots:
void on_checkBox_stateChanged(int arg1);
void on_pushButton_clicked();
void on_pushButton_cancel_clicked();
bool check_conditions(QString title, QString username, QString file_name,
QString pass, QString repeat, QString url);
void fill_data();
QTableWidgetItem *check_exist(QString check);
private:
Ui::AddForm *ui;
QString password;
QString user;
QTableWidget* table;
bool edit;
QList<QTableWidgetItem*> line;
};
#endif // ADDFORM_H