00001 /*************************************************************************** 00002 * Copyright (C) 2004 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 CUADRANTEVIEW_H 00023 #define CUADRANTEVIEW_H 00024 00025 #include "ui_cuadrantebase.h" 00026 #include "dialogchanges.h" 00027 #include "fichabf.h" 00028 00029 00030 class Company; 00031 00032 00036 class CuadranteView : public FichaBf, public Ui_CuadranteBase { 00037 Q_OBJECT 00038 00039 public: 00040 CuadranteQTextDocument *m_actualcell; 00041 00042 public: 00043 CuadranteView(Company *, QWidget *); 00044 ~CuadranteView(); 00045 void inicializaTrabajadores(); 00046 void inicializaCuadrante(const QDate &dateorig); 00047 virtual void on_mui_imprimir_clicked(); 00048 00049 00050 public slots: 00051 virtual void on_mui_calendario_clicked(const QDate &date); 00052 virtual void on_mui_listtrabajadores_itemDoubleClicked(QTreeWidgetItem *item, int column); 00053 virtual void on_mui_editar_clicked(); 00054 virtual void on_mui_calendario_customContextMenuRequested ( const QPoint & pos ); 00055 virtual void on_mui_actualizar_clicked(); 00056 virtual void on_mui_limpiar_clicked(); 00057 virtual void on_mui_duplicar_clicked(); 00058 }; 00059 #endif 00060
1.5.1