Re: [PyQt] Question about catching and passing on mouse events in a QTableWidget

2012-01-02 Thread Steve Zatz
OK, it turned out to be straightforward to propagate the event. def mousePressEvent(self, e): self.leftpressed = e.button() == Qt.LeftButton super(Table, self).mousePressEvent(e) ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riv

[PyQt] Question about catching and passing on mouse events in a QTableWidget

2012-01-02 Thread Steve Zatz
I have what would seem to be a simple problem but have not been able to solve and any help would be appreciated. I have a table object based on QTableWidget that has a slot for its cellClicked signal. I would like to know whether various cells in the table are clicked with a left or right mouse c

Re: [PyQt] Need help installing PyQt on Snow Leopard

2009-12-19 Thread Steve Zatz
Never mind. I switched to the current snapshots and now everything's working fine. ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Need help installing PyQt on Snow Leopard

2009-12-19 Thread Steve Zatz
After switching my OS X Snow Leopard python default to 64-bit with: defaults write com.apple.versioner.python Prefer-32-Bit -bool no And then following Darren's directions, everything went fine until PyQt make install, which proceeded without problem until ld: library not found for -lqpygui coll

[PyQt] QTableWidget editing question

2009-11-27 Thread Steve Zatz
I am new to qt and pyqt but have been using wxPython for a long time. I am converting a moderately complex application from wxPython to pyqt and have been impressed with the ease of using pyqt. Here's my question and I apologize for the verbiage. The ability to get at the default widget text edit