Unsolved Default boarder colour
-
I am dynamically changing the boarder colour of a QLineEdit, thus:
setStyleSheet("border-style: outset; border-width: 2px; border-color: green;");
But I have not found away to restore it to the original colour. I have tried things such as
setstyle: outset; border-width: 1px; border-color: Qt::default;");
but that cannot be parsed:
Could not parse stylesheet of object 0x55ad1162fd60
Since Qt::default that is not accepted, what should it be? I can fiddle it by setting a specific colour, but that's a rather ugly hack, that I fear could lead to problems some time in the future. -
@Buller said in Default boarder colour:
Since Qt::default that is not accepted, what should it be?
Simply nothing