logo       

Re: How to know screen height with out desktop panel ?: msg#00415

kde.linux

Subject: Re: How to know screen height with out desktop panel ?

I am using XMotif 1.2.

Thanks,

Kevin Krammer wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mittwoch, 27. November 2002 12:46, Guruhema Prasad N wrote:

Hi ,

I am developing a application on suse linux 8.0. I want to know the
screen height, I am using the function "HeightOfScreen", but it gives
total height of screen, but I want to know effective height (with out
desktop bottom panel), how I will get ?. Other wise how I will get the
desktop panel height ?


What do you need that size for?
I think yo can obtain it with QApplication::desktop() which will return a QDesktopWidget, which in turn can be queried for the size (availableGeometry)

If you just want your app to be maximized, you can call showMaximized() on your main widget.

Anyway, please post development questions on kde-devel.
There you'll get answers more likely.

Cheers,
Kevin

- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@xxxxxx>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE95LVfnKMhG6pzZJIRAvp1AJ9rN7lJFi2DBCKt2ZHin5VTSG2+lQCfX8xe
Hc+ykSHdE+XyK/1BOiHhRs0=
=vA52
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde-linux mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



--
-----------------------------------------------------------------
Guruhema Prasad N
Project Engg.(Product Development)
EASi Technologies
213, 3rd Main, 4th Cross
CHAMRAJ PET
BANGALORE 560 018 - INDIA Ph: 91-80-667 2984 / 660 1086 / 660 2365 Extn:- 124
Facsimile: 667 5274
http://www.easi.com mailto:guru@xxxxxxxxxxxxx
-----------------------------------------------------------------



___________________________________________________
This message is from the kde-linux mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise