-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgventas.h
43 lines (35 loc) · 789 Bytes
/
gventas.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
#ifndef GVENTAS_H
#define GVENTAS_H
#include "QModelIndex"
#include "qdialog.h"
#include <QMainWindow>
#include "qstringlistmodel.h"
#include "qstandarditemmodel.h"
QT_BEGIN_NAMESPACE
class QSqlRelationalTableModel;
class QListWidget;
QT_END_NAMESPACE
namespace Ui {
class Gventas;
}
class Gventas : public QDialog
{
Q_OBJECT
public:
explicit Gventas(QWidget *parent = 0);
~Gventas();
private:
Ui::Gventas *ui;
QSqlRelationalTableModel *model;
QSqlRelationalTableModel *modelodventa;
QListWidget *List;
QSqlRelationalTableModel *productomodel;
private slots:
void Addventas();
void AddDventas();
void CargarDventas();
void nuevoventas();
void showventasDetails(QModelIndex index);
void CAncelar();
};
#endif // GVENTAS_H