[Interest] change of only one tab in QTabWidget

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Sat May 18 02:54:26 CEST 2013


How can I change the width of only one tab in QTabWidget?. With the below
code all tabs width is changing.
setStyleSheet(
"QTabBar::tab { width: 25px; height: " + QString::number(eachTabHeight) +
"px; }"
);
I want to change the width of one particular tab say for index 2. Please
let me know if it's possible. Any help is appreciated.
-- 
Thanks & Regards
Sujan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130518/326c4d28/attachment.html>


More information about the Interest mailing list