Yes, I know. Subclass QTabWidget and you will have access to the protected function QTabWidget::tabBar(), which returns the tabbar. You can then use the functions mentioned earlier to set its height.
Yes, I know. Subclass QTabWidget and you will have access to the protected function QTabWidget::tabBar(), which returns the tabbar. You can then use the functions mentioned earlier to set its height.
QTabWidget::tabBar() returns const QTabBar(). So I canot call setFixedSize() on QTabWidget::tabBar()
Actually it returns a non-const pointer to QTabBar, whereas the method is a const-method:
QTabBar* QTabWidget::tabBar() const
J-P Nurmi
Bookmarks