Results 1 to 3 of 3

Thread: Extendable / customisable UI using Designer

  1. #1
    Join Date
    Jun 2011
    Location
    Chennai, India
    Posts
    30
    Thanks
    13
    Thanked 6 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Extendable / customisable UI using Designer

    I don't know if it makes sense..

    Is it possible for a UI to 'inherit' from another UI? (By UI, I mean the generated UI class for a .ui designer form)

    Basically, I have to create multiple dialogs, which have some common content, and some separate content as well.
    Normally, I want to keep the common content in a 'base class', and inherit the other dialogs from the common dialog.

    Is this possible using Qt Designer and form files?

  2. #2
    Join Date
    May 2012
    Posts
    136
    Thanks
    2
    Thanked 27 Times in 24 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Extendable / customisable UI using Designer

    you can use QUiLoader to load ui files at runtime, don't know if that is what you are looking for

  3. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,419
    Thanks
    37
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Extendable / customisable UI using Designer

    Depending on your layouting needs, maybe but the base components into widgets and then use these in your dialogs?

    Most simple way is to use the "promote widget" feature on a place holder widget.

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 8th September 2010, 20:31
  2. Replies: 2
    Last Post: 1st October 2009, 17:26
  3. Tabs/Dialog with hidden/extendable content
    By dentharg in forum Qt Tools
    Replies: 6
    Last Post: 20th November 2007, 20:30
  4. Designer plugin segfaults designer :(
    By tmarki in forum Qt Tools
    Replies: 4
    Last Post: 26th September 2007, 12:22
  5. Replies: 1
    Last Post: 22nd January 2007, 13:13

Tags for this Thread

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.