pluginticket.cpp File Reference

#include <QToolButton>
#include "pluginticket.h"
#include "funcaux.h"
#include "facturaview.h"
#include "presupuestoview.h"
#include "ticketqtoolbutton.h"

Go to the source code of this file.

Functions

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


Function Documentation

int AlbaranClienteView_AlbaranClienteView ( AlbaranClienteView l  ) 

Parameters:
l 
Returns:

Definition at line 75 of file pluginticket.cpp.

References _depura(), and Ui_AlbaranClienteBase::mui_plugbotones.

00075                                                                  {
00076        _depura("AlbaranClienteView_AlbaranClienteView", 0);
00077 //================================
00078        TicketQToolButton *mui_exporta_efactura2 = new TicketQToolButton(NULL, NULL, l, NULL, l->mui_plugbotones);
00079 
00080        QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00081        if (!m_hboxLayout1) {
00082                 m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00083                 m_hboxLayout1->setSpacing(5);
00084                 m_hboxLayout1->setMargin(5);
00085                 m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00086        } // end if
00087        m_hboxLayout1->addWidget(mui_exporta_efactura2);
00088 //================================
00089        _depura("END AlbaranClienteView_AlbaranClienteView", 0);
00090        return 0;
00091 }

int entryPoint ( Bulmafact  ) 

Returns:

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

Definition at line 35 of file pluginticket.cpp.

References _depura().

00035                             {
00036     _depura("Estoy dentro del plugin de envio de e-mail", 0);
00037     return 0;
00038 }

int FacturaView_FacturaView ( FacturaView l  ) 

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

Parameters:
l 
Returns:

Definition at line 99 of file pluginticket.cpp.

References _depura(), and Ui_FacturaBase::mui_plugbotones.

00099                                             {
00100        _depura("FacturaView_FacturaView", 0);
00101 //================================
00102        TicketQToolButton *mui_exporta_efactura2 = new TicketQToolButton(NULL, NULL, NULL, l, l->mui_plugbotones);
00103 
00104        QHBoxLayout *m_hboxLayout1 = l->mui_plugbotones->findChild<QHBoxLayout *>("hboxLayout1");
00105        if (!m_hboxLayout1) {
00106                 m_hboxLayout1 = new QHBoxLayout(l->mui_plugbotones);
00107                 m_hboxLayout1->setSpacing(5);
00108                 m_hboxLayout1->setMargin(5);
00109                 m_hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00110        } // end if
00111        m_hboxLayout1->addWidget(mui_exporta_efactura2);
00112 //================================
00113        _depura("END FacturaView_FacturaView", 0);
00114        return 0;
00115 }


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