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 INVENTARIOSVIEW_H 00022 #define INVENTARIOSVIEW_H 00023 00024 #include "company.h" 00025 #include "subform2bf.h" 00026 #include "listado.h" 00027 00028 00030 00031 class InventariosSubForm : public SubForm2Bf { 00032 Q_OBJECT 00033 00034 public: 00035 InventariosSubForm(QWidget *parent = 0); 00036 ~InventariosSubForm() {}; 00037 00038 public slots: 00039 virtual void cargar(); 00040 }; 00041 00042 00043 #include "ui_inventariosbase.h" 00044 00045 00047 00048 class InventariosView : public Listado, public Ui_InventariosBase { 00049 Q_OBJECT 00050 00051 public: 00052 InventariosView(Company *, QWidget *parent = 0, Qt::WFlags flag = 0, edmode editmode = EditMode); 00053 ~InventariosView(); 00054 void inicializa(); 00055 void presentar(); 00056 virtual void on_mui_imprimir_clicked(); 00057 virtual void on_mui_crear_clicked(); 00058 virtual void on_mui_editar_clicked(); 00059 00060 public slots: 00061 virtual void on_mui_listado_itemDoubleClicked(QTableWidgetItem *); 00062 virtual void on_mui_listado_itemDoubleClicked(); 00063 virtual void on_mui_borrar2_clicked(); 00064 }; 00065 00066 #endif 00067
1.5.1