|
Re: How to know screen height with out desktop panel ?: msg#00414kde.linux
-----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. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to know screen height with out desktop panel ?: 00414, Guruhema Prasad N |
|---|---|
| Next by Date: | Re: How to know screen height with out desktop panel ?: 00414, Guruhema Prasad N |
| Previous by Thread: | How to know screen height with out desktop panel ?i: 00414, Guruhema Prasad N |
| Next by Thread: | Re: How to know screen height with out desktop panel ?: 00414, Guruhema Prasad N |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |