wiz29
19th July 2013, 11:58
Hi.
I try to customize some widget that contains in a namespace. I use the QSS. But it doesn't work.
class SomeWidget
:public QWidget
{
public:
class TargetToCustomize;
.................................
};
class SomeWidget::TargetToCustomize
: public QWidget
{
................................
};
SomeWidget
{
background: green;
}
SomeWidget-TargetToCustomize
{
background: red;
};
it doesn't work for the TargetToCustomize widget.
I try to customize some widget that contains in a namespace. I use the QSS. But it doesn't work.
class SomeWidget
:public QWidget
{
public:
class TargetToCustomize;
.................................
};
class SomeWidget::TargetToCustomize
: public QWidget
{
................................
};
SomeWidget
{
background: green;
}
SomeWidget-TargetToCustomize
{
background: red;
};
it doesn't work for the TargetToCustomize widget.