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 FACTURAPVIEW_H 00023 #define FACTURAPVIEW_H 00024 00025 #include <QLineEdit> 00026 #include <QLabel> 00027 #include <QCheckBox> 00028 00029 #include "ui_facturapbase.h" 00030 #include "fichabf.h" 00031 #include "busquedaproveedor.h" 00032 #include "busquedafecha.h" 00033 #include "busquedaformapago.h" 00034 #include "busquedaalmacen.h" 00035 #include "funcaux.h" 00036 00037 00041 class FacturaProveedorView : public FichaBf, public Ui_FacturaProveedorBase { 00042 Q_OBJECT 00043 00044 public: 00045 FacturaProveedorView(Company *, QWidget *parent = 0); 00046 virtual ~FacturaProveedorView(); 00047 void inicializar(); 00048 00049 virtual void pintatotales(Fixed iva, Fixed base, Fixed total, Fixed desc, Fixed irpf, Fixed reqeq); 00051 virtual int guardarPost(); 00052 virtual int cargarPost(QString id); 00053 virtual int borrarPre(); 00054 virtual void imprimirFacturaProveedor(); 00055 public slots: 00056 virtual void on_mui_pagar_clicked(); 00057 virtual void s_nuevoPago(); 00058 virtual void on_m_descuentos_editFinish(int, int); 00059 virtual void on_subform2_editFinish(int, int); 00060 virtual void on_mui_veralbaranes_clicked(); 00061 virtual void on_mui_idproveedor_valueChanged(QString); 00062 }; 00063 00064 #endif 00065
1.5.1