title: qt- setting validator for input from tableview
body: <p>i have created a QTableView which gets data from QSqlTableModel but i want to set validation so that value changed from tableview is same with my data format.
  how can i do that? </p>