Qt Increase QTabWidget’s QTabBar size
In subclass the Qt stylesheets arrange by the height and width.
// tabWidget is a pointer to a QTabWidget tabWidget->setStyleSheet("QTabBar::tab { height: 100px; width: 100px; }"); // each tab should now be 100x100px
Use: The stylesheet assign to QTabBar and called by the setStyleSheet() on QTabWidget.
The initialized statement is:
By using the Qt Designer commenly place by the QTabBar::tab { height: 100px; width: 100px; } and the stylesheet of the QTabWidget objet is directed.