Re: [Interest] how do I load massive table views instantly?

2020-06-10 Thread Constantin Makshin
>> 1) quickly calculate/get the total number of items and return that value >> from rowCount() to let views properly configure their scroll bars; > is that a method one overrides? where is "rowCount()" defined? > do i override it by subclassing QSortFilterProxyModel? Yes, it's one of the pure

Re: [Interest] how to get 3 pixel focus ring?

2020-06-10 Thread Adam Light
On Tue, Jun 9, 2020 at 11:02 AM David M. Cotter wrote: > ONLY around the lineEdit (search box, working fine on mac), the Tree view, > or the Table view. > > these are the only three places that are the targets of the keyboard > > if you run my example project, you'll see things work fine for

Re: [Interest] how to get 3 pixel focus ring?

2020-06-10 Thread Elvis Stansvik
If you really want this, how about a proxy style? (QProxyStyle). I think that's the only way for you to get what you want. You could try to wrangle it using a QFocusFrame subclass with custom paintEvent, but you'd have to manually track widget resizes using an event filter, and I'm not sure