Inheritance of styleSheet
Unsolved
Mobile and Embedded
-
I set a styleSheet for my Application. The styleSheet is always pretty fine available.
But when I generate a QMenu, with a QWidget as parent, the QMenu do not inherits the styleSheet. All other control do that! Just the QMenu do it not. Why?, ui(new Ui::Toolbar) , menu(new QMenu(this))
{
ui->setupUi(this)
qDebug() << this->menu->styleSheet() ==> output is: "" -
Hi,
Setting a stylesheet on your application will not call setStylesheet on each and every widget created. The styling will be applied, that's all.