Re: [PySide] editing selected cells in QTabelWidget

2022-08-31 Thread David Ching
> From: Frank Rueter mailto:fr...@ohufx.com > Thanks, I solved that part by not using the persistent editor at all as that > seemed to interrupt things. > Instead I just use the mousePressEvent on the table to make single clicks > edit the cells. Then I have > the delegate's setModelData

Re: [PySide] editing selected cells in QTabelWidget

2022-08-31 Thread Frank Rueter
PySide On Behalf Of Frank Rueter > > Sent: Friday, August 26, 2022 3:05 AM > > Subject: Re: [PySide] editing selected cells in QTabelWidget > > > So I made some progress but am now having the problem that a right click > &g

Re: [PySide] editing selected cells in QTabelWidget

2022-08-30 Thread David Ching
with checkmarks. Would that work for you? Thanks, David > From: PySide On Behalf Of Frank Rueter > Sent: Friday, August 26, 2022 3:05 AM > Subject: Re: [PySide] editing selected cells in QTabelWidget > So I made some progress but am now having the problem that a right click > on a pe

Re: [PySide] editing selected cells in QTabelWidget

2022-08-26 Thread Keith Kyzivat
ide On Behalf Of Frank Rueter Sent: Friday, August 26, 2022 3:05 AM To: David Ching Cc: pyside@qt-project.org Subject: Re: [PySide] editing selected cells in QTabelWidget So I made some progress but am now having the problem that a right click on a persistent editor (combo box) will lose the current ta

Re: [PySide] editing selected cells in QTabelWidget

2022-08-26 Thread Frank Rueter
So I made some progress but am now having the problem that a right click on a persistent editor (combo box) will lose the current table selection. I tried reimplementing the mousePressEvent on both the editor widget and the actual table widget to stop that behaviour but to no avail. Here is a

Re: [PySide] editing selected cells in QTabelWidget

2022-08-25 Thread Frank Rueter
Thanks David, I was thinking about a right click option as a Plan B. Will do that. I will look into using a delegate as well. I had forgotten I could use those with the TableWidget as well. Thanks! Frank On Fri, Aug 26, 2022 at 4:52 AM David Ching wrote: > > Date: Thu, 25 Aug 2022 20:36:01

Re: [PySide] editing selected cells in QTabelWidget

2022-08-25 Thread David Ching
> Date: Thu, 25 Aug 2022 20:36:01 +1200 > From: Frank Rueter > Subject: [PySide] editing selected cells in QTabelWidget > Hi all, > > I have a simple table which will never hold much data, so I opted for QTabelWidget rather than QTabelView. > Two columns have combo boxes set as cell widgets; all