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 FACTURAVIEW_H 00023 #define FACTURAVIEW_H 00024 00025 #include <QLineEdit> 00026 #include <QLabel> 00027 #include <QCheckBox> 00028 00029 #include "ui_facturabase.h" 00030 #include "listlinpresupuestoview.h" 00031 #include "busquedacliente.h" 00032 #include "busquedafecha.h" 00033 #include "busquedaformapago.h" 00034 #include "busquedaseriefactura.h" 00035 #include "busquedaalmacen.h" 00036 #include "dialogchanges.h" 00037 #include "fichabf.h" 00038 00039 00040 class Company; 00041 00042 00044 00045 class FacturaView : public FichaBf, public Ui_FacturaBase { 00046 Q_OBJECT 00047 00048 public: 00049 FacturaView(Company *, QWidget *parent = 0); 00050 ~FacturaView(); 00051 void inicializar(); 00052 void pintatotales(Fixed, Fixed, Fixed, Fixed, Fixed, Fixed); 00053 virtual int cargarPost(QString); 00054 virtual int guardarPost(); 00055 virtual int borrarPre(); 00056 00057 public slots: 00058 virtual void on_mui_agregaralbaran_clicked(); 00059 virtual void on_m_descuentos_editFinish(int, int); 00060 virtual void on_subform2_editFinish(int, int); 00061 virtual void on_mui_cobrar_clicked(); 00062 virtual void on_mui_veralbaranes_clicked(); 00063 virtual void on_mui_idcliente_valueChanged(QString id); 00064 }; 00065 00066 #endif 00067
1.5.1