Hi volks,
I have a qtable en qtableItems class but i have made one col as QlineEdit. This is the code

Qt Code:
  1. QWidget* testTableItem::createEditor() const
  2. {
  3.  
  4. QLineEdit* le = ( QLineEdit *)(QTableItem::createEditor());
To copy to clipboard, switch view to plain text mode 
.......
......
}

I have reimplemented createEditor and in here i have made a validator for the qlineEdit.

Now i have a problem with the validator, i dont want to write 1, 2 inside the qline but i should be able to write 11 and 12 and in order to implement this i want to use events like pressReturned signal of qlineedit. I dont have qlineedit and is it possible to use pressRetuned signal in above situation?

thanx in advance