[Qt-interest] How to display classification banners in QMainWindow?

william.crocker at analog.com william.crocker at analog.com
Fri Jul 31 23:15:42 CEST 2009


> Please disregard the last email, I have discovered a way to do it.
>

So, How do you do it.
You can't just leave us hanging...

> Eric
> 
>  
> 
> *From:* qt-interest-bounces at trolltech.com 
> [mailto:qt-interest-bounces at trolltech.com] *On Behalf Of *Eric Clark
> *Sent:* Friday, July 31, 2009 1:42 PM
> *To:* Qt Interest (qt-interest at trolltech.com)
> *Subject:* [Qt-interest] How to display classification banners in 
> QMainWindow?
> 
>  
> 
> Hello All,
> 
>  
> 
> I have an application that is developed for the government and it is a 
> requirement that the application have classification banners on the top 
> and bottom of the main window to display the classification of the 
> application. I would like for these banners to be the topmost and 
> bottommost widgets in my main window, but I do not see how to do this. 
> It seems as though the menu bar must always be the topmost widget and 
> the status bar must be the bottommost widget. Does anyone know how to 
> bypass this? I could set my own menu bar widget on the main window, but 
> the menu bar class says it always puts itself at the top of the layout. 
> I could put the banner below the menu bar and above the status bar, but 
> I am not sure how to set the status bar widget.
> 
>  
> 
> Thank you in advance!
> 
> Eric
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest



More information about the Qt-interest-old mailing list