listlinprevcobroview.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 
00021 #ifndef LISTLINPREVCOBROVIEW1_H
00022 #define LISTLINPREVCOBROVIEW1_H
00023 
00024 #include <QEvent>
00025 #include <QTableWidget>
00026 
00027 #include "listlinprevcobro.h"
00028 #include "empresa.h"
00029 #include "linprevcobro.h"
00030 
00031 
00033 
00035 class ListLinPrevCobroView : public QTableWidget, public ListLinPrevCobro {
00036     Q_OBJECT
00037 
00038 public:
00039     ListLinPrevCobroView(QWidget *parent = 0);
00040     ~ListLinPrevCobroView();
00041     virtual void pintalistlinprevcobro();
00042     virtual void pintalinlistlinprevcobro(int);
00043     linprevcobro *lineaat(int);
00044     linprevcobro *lineaact();
00045     void arreglaPosicion(int, int);
00046     void presentacionFactura();
00047     void presentacionListado();
00048 
00049 private:
00050     virtual void pintalistlinprevcobro(linprevcobro *, int);
00051 
00052 public slots:
00053     virtual void valueLineChanged(int row, int col);
00054     virtual QString searchCuenta();
00055     virtual void contextMenu(int, int, const QPoint &);
00056     virtual void borralinprevcobroact();
00057     virtual void s_creaPago();
00060     virtual void s_settipoprevcobro(QString tip) {
00061         mfilt_tipoprevcobro = tip;
00062     };
00063     virtual void s_setcodigocuentaprevcobro(QString tip) {
00064         mfilt_codigocuentaprevcobro = tip;
00065     };
00066     virtual void s_setfinprevcobro(QString tip) {
00067         mfilt_finprevcobro = tip;
00068     };
00069     virtual void s_setffiprevcobro(QString tip) {
00070         mfilt_ffiprevcobro = tip;
00071     };
00072     virtual void s_setprocesado(QString tip) {
00073         mfilt_procesado = tip;
00074     };
00075     virtual void s_setidregistroiva(QString tip) {
00076         mfilt_idregistroiva = tip;
00077     };
00078 };
00079 
00080 #endif
00081 

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