[Qt4-preview-feedback] Ability to read the border and padding properties of styled widgets

Craig Scott craig.scott at csiro.au
Fri Feb 27 14:48:08 CET 2009


Hi. It would seem that there is still no way to programmatically obtain 
the padding and border widths that are in effect on a widget. You can 
specify them with a stylesheet but you cannot read those values in code, 
at least not as far as I can tell from the documentation. Has this 
situation been addressed for 4.5 (or have I just missed it)? I seem to 
recall this deficiency being mentioned many months back but I can't 
track down whether it was through Trolltech support or just a forum 
posting. Apologies if I'm just not looking in the right places. ;)

-- 
Dr Craig Scott
Computational Modeling Group, CSIRO (CMIS)
Melbourne, Australia



More information about the Qt4-feedback mailing list