Results 1 to 3 of 3

Thread: Does a StackedWidget plugin need multipage?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    26
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    MacOS X Windows

    Default 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

  2. #2
    Join Date
    Feb 2006
    Posts
    29
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Windows

    Default 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

  3. The following user says thank you to illuzioner for this useful post:

    jayw710 (4th July 2007)

  4. #3
    Join Date
    Feb 2006
    Posts
    26
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    MacOS X Windows

    Default Re: Does a StackedWidget plugin need multipage?

    Great, thanks. That's the approach I'll take.

    Jay

Similar Threads

  1. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  2. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05
  3. Qt4 win opensource + mysql plugin
    By vr in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2007, 09:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.