Changeset 814c04d in mmcs
- Timestamp:
- Sep 21, 2015, 11:53:53 AM (9 years ago)
- Branches:
- master, matrices
- Children:
- cfbc36f
- Parents:
- fc268a0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rfc268a0 r814c04d 1 1 ############################################################################# 2 2 # Makefile for building: SMSAM 3 # Generated by qmake (2.01a) (Qt 4.8.2) on: Fri Sep 18 09:48:2220153 # Generated by qmake (2.01a) (Qt 4.8.2) on: Mon Sep 21 11:43:19 2015 4 4 # Project: SMSAM.pro 5 5 # Template: app -
mainwindow.C
rfc268a0 r814c04d 1004 1004 lw = findChild<QListWidget *>(QString("accountlist %1").arg(index + 1));//Se obtiene la lista seleccionada 1005 1005 QStringList componentes_cuenta; 1006 1007 if(nombre_cuenta!="Todas las Cuentas") 1008 { 1009 if(!lw->isEnabled()) 1010 { 1011 QMessageBox::warning(this,"Alerta","La Cuenta Actual ya fue Agregada"); 1012 } 1013 else if(lw->selectedItems().count()==0) 1014 { 1015 QMessageBox::warning(this,"Alerta", 1016 "Para Agregar la Cuenta debe seleccionar \n al menos un valor"); 1017 } 1018 else 1019 { 1020 int contar=lw->selectedItems().count(); 1021 for(int i=0;i<contar;i++) 1022 { 1023 componentes_cuenta.append(lw->selectedItems().value(i)->text()); 1024 } 1025 lw->setDisabled(true); 1026 diccCuentasExogenas.insert(nombre_cuenta,componentes_cuenta); 1027 opcionCuentaExogena++; 1028 } 1006 if(!lw->isEnabled()) 1007 { 1008 QMessageBox::warning(this,"Alerta","La Cuenta Actual ya fue Agregada"); 1009 } 1010 else if(lw->selectedItems().count()==0) 1011 { 1012 QMessageBox::warning(this,"Alerta", 1013 "Para Agregar la Cuenta debe seleccionar \n al menos un valor"); 1014 } 1015 else 1016 { 1017 int contar=lw->selectedItems().count(); 1018 for(int i=0;i<contar;i++) 1019 { 1020 componentes_cuenta.append(lw->selectedItems().value(i)->text()); 1021 } 1022 lw->setDisabled(true); 1023 diccCuentasExogenas.insert(nombre_cuenta,componentes_cuenta); 1024 opcionCuentaExogena=1; 1029 1025 } 1030 1026 } … … 3924 3920 cantidades.insert(cuenta,value.toDouble()); 3925 3921 } 3926 qDebug()<<"cantidades"<<cantidades;3927 3922 3928 3923 QTableWidget *MatrizIC = new QTableWidget;
Note: See TracChangeset
for help on using the changeset viewer.