Changeset 79b7f06 in mmcs for genericFunctions.cpp
- Timestamp:
- Oct 31, 2016, 10:41:44 AM (8 years ago)
- Branches:
- master
- Children:
- c7597d8
- Parents:
- f1e8de0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
genericFunctions.cpp
rb0c244f r79b7f06 235 235 @param <opcion> Recibe la opción (1 para escribir en columna y 0 para la fila) 236 236 */ 237 void insertRowExogena(QList<QString> lista,QTableWidget *tw,int opcion )237 void insertRowExogena(QList<QString> lista,QTableWidget *tw,int opcion, bool center, int init) 238 238 { 239 239 for(int i=0;i<tw->rowCount();i++) … … 242 242 twi->setText(lista[i]); 243 243 twi->setFlags(twi->flags() ^ Qt::ItemIsEditable); 244 if(center and i>=init) 245 { 246 twi->setTextAlignment(Qt::AlignCenter); 247 } 244 248 int fin=tw->rowCount(); 245 249 if(opcion==1)
Note: See TracChangeset
for help on using the changeset viewer.