Sunday, March 1, 2009

Qt4 Black Bar and Buttons

Today I've written a couple of Widgets for my next Qt4 Application. And below you can see an Example of UI using Two widget, the BlackBar and the BlackButton.

The BlackBar looks like the iTunes bar of Podcast page. Is something like a TabBar. The Black Buttons has a SetRadius Methods that allow you to modify the Button Shape.

The Source Code is Available Here: Qt4 THLibrary Preview Source Code.


  1. Hey mate,

    Was just wondering what the best way to connect to the buttons would be? I have spent close to 4 hours trying to get it to work, but with no luck. Here is the connect statement I have so far:

    connect ( bar->actions().at(0), SIGNAL(triggered()), this, SLOT(setConnectPage()));

    Thanks heaps,

  2. Hi,
    what a nice library, I create my own breadcrumb bar from your THBlackBar, I copied your ideas to connect actions and paint them then.
    Thanks !

    BTW, Have a look here to see what he looks like(up-bar is a modified THBlackBar) ;)