Changeset 07b8f66 in mmcs
- Timestamp:
- Sep 24, 2015, 9:12:58 AM (9 years ago)
- Branches:
- master
- Children:
- b1ef0b1
- Parents:
- 04999c9
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r04999c9 r07b8f66 1 1 ############################################################################# 2 2 # Makefile for building: SMSAM 3 # Generated by qmake (2.01a) (Qt 4.8.2) on: mar sep 22 11:01:5620153 # Generated by qmake (2.01a) (Qt 4.8.2) on: Wed Sep 23 11:12:13 2015 4 4 # Project: SMSAM.pro 5 5 # Template: app -
mainwindow.C
r04999c9 r07b8f66 196 196 void MainWindow::matricesMenuBar() 197 197 { 198 OpMatrices.setTitle("&Herramientas"); 198 menuTools.setTitle("&Herramientas"); 199 200 CoeficientesTecnicos.setTitle("&Coeficientes Técnicos"); 201 CoeficientesTecnicos.setDisabled(true); 199 202 200 203 actionCH.setText("Coeficientes &Horizontales"); 201 204 actionCH.setDisabled(true); 202 OpMatrices.addAction(&actionCH);205 CoeficientesTecnicos.addAction(&actionCH); 203 206 204 207 actionCV.setText("Coeficientes &Verticales"); 205 208 actionCV.setDisabled(true); 206 OpMatrices.addAction(&actionCV); 209 CoeficientesTecnicos.addAction(&actionCV); 210 211 menuTools.addMenu(&CoeficientesTecnicos); 207 212 208 213 EndoExo.setTitle("Variables &Exogenas"); … … 221 226 EndoExo.addAction(&actionLa); 222 227 223 OpMatrices.addMenu(&EndoExo);228 menuTools.addMenu(&EndoExo); 224 229 225 230 226 231 actionEncadenamiento.setText("E&ncadenamientos"); 227 232 actionEncadenamiento.setDisabled(true); 228 OpMatrices.addAction(&actionEncadenamiento);233 menuTools.addAction(&actionEncadenamiento); 229 234 230 235 Modelos.setTitle("&Modelos"); … … 312 317 Modelos.addMenu(&PreciosNH); 313 318 314 OpMatrices.addMenu(&Modelos);315 316 menuBar()->addMenu(& OpMatrices);319 menuTools.addMenu(&Modelos); 320 321 menuBar()->addMenu(&menuTools); 317 322 } 318 323 … … 725 730 726 731 /* Luego de calcular los totales se habilitan las opciones del menu herramientas */ 732 CoeficientesTecnicos.setEnabled(true); 727 733 actionCH.setEnabled(true); 728 734 actionCV.setEnabled(true); … … 2447 2453 lista.clear(); 2448 2454 } 2449 for each (QString key, diccCuentasComponentes.keys())2450 { 2451 ComponentesEndogenos.append( diccCuentasComponentes[key]);2455 for(int i=2;i<count-1;i++) 2456 { 2457 ComponentesEndogenos.append(tw->item(i,1)->text()); 2452 2458 } 2453 2459 } … … 4060 4066 FI = new FormIncidenciaI(this); 4061 4067 int contador = ComponentesEndogenos.count(); 4062 4063 4068 QTableWidget *tw = FI->ui->TableIncidencia; 4064 4069 crearTablaVaciaEncadenamiento(2,tw,contador); … … 4588 4593 QPushButton *buttonSeleccionar = findChild<QPushButton *>("SeleccionarPNH"); 4589 4594 connect(buttonSeleccionar,SIGNAL(clicked()),this,SLOT(slotSelectPNHi())); 4595 formPreciosNoHomogeneos->show(); 4590 4596 } 4591 4597 else -
mainwindow.H
r04999c9 r07b8f66 36 36 37 37 QMenu menuFile; 38 QMenu OpMatrices;39 38 QMenu menuTools; 40 39 QMenu menuViews; 41 40 QMenu menuHelp; 41 42 42 QMenu EndoExo; 43 QMenu CoeficientesTecnicos; 43 44 44 45 QMenu Modelos; -
moc_mainwindow.cpp
r04999c9 r07b8f66 2 2 ** Meta object code from reading C++ file 'mainwindow.H' 3 3 ** 4 ** Created: Wed Sep 23 09:47:5220154 ** Created: Wed Sep 23 11:20:10 2015 5 5 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) 6 6 **
Note: See TracChangeset
for help on using the changeset viewer.