[Interest] Seeking tips on restoring application geometry

alexander golks alex at golks.de
Tue Aug 4 09:30:17 CEST 2015


hi,

> I'm kind of leaning towards saving multiple geometries in my settings based on the current desktop size, so that the user can set one geometry for the laptop-only case, set a different geometry for the external monitor(s) case, and have the application remember those settings independently. I'm just not sure if I'm overlooking an obvious pitfall with this approach?

what about re-/storing relations rather then fix pixel sizes? that is, calculate the percent-of-screen-x, percent-of-screen-y...
but then in turn, what about font sizes? or doesn't this matter in your case?

-- 
/*
 *  /* if it speaks printer language, it's
 *   * probably a printer *\/
 *    linux-2.6.19/drivers/parport/probe.c
 */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150804/9b8f2e9c/attachment.sig>


More information about the Interest mailing list