00001 /*************************************************************************** 00002 * Copyright (C) 2005 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 PEDIDOCLIENTEVIEW_H 00023 #define PEDIDOCLIENTEVIEW_H 00024 00025 #include <QLineEdit> 00026 #include <QLabel> 00027 #include <QCheckBox> 00028 00029 #include "ui_pedidoclientebase.h" 00030 #include "listlinpedidoclienteview.h" 00031 #include "listdescpedidoclienteview.h" 00032 #include "busquedacliente.h" 00033 #include "busquedafecha.h" 00034 #include "busquedaformapago.h" 00035 #include "busquedaalmacen.h" 00036 #include "busquedatrabajador.h" 00037 #include "dialogchanges.h" 00038 #include "fixed.h" 00039 #include "fichabf.h" 00040 00041 00043 00044 class PedidoClienteView : public FichaBf, public Ui_PedidoClienteBase { 00045 Q_OBJECT 00046 00047 public: 00048 PedidoClienteView(Company *, QWidget *parent = 0); 00049 ~PedidoClienteView(); 00050 virtual int cargarPost(QString); 00051 virtual int guardarPost(); 00052 virtual int borrarPre(); 00053 void generarAlbaran(); 00054 void inicializar(); 00055 void pintatotales(Fixed iva, Fixed base, Fixed total, Fixed desc, Fixed, Fixed); 00056 00057 00058 public slots: 00059 00060 virtual void s_pintaTotales(); 00061 virtual void on_mui_verpresupuesto_clicked(); 00062 virtual void on_mui_pasaraalbaran_clicked(); 00063 virtual void on_mui_cobrar_clicked(); 00064 virtual void on_m_descuentos_editFinish(int, int); 00065 virtual void on_subform3_editFinish(int, int); 00066 virtual void on_mui_idcliente_valueChanged(QString id); 00067 }; 00068 00069 #endif 00070
1.5.1