plugininformeclientes.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Tomeu Borras Riera                              *
00003  *   tborras@conetxia.com                                                  *
00004  *   Copyright (C) 2006 by Fco. Javier M. C.                               *
00005  *   fcojavmc@todo-redes.com                                               *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  *   This program is distributed in the hope that it will be useful,       *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00015  *   GNU General Public License for more details.                          *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU General Public License     *
00018  *   along with this program; if not, write to the                         *
00019  *   Free Software Foundation, Inc.,                                       *
00020  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00021  ***************************************************************************/
00022 #include <QToolButton>
00023 
00024 
00025 #include "informeqtoolbutton.h"
00026 
00027 
00028 #include "plugininformeclientes.h"
00029 #include "company.h"
00030 #include "funcaux.h"
00031 
00032 
00034 
00036 void entryPoint(Bulmafact *) {
00037     _depura("Estoy dentro del plugin de informe Clientes", 0);
00038 }
00039 
00040 
00042 
00046 int ClientsList_ClientsList(ClientsList *l) {
00047        _depura("ClientsList_ClientsList", 0);
00048 //================================
00049        InformeQToolButton *mui_exporta_efactura2 = new InformeQToolButton( l,  l->mui_plugbotones);
00050 
00051        QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00052        if (!m_hboxLayout1) {
00053                 m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00054                 m_hboxLayout1->setSpacing(5);
00055                 m_hboxLayout1->setMargin(5);
00056                 m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00057        } // end if
00058        m_hboxLayout1->addWidget(mui_exporta_efactura2);
00059 //================================
00060        _depura("END ClientsList_ClientsList", 0);
00061        return 0;
00062 }
00063 
00064 
00066 
00070 int ArticuloList_ArticuloList(ArticuloList *l) {
00071        _depura("ArticuloList_ArticuloList", 0);
00072 //================================
00073        InformeArtQToolButton *mui_exporta_efactura2 = new InformeArtQToolButton( l,  l->mui_plugbotones);
00074 
00075        QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00076        if (!m_hboxLayout1) {
00077                 m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00078                 m_hboxLayout1->setSpacing(5);
00079                 m_hboxLayout1->setMargin(5);
00080                 m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00081        } // end if
00082        m_hboxLayout1->addWidget(mui_exporta_efactura2);
00083 //================================
00084        _depura("END ArticuloList_ArticuloList", 0);
00085        return 0;
00086 }
00087 
00088 

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