presupuestoview.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *   http://www.iglues.org                                                 *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  *                                                                         *
00011  *   This program is distributed in the hope that it will be useful,       *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU General Public License for more details.                          *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU General Public License     *
00017  *   along with this program; if not, write to the                         *
00018  *   Free Software Foundation, Inc.,                                       *
00019  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00020  ***************************************************************************/
00021 
00022 #ifndef PRESUPUESTOCLIENTE_H
00023 #define PRESUPUESTOCLIENTE_H
00024 
00025 #include <QLineEdit>
00026 #include <QLabel>
00027 #include <QCheckBox>
00028 
00029 #include "ui_presupuestoclientebase.h"
00030 #include "postgresiface2.h"
00031 #include "listlinpresupuestoview.h"
00032 #include "listdescpresupuestoview.h"
00033 #include "busquedacliente.h"
00034 #include "busquedaformapago.h"
00035 #include "busquedafecha.h"
00036 #include "busquedaalmacen.h"
00037 #include "busquedatrabajador.h"
00038 #include "fixed.h"
00039 #include "fichabf.h"
00040 
00041 
00042 class Company;
00043 
00044 
00046 
00047 class PresupuestoView : public FichaBf, public Ui_PresupuestoClienteBase {
00048     Q_OBJECT
00049 
00050 private:
00051     cursor2 *m_cursorcombo;
00052 
00053 public:
00054     PresupuestoView(Company *, QWidget *);
00055     ~PresupuestoView();
00056     virtual int cargarPost(QString);
00057     virtual int guardarPost();
00058     virtual int borrarPre();
00059     void pintatotales(Fixed iva, Fixed base, Fixed total, Fixed desc, Fixed irpf, Fixed reqeq);
00060     void inicializar();
00061     void manageArticle(int);
00062 
00063 private:
00064     void generarPedidoCliente();
00065 
00066 public:
00067     QString detalleArticulos();
00068 
00069 public slots:
00071     virtual void s_pintaTotales();
00072     virtual void on_mui_pasarapedido_clicked();
00073     virtual void on_m_descuentos_editFinish(int, int);
00074     virtual void on_subform2_editFinish(int, int);
00075     virtual void on_mui_idcliente_valueChanged(QString id);
00076 };
00077 
00078 #endif
00079 

Generated on Sat Dec 15 00:01:14 2007 for BulmaGes by  doxygen 1.5.1