Does a StackedWidget plugin need multipage?
Hi, I'm creating a plugin for Designer that's multipage, but it contains a StackedWidget, the only part of the widget that will be the container.
The question is whether I need to use the standard form plugin because StackedWidget is already multi-paged and already works in Designer, or use the container extension using the QDesignerContainerExtension class.
Thank you,
Jay
Re: Does a StackedWidget plugin need multipage?
hi,
yea, you need a multipage container for that. i've tried making a very simple plugin that was a trivial subclass of qstackedwidget. in designer it didn't have any ability to add/delete pages.
if you want multipages, use the multipage container even if it's a direct subclass of a multipage contianer.
lou
Re: Does a StackedWidget plugin need multipage?
Great, thanks. That's the approach I'll take.
Jay