#include <QDockWidget>#include "plugintecladonumerico.h"#include "funcaux.h"#include "empresatpv.h"#include "tecladonumerico.h"Go to the source code of this file.
Functions | |
| int | entryPoint (BulmaTPV *tpv) |
| int | EmpresaTPV_createMainWindows_Post (EmpresaTPV *etpv) |
| int | Input_keyPressEvent_Post (Input *in) |
Variables | |
| QDockWidget * | g_doc1 |
| TecladoNumerico * | g_tecl |
| int EmpresaTPV_createMainWindows_Post | ( | EmpresaTPV * | etpv | ) |
Definition at line 54 of file plugintecladonumerico.cpp.
References g_doc1, and g_tecl.
00054 { 00055 g_tecl = new TecladoNumerico(etpv, g_doc1); 00056 // etpv->pWorkspace()->addWindow(g_tecl); 00057 g_doc1->setWidget(g_tecl); 00058 return 0; 00059 }
| int entryPoint | ( | BulmaTPV * | tpv | ) |
Vamos a probar con un docwindow.
Definition at line 39 of file plugintecladonumerico.cpp.
References _depura(), and g_doc1.
00039 { 00040 _depura("entryPoint", 0); 00042 g_doc1 = new QDockWidget("Teclado", tpv); 00043 g_doc1->setFeatures(QDockWidget::AllDockWidgetFeatures); 00044 00045 g_doc1->setGeometry(100, 100, 100, 500); 00046 g_doc1->resize(330, 400); 00047 tpv->addDockWidget(Qt::LeftDockWidgetArea, g_doc1); 00048 g_doc1->show(); 00049 00050 _depura("END entryPoint", 0); 00051 return 0; 00052 }
| int Input_keyPressEvent_Post | ( | Input * | in | ) |
Definition at line 61 of file plugintecladonumerico.cpp.
References g_tecl, Ui_TecladoNumericoBase::mui_display, and Input::valorInput().
00061 { 00062 g_tecl->mui_display->setText(in->valorInput()); 00063 }
Definition at line 32 of file plugintecladonumerico.cpp.
Definition at line 34 of file plugintecladonumerico.cpp.
Referenced by EmpresaTPV_createMainWindows_Post(), and Input_keyPressEvent_Post().
1.5.1