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 PEDIDOPROVEEDORVIEW_H 00023 #define PEDIDOPROVEEDORVIEW_H 00024 00025 #include <QLineEdit> 00026 #include <QLabel> 00027 #include <QCheckBox> 00028 00029 #include "ui_pedidoproveedorbase.h" 00030 #include "listlinpedidoproveedorview.h" 00031 #include "listdescpedidoproveedorview.h" 00032 #include "busquedaproveedor.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 00042 class company; 00043 00044 00046 00047 class PedidoProveedorView : public FichaBf, public Ui_PedidoProveedorBase { 00048 Q_OBJECT 00049 00050 public: 00051 PedidoProveedorView(Company *, QWidget *parent = 0); 00052 ~PedidoProveedorView(); 00053 void generarAlbaran(); 00054 void inicialize(); 00055 void pintatotales(Fixed iva, Fixed base, Fixed total, Fixed desc, Fixed irpf, Fixed reqeq); 00056 virtual int cargarPost(QString); 00057 virtual int guardarPost(); 00058 virtual int borrarPre(); 00059 virtual void imprimir(); 00060 00061 public slots: 00062 virtual void on_mui_proveedor_valueChanged(QString); 00063 virtual void on_mui_pagar_clicked(); 00064 virtual void on_mui_facturar_clicked(); 00065 virtual void on_mui_descuentos_editFinish(int, int); 00066 virtual void on_mui_lineasDetalle_editFinish(int, int); 00067 }; 00068 00069 #endif 00070
1.5.1