Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to stylesheet delete?
-
Hi.
i set stylesheet in line edit .
my source code ↓
ui->lineEdit->setStyleSheet("QLineEdit {border-color:orange;border-width:2;border-style:outset}");
i want delete stylesheet.
how to stylesheet delete?
-
@ForestPoem
ui->lineEdit->setStyleSheet("");
-
-
Just a hint: don't create empty QStrings by conversion from "". It's better to use the default constructor:
ui->lineEdit->setStyleSheet(QString());
-
thank you .