Changeset fc268a0 in mmcs for mainwindow.H
- Timestamp:
- Sep 18, 2015, 3:35:09 PM (9 years ago)
- Branches:
- master, matrices
- Children:
- 814c04d
- Parents:
- 96b0c4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mainwindow.H
r96b0c4a rfc268a0 13 13 #include <ui_formcompararmnc.h> 14 14 #include <formcompararmnc.h> 15 #include "ui_formincidenciai.h" 16 #include <formincidenciai.h> 15 17 16 18 #include <sstream> … … 37 39 QMenu menuHelp; 38 40 QMenu EndoExo; 41 39 42 QMenu Modelos; 43 QMenu PHClasico; 44 QMenu PHClasicoIncidencia; 40 45 41 46 QAction actionLoadMatrix; 42 47 QAction actionExportMatrix; 43 48 QAction actionQuit; 49 QAction actionNewProject; 44 50 45 51 QAction actionCH; … … 49 55 QAction actionLa; 50 56 51 QAction actionEncadenamiento; 57 QAction actionEncadenamiento; 58 52 59 QAction actionModeloClasico; 53 60 QAction actionCompararResultados; 54 61 QAction actionModeloNoClasico; 55 62 QAction actionCompararResultadosMNC; 63 64 QAction actionPHClasicoIncidencia100; 65 QAction actionPHCIncidenciaCuenta; 66 QAction actionPHCIncidenciaComponente; 56 67 57 68 … … 63 74 QMap<QString,QStringList> diccCuentasComponentes; 64 75 QMap<QString,QStringList> diccCuentasEncadenamientos; 76 QMap<QString,double> totalCuentas; 77 78 QStringList ComponentesEndogenos; 65 79 66 80 QTableWidget *MatrizExgEnd; … … 71 85 Eigen::MatrixXd MatrixMa; 72 86 Eigen::MatrixXd MatrixMb; 87 Eigen::MatrixXd MatrizMat; 73 88 74 89 … … 90 105 int opcionFormCompararResultados; 91 106 int opcionFormCompararResultadosMNC; 107 int opcionMAT; 92 108 93 109 QVector<double> subtotalEnd; 94 110 QVector<double> subtotalExog; 95 111 QVector<double> subtotalExogEnd; 112 QVector<double> Vpond; 96 113 97 114 int cantidadEncadenamientos; … … 100 117 int cantidadMNC;//Cantidad de Modelos No Clasicos 101 118 int cantidadResultadosMNC; 119 int cantidadPHCindidenciaiCuenta; 120 int cantidadPHCindidenciaiComponente; 102 121 103 122 FormLoadMatrix * formLoadMatrix; … … 108 127 FormCompararResultados *formCompararResultados; 109 128 FormCompararMNC *formCompararMNC; 129 FormIncidenciaI *FI; 110 130 111 131 void initGUI(); … … 141 161 void EndogenaAn(); 142 162 163 void calcularTotalCuentas(QTableWidget *); 164 void estimarVectorPonderacion(QTableWidget *); 165 143 166 void obtenerCuentaComponentes(); 144 void crearTablaVaciaEncadenamiento(int columnas, QTableWidget *, int filas=4);167 void crearTablaVaciaEncadenamiento(int filas, QTableWidget *, int columnas=4); 145 168 void crearMatrizEncadenamiento(QTableWidget *, QTableWidget *); 146 169 void crearMatrizEncadenamientoEndogena(QTableWidget *, QTableWidget *); … … 172 195 void titleEndogena(QTableWidget *); 173 196 197 void calcularMaT(); 198 void calcularPHCIncidencia100(QTableWidget *); 199 void calcularPHCIncidenciaI(QTableWidget *, QMap<QString, double>); 200 void calcularPHCIncidenciaIComponente(QTableWidget *,QTableWidget *); 201 174 202 bool ComprobarCuentas(); 175 203 int ObtenerIndice(QString ); … … 184 212 185 213 private slots: 214 void slotNuevoProyecto(); 186 215 void slotLoadMatrix(); 187 216 void slotExportMatrix(); … … 226 255 void slotVerResultadoMNC(); 227 256 257 void slotPHCIncidencia100(); 258 void slotPHCIncidenciaiCuenta(); 259 void slotCalcularPHCIncidenciaiCuenta(); 260 void slotPHCIncidenciaiComponente(); 261 void slotCalcularPHCIncidenciaiComponente(); 262 228 263 void slotCompararResultados(); 229 264 void slotVerResultado();
Note: See TracChangeset
for help on using the changeset viewer.