Changeset e62517a in mmcs for mainwindow.H
- Timestamp:
- Aug 31, 2016, 5:18:22 PM (8 years ago)
- Branches:
- master
- Children:
- 0b59ba5
- Parents:
- 4c71262
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mainwindow.H
r4c71262 re62517a 2 2 #define MAINWINDOW_H 3 3 4 #include <Qt Gui>4 #include <QtWidgets> 5 5 6 6 #include <formloadmatrix.H> 7 #include <ui_formLoadMatrix.h> 7 8 #include <formviewmatrix.H> 8 9 #include <formvariablesexogenas.h> … … 16 17 #include <formincidenciai.h> 17 18 #include <formpreciosnohomogeneos.h> 19 #include <formexportreport.h> 20 #include <ui_formexportreport.h> 18 21 #include <genericFunctions.h> 19 22 … … 28 31 #include <QMap> 29 32 #include <QVector> 33 #include <QPrinter> 30 34 31 35 #include <Eigen> … … 166 170 167 171 FormLoadMatrix * formLoadMatrix; 168 Form ViewMatrix* formViewMatrix;172 FormMatrixView * formViewMatrix; 169 173 FormVariablesExogenas * formVariablesExogenas; 170 174 FormExportMatrix * formExportMatriz; … … 190 194 bool comprobarNombreCuenta(QString, int indice); 191 195 void clonarTabla(QTableWidget *,QTableWidget *, int cantidad); 192 void noEditColZero(QTableWidget *);193 196 void setAccountTitle(QTableWidget *); 194 197 void insertremoveRowCol(QTableWidget *, int rowcol, bool opcion); … … 198 201 void spanEndogenaCell(QTableWidget *, int inicio, int celda, bool endex=true); 199 202 void spanExogenaCell(QTableWidget *,int celda); 200 void tableItem(QTableWidget *, int inicio, int fin, QString texto);201 203 202 204 void TotalEndoExoTable(int elementos, int cantidad); 203 205 204 QList<QString> llenarLista(QList<QString>, QTableWidget *, int valor, int opcion);205 void insertRowExogena(QList<QString>, QTableWidget *, int opcion);206 206 void setEndogenaExogenaCell(QTableWidget *, int inicioExogena, int elementos,bool condicion); 207 207 void CalcularAn(QTableWidget *, QTableWidget *, QTableWidget *, int count, bool endogena = false); 208 208 QString Separador(QTableWidgetItem *,bool quitar); 209 void ItemsNoEditable(QTableWidget *, int inicio, int fin, int col=0);210 void CellStyle(QTableWidgetItem *);211 void CellStyleComponente(QTableWidgetItem *);212 void CellStyleExEn(QTableWidgetItem *);213 209 void EndogenaAn(); 214 210 … … 217 213 218 214 void obtenerCuentaComponentes(); 219 void crearTablaVaciaEncadenamiento(int filas, QTableWidget *, int columnas=4);220 215 void crearMatrizEncadenamiento(QTableWidget *, QTableWidget *); 221 216 void crearMatrizEncadenamientoEndogena(QTableWidget *, QTableWidget *, Eigen::MatrixXd Matrix); 222 217 void calcularTotalesEncadenamientos(QTableWidget *); 223 void encademientosStyle(QTableWidgetItem *);224 218 void cuentacomponentesEncadenamiento(QTableWidget *, int count); 225 219 void obtenerUiUj(QTableWidget *, QVector<double> &, QVector<double> &); … … 232 226 QVector<double> obtenerResultadoEscenario(QVector<double>); 233 227 QStringList obtenerNombreResultadoEscenario(); 234 void crearTablaComparar(QTableWidget *, QTableWidget *);235 228 void cuentacomponentesResultado(QTableWidget *, int count, bool clasico = true); 236 229 … … 263 256 QStringList obtenerCuentas(); 264 257 265 void titleSeleccionar(QTableWidget *);266 267 258 bool ComprobarCuentas(); 268 259 int ObtenerIndice(QString ); … … 270 261 QStringList ObtenerNombreCuenta(int contador); 271 262 QList<int> ObtenerLimitesCuenta(int contador,int opccion); 272 QStringList ObtenerComponentes(QTableWidget *);273 void CrearTablaVacia(int contador,QTableWidget *);274 263 275 264 protected: … … 294 283 void slotAccChange(); 295 284 285 //Slots para las variables exógenas 296 286 void slotVariableExogena(); 297 287 void slotCloseExogena(); … … 302 292 void slotMa(); 303 293 294 //Slots para encadenamientos 304 295 void slotEncadenamientos(); 305 296 void slotCloseEncadenamiento(); … … 308 299 void slotClasificarCuentas(); 309 300 301 //Slots para reportes 302 void slotEncadenamientoReport(); 303 void slotGenerarEncadenamientoReport(QString); 304 305 //Slots para exportar 310 306 void slotCloseExport(); 311 307 void slotSaveExport(); 312 308 void slotSearchExport(); 313 309 310 //Slots para el modelo clásico 314 311 void slotModeloClasico(); 315 312 void calcularEscenario(bool clasico = true); 316 313 void finalizarEscenario(); 317 314 315 //Slots para el modelo no clásico 318 316 void slotModeloNoClasico(); 319 317 void calcularEscenarioNC(); … … 350 348 void slotSeleccionarTabla(); 351 349 350 //Slots del menú de ayuda 352 351 void abrirManual(); 353 352 void acercaDe(); … … 356 355 MainWindow(); 357 356 QString numberFormat(double &); 358 359 int contarElementosMap(QMap<QString, QStringList> diccionario);360 357 }; 361 358
Note: See TracChangeset
for help on using the changeset viewer.