Hi,

I am new to Qt and qml.
I want to write a simple code editor.
My problem is that if I use TextArea on a Tab than its no longer processes tab key as an input but rather it just switch focus to the "next" qml object.
Here is a simple sample code.
Qt Code:
  1. Window {
  2. visible: true
  3.  
  4. TabView
  5. {
  6. id: tmptv
  7. anchors.fill: parent
  8. Tab {
  9. id: tmptab
  10. title: "tmp1"
  11. active: true
  12. sourceComponent: TextArea {
  13. anchors.fill: parent
  14. }
  15. }
  16. }
  17. }
To copy to clipboard, switch view to plain text mode 
I think the problem is about that the tab key input somehow not propagated toward TextArea instead it is processed by the Tab.
Any suggestion how to make it possible to accept tab key in this case as input for code editing?
Thanks in advance!