[Interest] QStyleOptionProgressBar

Dan Allen dan at jerber.co.uk
Mon Apr 2 15:12:52 CEST 2018


I'm currently writing a sub class of QStyledItemDelegate to draw a 
progress bar. The progress bar is drawn using 
QApplication::style()->drawControl(QStyle::CE_ProgressBar, option, 
painter) and this works fine on Windows and Ubuntu.

However, on Mac the progress bar has a "disabled" look. The bar is grey 
instead of the usual blue colour.

It appears someone posted 
on the Qt forum about this issue some years ago but there was no response.

Is there any possible reason for this or is it likely a bug? I couldn't 
find a bug reported about it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180402/8fc7ffcf/attachment.html>

More information about the Interest mailing list