#include <QToolButton>#include "pluginproyectos.h"#include "tiptrab.h"#include "listado.h"#include "listproyectosview.h"Go to the source code of this file.
Functions | |
| int | entryPoint (Bulmacont *bges) |
| int | ccosteview_ccosteview (ccosteview *ccoste) |
| int | Ficha_cargar (Ficha *ficha) |
| 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 }
| int entryPoint | ( | Bulmacont * | bges | ) |
| bges |
Añade en el menú del programa la opcióMn para acceder al corrector.
Definition at line 84 of file pluginproyectos.cpp.
References _depura(), bges, and mytiptrab::inicializa().
00084 { 00085 _depura("Estoy dentro del plugin de proyectos", 0); 00086 mytiptrab *plug = new mytiptrab(); 00087 plug->inicializa(bges); 00088 return 0; 00089 }
| int Ficha_cargar | ( | Ficha * | ficha | ) |
| ficha |
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