Guest User

Untitled

a guest
Dec 8th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void DialogNouvAch::ajoutligne()
  2. {
  3.     int row = model->rowCount(); // current row count
  4.     model->insertRow(row);
  5.     model->setData(model->index(row, 0), QVariant(Name));
  6.     model->setData(model->index(row, 1), QVariant(Tel));
  7.     // and so on
  8. }
Add Comment
Please, Sign In to add comment