/
ed_user.h
41 lines (33 loc) · 839 Bytes
/
ed_user.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
#ifndef ED_USER_H
#define ED_USER_H
#include <QMainWindow>
#include <QComboBox>
#include <sql.h>
namespace Ui {
class ed_user;
}
class ed_user : public QMainWindow
{
Q_OBJECT
public:
explicit ed_user(QWidget *parent = 0);
~ed_user();
private slots:
void on_pushButton_clicked();
void loadCombobox(QComboBox *combo, int cbIndx);
void on_le_haslo_2_textEdited();
void on_le_haslo_textEdited();
void on_le_imie_textEdited();
void on_le_nazwisko_textEdited();
void on_le_mail_textEdited();
void on_pushButton_2_clicked();
void on_cb_user_currentIndexChanged();
void update_info(int id);
void on_button_del_clicked();
private:
Ui::ed_user *ui;
SQL *connector;
int ch_imie, ch_nazwisko, ch_mail,ch_haslo,ch_haslo_2, chck_bx;
int ch_u_id = 0;
};
#endif // ED_USER_H