Re: [Interest] QTableView - only trigger edit event in lower part of cell

2018-05-01 Thread Frank Rueter | OHUfx
Ah, looks like my approach was correct but I had not turned off edit triggers properly, so those were interfering with the expected behaviour. On 1/05/18 8:21 PM, Frank Rueter | OHUfx wrote: Hi, I have spent several hours trying to get this right but seem to be failing: I have a QTableView (w

Re: [Interest] Possible to draw between QWindows

2018-05-01 Thread Murphy, Sean
> By definition, you can only draw inside a window. > > So if you need to draw, put a window there. Maybe you can make a window > that has no title bar, no borders and is transparent. That was going to be my suggestion as well, and I was working on something last week that needed a transparent ov

Re: [Interest] Possible to draw between QWindows

2018-05-01 Thread Thiago Macieira
On Tuesday, 1 May 2018 08:31:58 PDT Michael Jackson wrote: > Possibly strange question that I have googled a bit for but I may not be > using the proper terminology to get the answers that I am looking for. > > I have a QWidget (say a button) in QWindow "A" and I want to perform a drag > action fr

Re: [Interest] Interest Digest, Vol 79, Issue 21

2018-05-01 Thread Thiago Macieira
On Tuesday, 1 May 2018 07:38:52 PDT Roland Hughes wrote: > For decades the x86 defined the absolute bottom of the IT universe. When > you didn't care about it you put it on x86. You do realise that 99% of the Cloud today is x86, right? Of the rest of the 1%, I'm going to guess it's 50-50 between

[Interest] Possible to draw between QWindows

2018-05-01 Thread Michael Jackson
Possibly strange question that I have googled a bit for but I may not be using the proper terminology to get the answers that I am looking for. I have a QWidget (say a button) in QWindow "A" and I want to perform a drag action from that QWidget onto another QWidget in another QWindow "B" (So far

Re: [Interest] Interest Digest, Vol 79, Issue 21

2018-05-01 Thread Roland Hughes
On 05/01/2018 08:29 AM, Jason H wrote: 1. You're still yellow. (Message backgrounds anyway) I never said I would change. I simply told you why I use yellow. If it bothers you subscribe in digest mode where all formatting is stripped. 2. I think you're too hung up on the size of your computer.

Re: [Interest] Interest Digest, Vol 79, Issue 21

2018-05-01 Thread Jason H
1. You're still yellow. (Message backgrounds anyway) 2. I think you're too hung up on the size of your computer. :-) 3. I agree network byte order is the lingua franca, but you're spending CPU cycles to swap bytes around. However this only wastes instructions on enciding and decoding information

[Interest] QTableView - only trigger edit event in lower part of cell

2018-05-01 Thread Frank Rueter | OHUfx
Hi, I have spent several hours trying to get this right but seem to be failing: I have a QTableView (which uses a QAbstractTableModel) and a custom delegate which takes care of the cell painting. At the bottom of each cell I need a combo box which I want editable by a single click, so no clicki