Hi all,

I made my custom widget based on QWidget.

I use stylesheet like this:

customWidget->setStyleSheet("QWidget { border: none; background-color: rgb(195, 198, 201);} QWidget:hover {background-color: rgb(255, 0, 0);"}

But it has no effect, so why and how to perform?