Hi Bo,
I have followed your advise and gone back to QListView with a delegate.
My first test was to render the custom widget I need via the delegate
paint method. This populates a static version of the movie player (the
custom widget I need).
Then, also in the delegate's paint method, I use set
Thanks Reto,
I'm not entirely certain I understand your example (I'm using Python).
I'm not quite sure yet how I would instantiate the widgets based on
their visibility yet, but will think about it again if I can't get the
QDelegate to work with animation.
Cheers,
frank
On 5/08/16 1:09 am, R
Thanks bo,
I will have a look at QListView and delegates instead. I'd love to get
that to work as it has so many things for free that I will want to utilise.
I am having trouble though with creating a delegate that makes every
item behave like my custom widget.
E.g. The widget/item is like a
Hi Frank
if the children are the same type and it's like a table, I would
recommend the following alternative:
don't inherit from it QScrollArea but instantiate as many child widget's
as visible. bind now the child-widgets depending of the position of the
scrollbar with the object.
> widge
Den 04-08-2016 kl. 10:05 skrev Frank Rueter | OHUfx:
I am playing with the idea of writing a custom widget based on
QScrollArea, where widgets are created as the user scrolls.
I'm just hoping to bounce the general idea of you guys here to see if
I'm heading in the right direction:
I have a heap
Hi all,
I am playing with the idea of writing a custom widget based on
QScrollArea, where widgets are created as the user scrolls.
I'm just hoping to bounce the general idea of you guys here to see if
I'm heading in the right direction:
I have a heap of custom widgets, potentially thousands,