Hi, <br><br>I'm having some trouble getting drag+drop to work properly within a QComboBox widget. I've posted to SO: <a href="http://stackoverflow.com/questions/13141143/pyqt4-items-disappear-when-using-drag-and-drop-with-qcombobox">http://stackoverflow.com/questions/13141143/pyqt4-items-disappear-when-using-drag-and-drop-with-qcombobox</a><br>
<br>I thought I'd try here as well. In short, I want to be able to rearrange entries in a QComboBox with the mouse, but<br>the dragged items keep disappearing instead of moving. My code is pasted below. Is there anything obviously wrong here?<br>
<br>Thanks,<br>Chris<br><br><br>from PyQt4.QtGui import QApplication, QComboBox, QAbstractItemView<br><br>a = QApplication([''])<br>c = QComboBox()<br>c.addItem('a')<br>c.addItem('b')<br>c.addItem('c')<br>
c.addItem('d')<br><br>view = c.view()<br>view.setDragDropMode(QAbstractItemView.InternalMove)<br><br>c.show()<br>c.raise_()<br>a.exec_()