Changeset 50550b0 in mmcs for mainwindow.C
- Timestamp:
- Aug 1, 2016, 11:28:54 AM (8 years ago)
- Branches:
- master
- Children:
- 4c71262
- Parents:
- 588814f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mainwindow.C
r588814f r50550b0 729 729 } 730 730 } 731 qDebug()<<vector; 731 732 //Se cargan los datos en la cuenta 732 733 for(int i=0;i<numAccounts;i++) … … 735 736 QSpinBox *SBStart = findChild<QSpinBox *>(QString("accountstart %1").arg(i+1)); 736 737 QSpinBox *SBEnd = findChild<QSpinBox *>(QString("accountend %1").arg(i+1)); 737 if(i==0) 738 { 739 le->setText(vector.at(i)); 740 SBStart->setValue(vector.at(i+1).toInt()); 741 SBEnd->setValue(vector.at(i+2).toInt()); 742 } 743 else 744 { 745 le->setText(vector.at(i+2)); 746 SBStart->setValue(vector.at(i+3).toInt()); 747 SBEnd->setValue(vector.at(i+4).toInt()); 748 } 738 le->setText(vector.at(i*3)); 739 SBStart->setValue(vector.at((i*3)+1).toInt()); 740 SBEnd->setValue(vector.at((i*3)+2).toInt()); 749 741 } 750 742 TotalPrincipalTable(tw,PrincipalTable,2); … … 758 750 759 751 //Se ocultan el StackedWidget con los datos de la cuenta 760 hideStackedWidget();752 //hideStackedWidget(); 761 753 762 754 /* Luego de calcular los totales se habilitan las opciones del menu herramientas */
Note: See TracChangeset
for help on using the changeset viewer.