Results 1 to 5 of 5

Thread: Are there examples of separately grouped tabs?

  1. #1
    Join Date
    Feb 2008
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Are there examples of separately grouped tabs?

    My application has two basic groups of operations, that I'd like to control under a tabbed widget. Logically, there are a handful of operations under group One and a separate handful of operations under group Two. Thus, the logical set of tabs would be "One A", "One B", "Two A" and "Two B". What I'd really like to do is to have the tabs for One be on the left side of the tab widget, and the tabs for Two be on the right side of the widget, like the attached image.

    This does not appear to be supported using the basic tab widgets, as far as I can tell.

    Has anyone done anything like this? Do you have any code to share?

    Thanks,
    Jeff
    Attached Images Attached Images
    Last edited by jdiewald; 30th November 2010 at 20:59.

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Are there examples of separately grouped tabs?

    I'd look for a different way of separation. I don't think this will be intuitive. Would the Qt Creator options pages setup be suitable for you?
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  3. #3
    Join Date
    Feb 2008
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Re: Are there examples of separately grouped tabs?

    Showing paper prototypes to users suggests that they understand the intent of the tab organization. It makes sense in the given context, and more sense than other configurations I've tried - but I'm always open to other suggestions.

    I am not, however, familiar with Qt Creator. I've opened it up on my Windows box and I'm not sure what you mean by "options pages setup." Can you be more specific about how to get to the place you've suggested?

    Thanks,
    Jeff

  4. #4
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Are there examples of separately grouped tabs?

    Tools -> options. They have a list view with several items available. Each item provides access to a tabbed set. You might be able to label your semantic separation with this kind of setup.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  5. The following user says thank you to franz for this useful post:

    jdiewald (30th November 2010)

  6. #5
    Join Date
    Feb 2008
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Re: Are there examples of separately grouped tabs?

    Unfortunately, the options setup mechanism doesn't work for what I'm after, unless I can turn it 90 degrees to minimize its width.

    I'm building the navigation mechanism for a schizophrenic application - it really has multiple personalities. The tab bar - the tabs of One A, One B, Two A, and Two B - form the gross navigational choices - each one identifies one part of the application. The tab widget part - what's under the tab - is the more specialized navigation for that part of the application, and is quite involved in each case. There's little commonality between each tab other than the fact that they all drive navigation, which is why the tab metaphor is appropriate. The functions for group One are related and need to be together. The functions for group Two are related, but very different from group One, which is why I want some separation. The navigation mechanisms are all independent, and only one is needed at a time. (e.g. one is devices on a network, another is records in a database, etc.)

    Choosing a navigation mechanism defines what's going to be visible in all of the rest of the application window. I need as much space as possible for displaying the appropriate data. Thus, the navigation area must be tall and narrow, to allow for as much horizontal space as possible for the rest of the application.

    The number of navigation choices is static for the lifetime of the application, so I don't have to worry about tabs appearing and disappearing.

    grossStructure.png

Similar Threads

  1. QTabWidget with same tabs
    By Djony in forum Qt Programming
    Replies: 20
    Last Post: 24th December 2011, 13:20
  2. add second USB mouse and treat input separately
    By windsword in forum Qt Programming
    Replies: 1
    Last Post: 9th November 2010, 04:46
  3. Edit every thing of a QStringList separately.
    By hakermania in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2010, 01:02
  4. QTableWidget with its items stored separately
    By default user in forum Qt Programming
    Replies: 3
    Last Post: 13th July 2010, 22:46
  5. Phonon(video and audio separately)
    By Fastman in forum Qt Programming
    Replies: 3
    Last Post: 1st February 2010, 07:30

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.