#include <QToolButton>#include <QLineEdit>#include <QTableWidget>#include "pluginticketbasico.h"#include "funcaux.h"#include "ticket.h"#include "empresatpv.h"#include "mticket.h"Go to the source code of this file.
Functions | |
| int | entryPoint (BulmaTPV *tpv) |
| int | EmpresaTPV_createMainWindows_Post (EmpresaTPV *etpv) |
| int | Ticket_pintar (Ticket *) |
Variables | |
| QDockWidget * | g_doc1 |
| QDockWidget * | g_doc2 |
| MTicket * | g_bud |
| QTextBrowser * | g_browser |
| int EmpresaTPV_createMainWindows_Post | ( | EmpresaTPV * | etpv | ) |
Definition at line 75 of file pluginticketbasico.cpp.
References g_browser, g_bud, g_doc1, and g_doc2.
00075 { 00076 g_bud = new MTicket(etpv, g_doc1); 00077 g_doc1->setWidget((QWidget *)g_bud); 00078 00079 g_browser = new QTextBrowser(g_doc2); 00080 g_doc2->setWidget(g_browser); 00081 00082 return 0; 00083 }
| int entryPoint | ( | BulmaTPV * | tpv | ) |
Vamos a probar con un docwindow.
Vamos a probar con un docwindow.
Definition at line 44 of file pluginticketbasico.cpp.
References _depura(), g_doc1, g_doc2, and myplugin::inicializa().
00044 { 00045 _depura("entryPoint", 0); 00046 00047 myplugin *plug = new myplugin(); 00048 plug->inicializa(tpv); 00049 00050 00051 00053 g_doc1 = new QDockWidget("Total", tpv); 00054 g_doc1->setFeatures(QDockWidget::AllDockWidgetFeatures); 00055 00056 g_doc1->setGeometry(100, 100, 100, 500); 00057 g_doc1->resize(330, 400); 00058 tpv->addDockWidget(Qt::RightDockWidgetArea, g_doc1); 00059 g_doc1->show(); 00060 00061 00063 g_doc2 = new QDockWidget("Total", tpv); 00064 g_doc2->setFeatures(QDockWidget::AllDockWidgetFeatures); 00065 00066 g_doc2->setGeometry(100, 100, 100, 500); 00067 g_doc2->resize(330, 400); 00068 tpv->addDockWidget(Qt::LeftDockWidgetArea, g_doc2); 00069 g_doc2->show(); 00070 00071 _depura("END entryPoint", 0); 00072 return 0; 00073 }
| int Ticket_pintar | ( | Ticket * | ) |
| QTextBrowser* g_browser |
Definition at line 37 of file pluginticketbasico.cpp.
Referenced by EmpresaTPV_createMainWindows_Post(), and MTicket::pintar().
Definition at line 36 of file pluginticketbasico.cpp.
Referenced by EmpresaTPV_createMainWindows_Post(), and Ticket_pintar().
Definition at line 33 of file pluginticketbasico.cpp.
Definition at line 34 of file pluginticketbasico.cpp.
Referenced by EmpresaTPV_createMainWindows_Post(), and entryPoint().
1.5.1