-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwxfb_project.h
257 lines (209 loc) · 9.05 KB
/
wxfb_project.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Oct 26 2018)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/textctrl.h>
#include <wx/spinctrl.h>
#include <wx/grid.h>
#include <wx/frame.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class BasePrincipal
///////////////////////////////////////////////////////////////////////////////
class BasePrincipal : public wxFrame
{
private:
protected:
wxStaticText* m_staticText27;
wxStaticText* DiaHoy;
wxButton* m_button3;
wxButton* m_button4;
wxButton* m_button27;
wxStaticText* m_staticText3;
wxTextCtrl* m_codigoProducto;
wxStaticText* m_staticText6;
wxSpinCtrl* m_cantidadProducto;
wxButton* m_agregarProducto;
wxStaticText* m_staticText4;
wxStaticText* numeroTicket;
wxButton* eliminar_producto;
wxGrid* m_grilla;
wxStaticText* m_staticText5;
wxStaticText* precioTotal;
wxButton* m_cancelar;
wxButton* m_guardar;
wxButton* m_imprimir;
// Virtual event handlers, overide them in your derived class
virtual void OnCambiarTamanioPrinc( wxSizeEvent& event ) { event.Skip(); }
virtual void ClickBotonAdministrarCliente( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickBotonAdministrarProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickBotonHistorialTickets( wxCommandEvent& event ) { event.Skip(); }
virtual void agregarProductoGrilla( wxCommandEvent& event ) { event.Skip(); }
virtual void OnClickEliminarProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void Salir( wxCommandEvent& event ) { event.Skip(); }
virtual void Guardar( wxCommandEvent& event ) { event.Skip(); }
virtual void ImprimirTicket( wxCommandEvent& event ) { event.Skip(); }
public:
BasePrincipal( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 700,523 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~BasePrincipal();
};
///////////////////////////////////////////////////////////////////////////////
/// Class VentanaAdministrarClientes
///////////////////////////////////////////////////////////////////////////////
class VentanaAdministrarClientes : public wxDialog
{
private:
protected:
wxStaticText* m_staticText15;
wxButton* m_c_a_vent_agregar;
wxButton* m_c_e_cliente;
wxButton* m_c_eliminar;
wxStaticText* m_staticText16;
wxTextCtrl* m_cli_buscar;
wxButton* m_c_buscar;
wxGrid* m_c_grilla;
wxButton* m_c_aceptar;
wxButton* m_c_cancelar;
// Virtual event handlers, overide them in your derived class
virtual void ClickBotonAgregarCliente( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickBotonEditarCliente( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickBotonEliminarCliente( wxCommandEvent& event ) { event.Skip(); }
virtual void EnterBuscar( wxCommandEvent& event ) { event.Skip(); }
virtual void OnClickBuscar( wxCommandEvent& event ) { event.Skip(); }
virtual void OnDobleClickGCliente( wxGridEvent& event ) { event.Skip(); }
virtual void OnClickGCliente( wxGridEvent& event ) { event.Skip(); }
virtual void ClickAceptarAdmCliente( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickCancelarAdmCliente( wxCommandEvent& event ) { event.Skip(); }
public:
VentanaAdministrarClientes( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 678,576 ), long style = wxDEFAULT_DIALOG_STYLE );
~VentanaAdministrarClientes();
};
///////////////////////////////////////////////////////////////////////////////
/// Class VentanaCliente
///////////////////////////////////////////////////////////////////////////////
class VentanaCliente : public wxDialog
{
private:
protected:
wxStaticText* m_c_tituloventana;
wxStaticText* m_staticText8;
wxTextCtrl* m_c_nombre;
wxStaticText* m_staticText9;
wxTextCtrl* m_c_apellido;
wxStaticText* m_staticText10;
wxTextCtrl* m_c_dni;
wxStaticText* m_staticText11;
wxTextCtrl* m_c_alias;
wxStaticText* m_staticText12;
wxTextCtrl* m_c_direccion;
wxStaticText* m_staticText13;
wxTextCtrl* m_c_telefono;
wxStaticText* m_staticText14;
wxTextCtrl* m_c_mail;
wxButton* m_c_agregar;
wxButton* m_c_cancelar;
// Virtual event handlers, overide them in your derived class
virtual void ClickAceptarCliente( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickCancelarCliente( wxCommandEvent& event ) { event.Skip(); }
public:
VentanaCliente( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 506,329 ), long style = wxDEFAULT_DIALOG_STYLE );
~VentanaCliente();
};
///////////////////////////////////////////////////////////////////////////////
/// Class VentanaAdministrarProductos
///////////////////////////////////////////////////////////////////////////////
class VentanaAdministrarProductos : public wxDialog
{
private:
protected:
wxStaticText* m_staticText17;
wxButton* m_p_agregar;
wxButton* m_p_editar;
wxButton* m_p_eliminar;
wxStaticText* m_staticText18;
wxTextCtrl* m_prod_buscar;
wxButton* m_p_buscar;
wxGrid* m_p_grilla;
wxButton* m_p_aceptar;
wxButton* m_p_cancelar;
// Virtual event handlers, overide them in your derived class
virtual void ClickBotonAgregarProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickBotonEditarProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickBotonEliminarProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void EnterBuscar( wxCommandEvent& event ) { event.Skip(); }
virtual void OnClickBuscarProd( wxCommandEvent& event ) { event.Skip(); }
virtual void OnDobleClickGProducto( wxGridEvent& event ) { event.Skip(); }
virtual void OnClickGProducto( wxGridEvent& event ) { event.Skip(); }
virtual void ClickAceptarAdmProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickCancelarAdmProducto( wxCommandEvent& event ) { event.Skip(); }
public:
VentanaAdministrarProductos( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 744,543 ), long style = wxDEFAULT_DIALOG_STYLE );
~VentanaAdministrarProductos();
};
///////////////////////////////////////////////////////////////////////////////
/// Class VentanaAgrEditProductos
///////////////////////////////////////////////////////////////////////////////
class VentanaAgrEditProductos : public wxDialog
{
private:
protected:
wxStaticText* m_p_titulo;
wxStaticText* m_staticText25;
wxTextCtrl* m_p_codigo;
wxStaticText* m_staticText37;
wxTextCtrl* m_p_marca;
wxStaticText* m_staticText38;
wxTextCtrl* m_p_producto;
wxStaticText* m_staticText40;
wxTextCtrl* m_p_precio;
wxStaticText* m_staticText43;
wxTextCtrl* m_p_descripcion;
wxButton* m_p_aceptarA;
wxButton* m_p_cancelarB;
// Virtual event handlers, overide them in your derived class
virtual void OnClickButtonAceptarA( wxCommandEvent& event ) { event.Skip(); }
virtual void OnClickButtonCancelarB( wxCommandEvent& event ) { event.Skip(); }
public:
VentanaAgrEditProductos( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 451,344 ), long style = wxDEFAULT_DIALOG_STYLE );
~VentanaAgrEditProductos();
};
///////////////////////////////////////////////////////////////////////////////
/// Class VentanaTickets
///////////////////////////////////////////////////////////////////////////////
class VentanaTickets : public wxDialog
{
private:
protected:
wxStaticText* m_ticket_titulo;
wxStaticText* m_staticText18;
wxTextCtrl* m_cajaticket_buscar;
wxButton* m_ticket_buscar;
wxGrid* m_grilla_tickets;
wxButton* m_p_aceptar;
wxButton* m_p_cancelar;
// Virtual event handlers, overide them in your derived class
virtual void EnterBuscar( wxCommandEvent& event ) { event.Skip(); }
virtual void OnClickBuscarTicket( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickAceptarAdmProducto( wxCommandEvent& event ) { event.Skip(); }
virtual void ClickCancelarAdmProducto( wxCommandEvent& event ) { event.Skip(); }
public:
VentanaTickets( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 490,421 ), long style = wxDEFAULT_DIALOG_STYLE );
~VentanaTickets();
};