pluginticket.h File Reference

#include "facturaview.h"
#include "presupuestoview.h"
#include "pedidoclienteview.h"
#include "albaranclienteview.h"
#include "bulmafact.h"

Go to the source code of this file.

Defines

#define MY_EXPORT

Functions

MY_EXPORT int AlbaranClienteView_AlbaranClienteView (AlbaranClienteView *)
MY_EXPORT int FacturaView_FacturaView (FacturaView *)
 Dibuja el boton de exportar en el formulario de factura a cliente.
MY_EXPORT int entryPoint (Bulmafact *)


Define Documentation

#define MY_EXPORT

Definition at line 24 of file pluginticket.h.


Function Documentation

MY_EXPORT int AlbaranClienteView_AlbaranClienteView ( AlbaranClienteView l  ) 

Parameters:
l 
Returns:

Definition at line 82 of file pluginmail.cpp.

References _depura(), and Ui_AlbaranClienteBase::mui_plugbotones.

00082                                                                  {
00083        _depura("FacturaView_FacturaView", 0);
00084        EmailQToolButton *mui_exporta_efactura2 = new EmailQToolButton(NULL, NULL, l, NULL, l->mui_plugbotones);
00085        QHBoxLayout *m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00086        m_hboxLayout1->setSpacing(5);
00087        m_hboxLayout1->setMargin(5);
00088        m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00089        m_hboxLayout1->addWidget(mui_exporta_efactura2);
00090        _depura("END FacturaView_FacturaView", 0);
00091        return 0;
00092 }

MY_EXPORT int entryPoint ( Bulmafact bges  ) 

Parameters:
bges 
Returns:

Añade en el menú del programa la opci&oacuteMn para acceder al corrector.

Definition at line 43 of file comercialbf.cpp.

00043                                 {
00044     _depura("Punto de Entrada del plugin ComercialBF", 0);
00046         QTranslator *traductor = new QTranslator(0);
00047         if (confpr->valor(CONF_TRADUCCION) == "locales") {
00048             traductor->load(QString("comercialbf_") + QLocale::system().name(),
00049                             confpr->valor(CONF_DIR_TRADUCCION).toAscii().constData());
00050         } else {
00051             QString archivo = "comercialbf_" + confpr->valor(CONF_TRADUCCION);
00052            traductor->load(archivo, confpr->valor(CONF_DIR_TRADUCCION).toAscii().constData());
00053         } // end if
00054         theApp->installTranslator(traductor);
00055 
00056     mypluginbf *plug = new mypluginbf();
00057     plug->inicializa(bges);
00058     _depura("END Punto de Entrada del plugin ComercialBF", 0);
00059     return 0;
00060 }

MY_EXPORT int FacturaView_FacturaView ( FacturaView l  ) 

Dibuja el boton de exportar en el formulario de factura a cliente.

Parameters:
l 
Returns:

Definition at line 151 of file efacturabf.cpp.

References _depura(), and Ui_FacturaBase::mui_plugbotones.

00151                                               {
00152         _depura("FacturaView_FacturaView", 0);
00153         
00154         EFQToolButton *mui_exporta_efactura = new EFQToolButton(fac, fac->mui_plugbotones);
00155         mui_exporta_efactura->setObjectName(QString::fromUtf8("exporta"));
00156         mui_exporta_efactura->setMinimumSize(QSize(32, 32));
00157         mui_exporta_efactura->setIcon(QIcon(QString::fromUtf8("/usr/share/bulmages/efactura/efactura.png")));
00158         mui_exporta_efactura->setIconSize(QSize(22, 22));
00159         mui_exporta_efactura->setStatusTip("Exportar eFactura");
00160         mui_exporta_efactura->setToolTip("Exportar eFactura");
00161 
00162        QHBoxLayout *m_hboxLayout1 = fac->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00163        if (!m_hboxLayout1) {
00164                 m_hboxLayout1 = new QHBoxLayout(fac->mui_plugbotones);
00165                 m_hboxLayout1->setSpacing(5);
00166                 m_hboxLayout1->setMargin(5);
00167                 m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00168        } // end if
00169 
00170         m_hboxLayout1->addWidget(mui_exporta_efactura);
00171         
00172         _depura("END FacturaView_FacturaView", 0);
00173         
00174         return 0;
00175 }


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