I must be missing something here, so if somebody could help me out... I'm creating an application that needs to be run on both Windows and Linux and in Windows the default tabs of a QToolbox look like ordinary rectangular pushbuttons, while the default on Linux is the more elegant fusion style.
I'm trying to set the tabs of of QToolBox to be in fusion style without doing the common QApplication setStyle(QStyleFactory::create("Fusion")) for the entire program. Changing the entire application works but I only want the Qtoolbox tabs so I tried in my custom QWidget constructor ui->setupUi(this); ui->toolBox->setStyle(QStyleFactory::create("Fusion")); ui->toolBoxPage1->setStyle(QStyleFactory::create("Fusion")); ui->toolBoxPage2->setStyle(QStyleFactory::create("Fusion")); ui->toolBoxPage3->setStyle(QStyleFactory::create("Fusion")); but the tabs remain the ugly square rectangles... After googling around I still have no clue as to the cause of this. Anybody here knows a solution for my problem? Thanks, David H
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest