pluginimpresionesmultiples.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 
00023 #include <QToolButton>
00024 
00025 #include "pluginimpresionesmultiples.h"
00026 #include "funcaux.h"
00027 #include "presupuestolist.h"
00028 #include "impqtoolbutton.h"
00029 
00030 
00032 
00035 int entryPoint(Bulmafact *) {
00036     _depura("Estoy dentro del plugin de impresiones multiples", 0);
00037     return 0;
00038 }
00039 
00040 
00042 
00046 int PedidosClienteListSubform_PedidosClienteListSubform(PedidosClienteListSubform *l) {
00047     _depura("PedidosClienteListSubform_PedidosClienteListSubform", 0);
00048     l->addSHeader("selector", DBCampo::DBboolean, DBCampo::DBNoSave | DBCampo::DBNoLoad, SHeader::DBNone |SHeader::DBNoWrite, "selector");
00049     _depura("END PedidosClienteListSubform_PedidosClienteListSubform", 0);
00050     return 0;
00051 }
00052 
00053 
00055 
00059 int AlbaranClienteListSubform_AlbaranClienteListSubform(AlbaranClienteListSubform *l) {
00060     _depura("AlbaranClienteListSubform_AlbaranClienteListSubform", 0);
00061     if (!l->existsHeader( "selector")) {
00062         l->addSHeader("selector", DBCampo::DBboolean, DBCampo::DBNoSave | DBCampo::DBNoLoad, SHeader::DBNone |SHeader::DBNoWrite, "selector");
00063     } // end if
00064     _depura("END AlbaranClienteListSubform_AlbaranClienteListSubform", 0);
00065     return 0;
00066 }
00067 
00068 
00070 
00074 int FacturasListSubform_FacturasListSubform(FacturasListSubform *l) {
00075     _depura("FacturasListSubform_FacturasListSubform", 0);
00076     l->addSHeader("selector", DBCampo::DBboolean, DBCampo::DBNoSave | DBCampo::DBNoLoad, SHeader::DBNone | SHeader::DBNoWrite, "selector");
00077     _depura("END FacturasListSubform_FacturasListSubform", 0);
00078     return 0;
00079 }
00080 
00081 
00083 
00087 int PresupuestoListSubForm_PresupuestoListSubForm(PresupuestoListSubForm *l) {
00088     _depura("PresupuestoListSubForm_PresupuestoListSubForm", 0);
00089     l->addSHeader("selector", DBCampo::DBboolean, DBCampo::DBNoSave | DBCampo::DBNoLoad, SHeader::DBNone | SHeader::DBNoWrite, "selector");
00090     _depura("END PresupuestoListSubForm_PresupuestoListSubForm", 0);
00091     return 0;
00092 }
00093 
00094 
00096 
00100 int CobrosListSubForm_CobrosListSubForm(CobrosListSubForm *l) {
00101     _depura("CobrosListSubForm_CobrosListSubForm", 0);
00102     l->addSHeader("selector", DBCampo::DBboolean, DBCampo::DBNoSave | DBCampo::DBNoLoad, SHeader::DBNone | SHeader::DBNoWrite, "selector");
00103     _depura("CobrosListSubForm_CobrosListSubForm", 0);
00104     return 0;
00105 }
00106 
00107 
00109 
00113 int CobrosList_CobrosList(CobrosList *l) {
00114     _depura("CobrosList_CobrosList", 0);
00115 
00116     SelQToolButton *sel = new SelQToolButton(NULL, NULL, NULL, NULL, l, l->mui_plugbotones);
00117     ImpQToolButton *imp = new ImpQToolButton(NULL, NULL, NULL, NULL, l, l->mui_plugbotones);
00118 //    EmailQToolButton *email = new EmailQToolButton(NULL, NULL, NULL, NULL, l, l->mui_plugbotones);
00119 
00120     QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00121     if (!m_hboxLayout1) {
00122         m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00123         m_hboxLayout1->setSpacing(5);
00124         m_hboxLayout1->setMargin(5);
00125         m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00126     } // end if
00127     m_hboxLayout1->addWidget(sel);
00128     m_hboxLayout1->addWidget(imp);
00129 //    m_hboxLayout1->addWidget(email);
00130 
00131     _depura("END CobrosList_CobrosList", 0);
00132     return 0;
00133 }
00134 
00135 
00137 
00141 int PresupuestoList_PresupuestoList(PresupuestoList *l) {
00142     _depura("PresupuestoList_PresupuestoList", 0);
00143 
00144     SelQToolButton *sel = new SelQToolButton(l, NULL, NULL, NULL,NULL, l->mui_plugbotones);
00145     ImpQToolButton *imp = new ImpQToolButton(l, NULL, NULL, NULL,NULL, l->mui_plugbotones);
00146     EmailQToolButton *email = new EmailQToolButton(l, NULL, NULL, NULL,NULL, l->mui_plugbotones);
00147 
00148     QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00149     if (!m_hboxLayout1) {
00150         m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00151         m_hboxLayout1->setSpacing(5);
00152         m_hboxLayout1->setMargin(5);
00153         m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00154     } // end if
00155     m_hboxLayout1->addWidget(sel);
00156     m_hboxLayout1->addWidget(imp);
00157     m_hboxLayout1->addWidget(email);
00158 
00159     _depura("END PresupuestoList_PresupuestoList", 0);
00160     return 0;
00161 }
00162 
00163 
00165 
00169 int PedidosClienteList_PedidosClienteList(PedidosClienteList *l) {
00170     _depura("PedidosClienteList_PedidosClienteList", 0);
00171 
00172     SelQToolButton *sel = new SelQToolButton(NULL, l, NULL, NULL,NULL, l->mui_plugbotones);
00173     ImpQToolButton *imp = new ImpQToolButton(NULL, l, NULL, NULL,NULL, l->mui_plugbotones);
00174     EmailQToolButton *email = new EmailQToolButton(NULL, l, NULL, NULL,NULL, l->mui_plugbotones);
00175 
00176     QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00177     if (!m_hboxLayout1) {
00178         m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00179         m_hboxLayout1->setSpacing(5);
00180         m_hboxLayout1->setMargin(5);
00181         m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00182     } // end if
00183 
00184     m_hboxLayout1->addWidget(sel);
00185     m_hboxLayout1->addWidget(imp);
00186     m_hboxLayout1->addWidget(email);
00187 
00188     _depura("END PedidosClienteList_PedidosClienteList", 0);
00189     return 0;
00190 }
00191 
00192 
00194 
00198 int AlbaranClienteList_AlbaranClienteList(AlbaranClienteList *l) {
00199     _depura("PedidosClienteList_PedidosClienteList", 0);
00200 
00201     SelQToolButton *sel = new SelQToolButton(NULL,  NULL, l, NULL,NULL, l->mui_plugbotones);
00202     ImpQToolButton *imp = new ImpQToolButton(NULL,  NULL, l, NULL,NULL, l->mui_plugbotones);
00203     EmailQToolButton *email = new EmailQToolButton(NULL,  NULL, l, NULL,NULL, l->mui_plugbotones);
00204 
00205     QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00206     if (!m_hboxLayout1) {
00207         m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00208         m_hboxLayout1->setSpacing(5);
00209         m_hboxLayout1->setMargin(5);
00210         m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00211     } // end if
00212     m_hboxLayout1->addWidget(sel);
00213     m_hboxLayout1->addWidget(imp);
00214     m_hboxLayout1->addWidget(email);
00215 
00216     _depura("END PedidosClienteList_PedidosClienteList", 0);
00217     return 0;
00218 }
00219 
00220 
00222 
00226 int FacturasList_FacturasList(FacturasList *l) {
00227     _depura("FacturasList_FacturasList", 0);
00228 
00229     SelQToolButton *sel = new SelQToolButton(NULL, NULL, NULL, l,NULL, l->mui_plugbotones);
00230     ImpQToolButton *imp = new ImpQToolButton(NULL, NULL, NULL, l,NULL, l->mui_plugbotones);
00231     EmailQToolButton *email = new EmailQToolButton(NULL, NULL, NULL, l,NULL, l->mui_plugbotones);
00232 
00233     QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00234     if (!m_hboxLayout1) {
00235         m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00236         m_hboxLayout1->setSpacing(5);
00237         m_hboxLayout1->setMargin(5);
00238         m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00239     } // end if
00240     m_hboxLayout1->addWidget(sel);
00241     m_hboxLayout1->addWidget(imp);
00242     m_hboxLayout1->addWidget(email);
00243 
00244     _depura("END FacturasList_FacturasList", 0);
00245     return 0;
00246 }

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