Hi.
I try to customize some widget that contains in a namespace. I use the QSS. But it doesn't work.
class SomeWidget
{
public:
class TargetToCustomize;
.................................
};
class SomeWidget::TargetToCustomize
{
................................
};
class SomeWidget
:public QWidget
{
public:
class TargetToCustomize;
.................................
};
class SomeWidget::TargetToCustomize
: public QWidget
{
................................
};
To copy to clipboard, switch view to plain text mode
SomeWidget
{
background: green;
}
SomeWidget-TargetToCustomize
{
background: red;
};
SomeWidget
{
background: green;
}
SomeWidget-TargetToCustomize
{
background: red;
};
To copy to clipboard, switch view to plain text mode
it doesn't work for the TargetToCustomize widget.
Bookmarks