Does this differ per QStyle, like https://discuss.kde.org/t/what-colou...julianlockhart alludes to? I ask becausegives me #000000 withQt Code:
PyQt6.QtGui.QPen().setColor(PyQt6.QtGui.QColor(PyQt6.QtWidgets.QApplication.palette().color(PyQt6.QtGui.QPalette.ColorRole.Accent)))To copy to clipboard, switch view to plain text mode.Qt Code:
plasma-breeze-qt6-6.3.5-1.fc42To copy to clipboard, switch view to plain text mode
** Moderator note: Use "CODE" not "ICODE" when enclosing code fragments. **
Bookmarks