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
You should reimplement your widget's event(Event *e) method, check the type of e, find out CloseEvents, and call parent class's event when you can allow tab to close, or e->ignore() when you do not want it.
Note, then you must parent's event() handle othr events, so do not accept(), reject() or forget them Ж)