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

André Somers andre at familiesomers.nl
Sat Aug 1 07:44:52 CEST 2009


It would be helpfull for others if you share your solutions as well as your
questions. That way, people searching the archives for answers first (we all
do, right?) will be able to find the answer too


 

André

 

Van: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] Namens Eric Clark
Verzonden: vrijdag 31 juli 2009 20:53
Aan: Qt Interest (qt-interest at trolltech.com)
Onderwerp: Re: [Qt-interest] How to display classification banners in
QMainWindow?

 

Please disregard the last email, I have discovered a way to do it. Thank
You!

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090801/997a755a/attachment.html 


More information about the Qt-interest-old mailing list