PDA

View Full Version : two StatusBars / two-rowed Layout



effendi
24th March 2009, 22:00
Hello,

is it possible to add 2 QStatusBars to one QMainWindow?
Or can I just create a "two-row"-Layout for my existing StatusBar.

Neither the one nor the other work for me using Status_Bar->addLayout

Thank's in advance!

Lykurg
24th March 2009, 22:49
if putting widgets (addPermanentWidget()) on the statusbar is not enough for you, you can code your own statusbar. That is some work but you will have full control, and displaying temporally messages aren't a big problem. And adding two statusbars at a main windows is not possible.

btw: You can fake a second statusbar by setting either a toolbar or a dock widget fixed at the bottom.