Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void DialogNouvAch::ajoutligne()
- {
- int row = model->rowCount(); // current row count
- model->insertRow(row);
- model->setData(model->index(row, 0), QVariant(Name));
- model->setData(model->index(row, 1), QVariant(Tel));
- // and so on
- }
Add Comment
Please, Sign In to add comment