#include <QObject>#include "bulmacont.h"#include "ccosteview.h"#include "ficha.h"Go to the source code of this file.
Defines | |
| #define | MY_EXPORT |
Functions | |
| MY_EXPORT int | entryPoint (Bulmacont *) |
| MY_EXPORT int | ccosteview_ccosteview (ccosteview *) |
| MY_EXPORT int | Ficha_cargar (Ficha *) |
| #define MY_EXPORT |
Definition at line 24 of file pluginproyectos.h.
| MY_EXPORT int ccosteview_ccosteview | ( | ccosteview * | ccoste | ) |
| ccoste |
Agregamos el subformulario de proyectos.
Definition at line 96 of file pluginproyectos.cpp.
References _depura(), ccoste, Ui_ListProyectosBase::mui_actualizar, Listado::SelectMode, and TRUE.
00096 { 00097 _depura("ccosteview_ccosteview", 0); 00098 00100 ListProyectosView *l = new ListProyectosView(ccoste->empresaBase(),ccoste, 0, Listado::SelectMode); 00101 l->setObjectName(QString::fromUtf8("mui_proyectos")); 00102 l->mui_actualizar->setDisabled(TRUE); 00103 ccoste->tabWidget->addTab(l, "Proyectos Asociados"); 00104 return 0; 00105 }
| MY_EXPORT int entryPoint | ( | Bulmacont * | bcont | ) |
Añade en el menú del programa la opcióMn para acceder al corrector.
Definition at line 91 of file plugin.cpp.
00091 { 00092 _depura("Estoy dentro del plugin\n", 0); 00093 myplugin *plug = new myplugin(); 00094 plug->inicializa(bcont); 00097 bcont->setWindowTitle("Prueba de plugin."); 00098 }
| MY_EXPORT int Ficha_cargar | ( | Ficha * | fich | ) |
| fich |
Definition at line 113 of file pluginproyectos.cpp.
00113 { 00114 ListProyectosView *l = ficha->findChild<ListProyectosView *>("mui_proyectos"); 00115 if (l) 00116 l->mui_listado->cargar("SELECT * FROM presupuestoc WHERE idc_coste = " + ficha->DBvalue("idc_coste")); 00117 return 0; 00118 }
1.5.1