[PyQt] an extar space in QtableWidget when i drag

2013-09-02 Thread Mohsen Pahlevanzadeh
Dear all, My originial question is at: http://stackoverflow.com/questions/18581602/an-extra-space-in-qtablewidget-generated-witout-any-season Before answering, Thank you for attention...! Yours, Mohsen ___ PyQt mailing listPyQt@riverbankcomputing.

[PyQt] owner-definition slot for menu

2013-09-02 Thread Mohsen Pahlevanzadeh
Dear all, i questioned about owner-defionition slot for menu at : http://stackoverflow.com/questions/18580894/owner-defenition-slot-for-menu-pyqt4 Before answering, Thank you... Yours, Mohsen ___ PyQt mailing listPyQt@riverbankcomputing.com http:/

Re: [PyQt] return value from QGraphicsItem::itemChange is not handled properly.

2013-09-02 Thread Phil Thompson
On Thu, 29 Aug 2013 14:58:07 +, Yann Le Hir wrote: > Hi, > > I'm having an issue with QGraphicsItem::itemChange. > > Here is the test program : > > import PyQt5.Qt as qt > > class Node( qt.QGraphicsRectItem ) : > def __init__( self , sector ) : > super( Node , self ).__ini

[PyQt] Keyboard shortcut for specific widget

2013-09-02 Thread Joe Borġ
I'm trying to use QShortcut to set a keyboard shortcut, only for when a certain widget is focused. I thought that by setting the parent, this would work. For example: QtGui.QShortcut(QtGui.QKeySequence("Ctrl+Return"), self.myWidget, self.doSomething) But, this is fired when ever Ctrl+Return is p

[PyQt] QTableView cell deselected after soting

2013-09-02 Thread Sebastian Elsner
Hello, I have found a strange behavior with a combo of QTableView, QSortFilterProxyView and disabled items. If you select a row in the table from the example below then sort by a column, the cell in the last column will be deselected after sorting. This happens only for cells with ItemIsSelec