PDA

View Full Version : cutomm status bar



wambagilles
4th May 2011, 08:28
hi please is it possible using Qt to create a custom status bar like in google chrome, please help!

wysota
4th May 2011, 11:02
Status bar or title bar?

wambagilles
5th May 2011, 06:32
the status bar, theirs is different from the default QMainpage status bar, event IE9and Firefox have that similar status, maybe actually status bar is not the right name for that but it appears at the bottom of the page, and display some informations on the current loading, i like it because it is just like a floating QLabel.

wysota
5th May 2011, 08:33
I'm not using Chrome so it's hard for me to understand what you want but the answer is "probably yes". If it is like a floating QLabel then just use a QLabel for your status bar.

wambagilles
5th May 2011, 12:03
yes i tried that, i can display the message i want in that QLabel, but it is displayed in a new window. my problem is making it to be floating, in my main window, not to be displayed in a separate window...

wysota
5th May 2011, 13:59
You didn't make the label a child of main window, that's why it is a top-level window now.

wambagilles
8th May 2011, 18:53
yeahhhhhh, thanks alot, i hav it, thank you!!!