hey there i am trying to get values from my table entered by the user - but i am still having trouble getting the users data. my table is initially filled with all zero's but when the user enters their own number the only number that i get back is the original number which was zero. ive tried using teh following code to get a number from a particluar cell but i only get back zero?? any idea's....
int multiply = demands->item(2,1)->data(Qt:isplayRole).toInt();
demands is the name of my table and i just want the number the user enters at (2,1) to be stored inside multiply.
Bookmarks