title: QAbstractItemView Tab Focus While Editing Item
body: <p>I have a <code>QTreeView</code> populated with items from a model. When a call to <code>edit()</code> is made on an index, a custom editor displays. The editor consists of two <code>QLineEdit</code> widgets.</p>
  
  <p><a href="https://i.stack.imgur.com/OQ7HK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OQ7HK.png" alt="enter image description here"></a></p>
  
  <p>I want the focus to switch between the two <code>QLineEdit</code> widgets when Tab is pressed. However, pressing Tab cycles through everything else on my program. All my <code>QPushButton</code> and <code>QTabWidget</code> objects are included in the Tab order even though they are completely different widgets than my editor.</p>
  
  <p>I've tried setting the tab order using <code>setTabOrder()</code> to loop it between the two <code>QLineEdit</code> widgets, however this still doesn't isolate the editor widget from the surrounding widgets. Why is this happening?</p>
  
  <p>NOTE: I'm not trying to disable tab ordering anywhere else, just isolate it to my editor for the time being.</p>
  
  <p>Thanks for your time!</p>