You can move row using method "moveSection" in table->verticalHeader()