-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparamsdialog.h
More file actions
51 lines (38 loc) · 900 Bytes
/
paramsdialog.h
File metadata and controls
51 lines (38 loc) · 900 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
42
43
44
45
46
47
48
49
50
51
#ifndef PARAMSDIALOG_H
#define PARAMSDIALOG_H
#include <QDialog>
class QSqlTableModel;
class QTableView;
class QPushButton;
class QSqlRecord;
class ParamsDialog : public QDialog
{
Q_OBJECT
public:
explicit ParamsDialog(QWidget* parent = 0);
signals:
public slots:
void refreshModels();
// borrar esto
void beforeDelete(int);
void beforeInsert(QSqlRecord &);
void primeInsert(int, QSqlRecord&);
void beforeUpdate(int,QSqlRecord&);
private slots:
void on_tView_activated();
void newRecord();
void deleteRecord();
void editRecord();
private:
QSqlTableModel* tModel;
QTableView* tView;
QPushButton* btnNew;
QPushButton* btnEdit;
QPushButton* btnDelete;
QPushButton* btnClose;
void createWidgets();
void layoutWidgets();
void retranslateUi();
void connectSlots();
};
#endif // PARAMSDIALOG_H