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