[Solved] How to set stylesheet for tab from MdiArea in qss file
Hi,
i have an mdiadrea in my mainwindow (ui->mdiArea ). I want to change the style of
the tabs by a qss file.
The code "QTabBar::tab" is changing all tabs that i have in my application, e.g. in Options Dialog
what i don't want.
How must i change the line
that only the tabs in my ui->mdiArea are changed?
These doesn't work:
QTabBar::tab #MainWindow
QTabBar#MainWindow::tab
QTabBar#mdiArea::tab
QTabBar#ui->mdiArea::tab
Thx
Stefan
this works:
Code:
QMdiArea#mdiArea QTabBar::tab