Changeset fa3f7a3 in mmcs for mainwindow.H
- Timestamp:
- Sep 3, 2015, 4:31:26 PM (9 years ago)
- Branches:
- master, matrices
- Children:
- 1a6f6fb
- Parents:
- e506dab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mainwindow.H
re506dab rfa3f7a3 9 9 #include <formexportmatrix.h> 10 10 #include <formencadenamientos.h> 11 #include <ui_formcompararresultados.h> 12 #include <formcompararresultados.h> 11 13 12 14 #include <sstream> … … 39 41 QAction actionCV; 40 42 QAction actionVariableExogena; 43 QAction actionCTVEndEx; 41 44 QAction actionLa; 45 42 46 QAction actionEncadenamiento; 47 QAction actionModeloClasico; 48 QAction actionCompararResultados; 43 49 44 50 … … 69 75 int opcionEncadenamientos; 70 76 int opcionCuentaEncadenamientos; 77 int opcionMa; 78 int opcionFormCompararResultados; 79 80 QVector<double> subtotalEnd; 81 QVector<double> subtotalExog; 71 82 72 83 int cantidadEncadenamientos; 84 int cantidadEscenarios; 85 int cantidadResultados; 73 86 74 87 FormLoadMatrix * formLoadMatrix; … … 77 90 FormExportMatrix * formExportMatriz; 78 91 FormEncadenamientos * formEncadenamientos; 79 92 FormCompararResultados *formCompararResultados; 80 93 81 94 void initGUI(); … … 110 123 111 124 void obtenerCuentaComponentes(); 112 void crearTablaVaciaEncadenamiento(int contador, QTableWidget * );125 void crearTablaVaciaEncadenamiento(int contador, QTableWidget *,int filas=4); 113 126 void crearMatrizEncadenamiento(QTableWidget *, QTableWidget *); 114 127 void crearMatrizEncadenamientoEndogena(QTableWidget *, QTableWidget *); 115 128 void calcularTotalesEncadenamientos(QTableWidget *); 116 129 void encademientosStyle(QTableWidgetItem *); 130 131 void calcularSubtotal(QTableWidget *, int inicio, int fin, int exogena); 132 void llenarEscenario(QTableWidget *); 133 void calcularFinEscenario(QTableWidget *); 134 QVector<double> obtenerResultadoEscenario(QVector<double>); 135 QStringList obtenerNombreResultadoEscenario(); 136 void crearTablaComparar(QTableWidget *, QTableWidget *); 137 void cuentacomponentesResultado(QTableWidget *, int count); 138 void validar(); 117 139 118 140 void crearMatrizEndogena(QTableWidget *); … … 149 171 void slotFinalizarExogena(); 150 172 void slotDeshacerExogena(); 151 void slotLa(); 173 void slotCTVEndogena(); 174 175 void slotMa(); 152 176 153 177 void slotEncadenamientos(); … … 159 183 void slotSaveExport(); 160 184 void slotSearchExport(); 185 186 void slotModeloClasico(); 187 void calcularEscenario(); 188 void finalizarEscenario(); 189 190 void slotCompararResultados(); 191 void slotVerResultado(); 161 192 162 193 public:
Note: See TracChangeset
for help on using the changeset viewer.