HappyCoder
6th August 2015, 09:34
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.
QTabBar::tab {
...
}
How must i change the line
QTabBar::tab {
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:
QMdiArea#mdiArea QTabBar::tab
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.
QTabBar::tab {
...
}
How must i change the line
QTabBar::tab {
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:
QMdiArea#mdiArea QTabBar::tab