00001 /*************************************************************************** 00002 * Copyright (C) 2004 by Tomeu Borras Riera * 00003 * tborras@conetxia.com * 00004 * Copyright (C) 2006 by Fco. Javier M. C. (Porting to QT4) * 00005 * fcojavmc@todo-redes.com * 00006 * http://www.iglues.org * 00007 * * 00008 * This program is free software; you can redistribute it and/or modify * 00009 * it under the terms of the GNU General Public License as published by * 00010 * the Free Software Foundation; either version 2 of the License, or * 00011 * (at your option) any later version. * 00012 * * 00013 * This program is distributed in the hope that it will be useful, * 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00016 * GNU General Public License for more details. * 00017 * * 00018 * You should have received a copy of the GNU General Public License * 00019 * along with this program; if not, write to the * 00020 * Free Software Foundation, Inc., * 00021 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00022 ***************************************************************************/ 00023 00024 #ifndef LISTSERIEVIEW_H 00025 #define LISTSERIEVIEW_H 00026 00027 #include <QLineEdit> 00028 #include <QLabel> 00029 #include <QCheckBox> 00030 00031 #include "postgresiface2.h" 00032 #include "busquedacliente.h" 00033 #include "busquedafecha.h" 00034 #include "subform2bf.h" 00035 #include "fichabf.h" 00036 00037 00038 class Company; 00039 00040 00042 00043 class ListSerieFacturaSubForm : public SubForm2Bf { 00044 Q_OBJECT 00045 00046 public: 00047 ListSerieFacturaSubForm(QWidget *parent = 0); 00048 ~ListSerieFacturaSubForm() {} 00049 00050 public slots: 00051 virtual void cargar() { 00052 _depura("ListSerieFacturaSubForm::cargar\n",0); 00053 SubForm3::cargar("SELECT *, codigoserie_factura AS codigoserie_facturaorig FROM serie_factura"); 00054 } 00055 }; 00056 00057 00058 #include "ui_listseriefacturabase.h" 00059 00060 00062 00063 class ListSerieFacturaView : public FichaBf, public Ui_ListSerieFacturaBase { 00064 Q_OBJECT 00065 00066 public: 00067 ListSerieFacturaView(Company *, QWidget *); 00068 virtual ~ListSerieFacturaView(); 00069 00070 public slots: 00071 virtual void on_mui_aceptar_clicked() { 00072 mui_listado->guardar(); 00073 close(); 00074 } 00075 00076 }; 00077 00078 #endif 00079
1.5.1