Re: [PyQt] QItemDelegate createEditor - help with focusOut on custom widget

2011-08-24 Thread James Holstead
Below is a working example. You'll see the PathWidget looses focus when a combo box is selected. How can I delegate focus back to the patchwidget when the user clicks outside of the entire TableView? from PyQt4.QtGui import * from PyQt4.QtCore import * import sys import datetime class

[PyQt] QItemDelegate createEditor - help with focusOut on custom widget

2011-08-22 Thread James Holstead
Greetings, OS X 10.5.8 PyQT 4.8.3 I created a widget PathWidget which has a QGridLayout that contains 3 QComboBox's. This widget is only displayed in a specific column of a QTableView using the createEditor method override of the QItemDelegate. We started experiencing that the application