Important: Please read the Qt Code of Conduct -

How to access the default border color

  • Hi :-)

    I'm trying to get a project fit for use with KDE's Breeze dark theme. Thus, I'm replacing hard-coded CSS values with palette ones, e. g. background-color: palette(base) instead of background-color: white.

    But I don't find the correct value to access the color which is used to draw the borders of widgets (QGroupBox, QPushButton, QLineEdit and so on).

    How can I get this one?

    Thanks for all help!

Log in to reply