Hi, I'm having some trouble getting drag+drop to work properly within a QComboBox widget. I've posted to SO: http://stackoverflow.com/questions/13141143/pyqt4-items-disappear-when-using-drag-and-drop-with-qcombobox
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 the dragged items keep disappearing instead of moving. My code is pasted below. Is there anything obviously wrong here? Thanks, Chris from PyQt4.QtGui import QApplication, QComboBox, QAbstractItemView a = QApplication(['']) c = QComboBox() c.addItem('a') c.addItem('b') c.addItem('c') c.addItem('d') view = c.view() view.setDragDropMode(QAbstractItemView.InternalMove) c.show() c.raise_() a.exec_()
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt