close button only for some tabs in Qt

Posted by Costy on Stack Overflow See other posts from Stack Overflow or by Costy
Published on 2010-04-11T08:42:45Z Indexed on 2010/04/11 8:53 UTC
Read the original article Hit count: 325

Filed under:
|
|
|

Hello,

I am using Qt for an assignment I have for college, and I want to use QTabWidget to display a chat window much like Pidgin's. I want to make the "group chat" tab always open and impossible to close and the rest of the "private channel" tabs closable.

QTabWidget's setTabsClosable(bool) is not helping ...

any ideas?

ty

© Stack Overflow or respective owner

Related posts about qt

Related posts about c++