00001 /*************************************************************************** 00002 * Copyright (C) 2003 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 /*************************************************************************** 00022 LISTA DE BUGS CONOCIDOS 00023 00024 - Las cuentas del estilo 47200477 o 47700472 deformaran los resultados 00025 ya que la busqueda esta hecha con un LIKE que no contempla estos casos. 00026 00027 - Las fechas incorrectas producen mal funcionamiento pej: 31/06/2003 no 00028 dara ningun registro porque el dia 31 no existe. 00029 ***************************************************************************/ 00030 00031 #ifndef LISTREGISTROIVAVIEW_H 00032 #define LISTREGISTROIVAVIEW_H 00033 00034 #include <QWidget> 00035 #include <QLineEdit> 00036 00037 #include "ui_listregistroivabase.h" 00038 #include "empresa.h" 00039 00040 00041 class ListRegistroIvaView : public QWidget, public Ui_ListRegistroIvaBase { 00042 Q_OBJECT 00043 00044 private: 00046 QAction *m_verreg; 00047 QAction *m_verasiento; 00048 00049 public: 00050 Empresa *m_companyact; 00051 00052 public: 00053 ListRegistroIvaView(Empresa *, QString ejerActual = "", QWidget *parent = 0); 00054 ~ListRegistroIvaView(); 00055 void inicializa(); 00056 00057 public slots: 00058 virtual void on_mui_tablasoportado_cellDoubleClicked(int, int); 00059 virtual void on_mui_tablarepercutido_cellDoubleClicked(int, int); 00060 virtual void on_mui_tablarepercutido_pintaMenu(QMenu *menu); 00061 virtual void on_mui_tablasoportado_pintaMenu(QMenu *menu); 00062 virtual void on_mui_tablasoportado_trataMenu(QAction *ac); 00063 virtual void on_mui_tablarepercutido_trataMenu(QAction *ac); 00064 virtual void on_mui_actualizar_clicked(); 00065 virtual void boton_print(); 00066 virtual void on_mui_list_editFinished(int, int) {} 00067 ; 00068 }; 00069 00070 #endif 00071
1.5.1