[PySide] QApplication.palette() no longer working
Frank Rueter | OHUfx
frank at ohufx.com
Sun Mar 18 20:51:26 CET 2018
Great, thanks, will do.
On 19/03/18 6:03 AM, Alexandru Croitor wrote:
>
> Hi,
>
>
> Perhaps this is a regression of PYSIDE-331.
>
>
> Please consider posting a bug report for the PySide project on
> https://bugreports.qt.io with a small reproducible example, and your
> environment info and PySide2 version.
>
>
>
> ------------------------------------------------------------------------
> *From:* PySide <pyside-bounces+alexandru.croitor=qt.io at qt-project.org>
> on behalf of Frank Rueter | OHUfx <frank at ohufx.com>
> *Sent:* Sunday, March 18, 2018 4:03:03 AM
> *To:* pyside at qt-project.org
> *Subject:* [PySide] QApplication.palette() no longer working
> Hi,
>
> this line of code used to work in PySide to get colours from the main
> application's palette:
> QtWidgets.QApplication.palette().color(QtGui.QPalette.ColorGroup.Active,
> QtGui.QPalette.ColorRole.ToolTipBase)
>
> PySide2 no longer accepts this:
> QtWidgets.QApplication.palette()
> /aborted (disconnected)/
>
> Bug? I can't see any mention in of this change online.
>
> Cheers,
> frank
>
>
> --
> ohufxLogo 50x50 <http://www.ohufx.com> *vfx compositing
> <http://ohufx.com/index.php/vfx-compositing> | *workflow customisation
> and consulting <http://ohufx.com/index.php/vfx-customising>* *
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20180319/08440b11/attachment.html>
More information about the PySide
mailing list