Results 1 to 4 of 4

Thread: Something like NSPathControl widget?

  1. #1
    Join Date
    Jan 2012
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Something like NSPathControl widget?

    I was just curious if there's anything like OS X's NSPathControl widget available for Qt. If you're unsure what I'm talking about, it's the bar in the center bottom of this screenshot: link

    I figured I'd ask before I go out and make something myself. Thanks.

  2. #2
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    33
    Thanked 10 Times in 10 Posts

    Default Re: Something like NSPathControl widget?

    When you create a mainWindow with the designer it comes with a Status bar (you can add it but im telling you the easy way), there to achive what you want: im thinking you should implement it with a ToolBox (it seems appropiate) or with a TabWidget. I think ToolBox is the solution. You will have to investigate how to put the ToolBox inside the Status bar (it has a function addWidget if I remember right) and Style it as you want.

    Hope it helps!

  3. #3
    Join Date
    Jan 2012
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Something like NSPathControl widget?

    Well I'm looking to use it as a kind of address bar of sorts. Think of the crumb bar in Windows Explorer -- something like that.

  4. #4
    Join Date
    Jan 2012
    Location
    Argentina
    Posts
    167
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    33
    Thanked 10 Times in 10 Posts

    Default Re: Something like NSPathControl widget?

    So then do a StatusBar with the amount of links to folders/actions you need in it...I think links can be implemented as labels so all you need to do is connect the signal clicked to the slot open link..if i got you right

Similar Threads

  1. Replies: 8
    Last Post: 2nd February 2012, 20:52
  2. Replies: 2
    Last Post: 23rd January 2012, 18:06
  3. Replies: 5
    Last Post: 14th December 2011, 12:51
  4. Replies: 1
    Last Post: 24th June 2011, 00:09
  5. Replies: 4
    Last Post: 3rd March 2008, 23:15

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
  •  
Qt is a trademark of The Qt Company.