[Qt-interest] Centering the mainwindow
chandrasekar wagmare
sekarwagmare at gmail.com
Thu Feb 19 14:26:38 CET 2009
for doubt i am asking if it is possible to get the screen resolution size
(1600x1200) like that ..
and cant we position it...
i create one frameless widget looks like a tool bar with a menu button
. if user clicks a menu will appear .. and i have to position it in the
bottom of the screen .. all i use is
dialog->setGeometry(10,800,1010,40)
so i always place the application at bottom level ...
On Thu, Feb 19, 2009 at 6:38 PM, Arnold Krille <arnold at arnoldarts.de> wrote:
> On Thursday 19 February 2009 10:04:18 NARCISO, Rui wrote:
> > How do I make it so that my MainWindow appears centered in the screen
> like
> > the QSplashScreen does?
>
> Either its a splash-screen or its a main-window. If its a main-window, it
> should always appear where the user (or his window manager) wants it to
> appear. Don't try to be smarter than that...
>
> Arnold
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
--
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090219/b6b26d40/attachment.html
More information about the Qt-interest-old
mailing list