On 02/01/2017 18:15, Bill Somerville wrote:
Not just the images but the public functions, nothing to change
color. Thanks for the correction, much appreciated,,
HI Bill,
you can certainly change the rendering of any Qt widget either by
using a sytle sheet or delegate if supported or a custom paint
function but as soon as you do that you disallow the use of the native
version. This then ends up looking quite nasty when you end up with a
combination of native and custom widgets. It works better with some
than others but progress bars are definitely ones that look bad in
custom form.
Hi again Bill,
just to reiterate, here is an example of what happens when the native
control is not able to be used due to customizations on Mac OS X:
The "Monitor" button is coloured using a style sheet which is enough to
cause a switch to Qt drawn custom widget rather than the standard Mac
OS X controls that get used if the defaults are left alone.
Here is the rendering of progress bar using the standard control:
and here it is as per Mike's patch below:
maybe not too bad but it is too big to fit in the height of the status
bar so is a bit mangled.
Other examples where custom controls do not work well are these TxN
buttons that fail to scale with the caption font size:
By far the best rule for UI portability is let the standard layouts do
their job and only customize when absolutely necessary.
73
Bill
G4WJS.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel