Dear All

I create a table view like
Qt Code:
  1. q.exec("crate view .....");
  2.  
  3. model ->setTable("tum_hareket_fisleri");
  4. model ->select();
  5.  
  6. tableView->setModel(model );
  7. for (int i = 0; i < model ->rowCount(); ++i) {
  8. QCheckBox *cbox = new QCheckBox(tableView);
  9. tableView->setIndexWidget(model ->index(i, 16), cbox);
  10. }
To copy to clipboard, switch view to plain text mode 

But I am not able to get a check box in my table any idea?