Friday, 27 September 2013

QTabWidget how to hide pane only?

QTabWidget how to hide pane only?

I have added a QToolButton as corner widget in QTabWidget which is
checkable. I want to hide all tabs (panes only) when the tool button is
unchecked. I tried to connect button's signal clicked(bool) with all tab's
setVisible(bool) slot not working but. I also connected tabwidget's
setvisible to the signal but complete widget became invisible(it was a
silly trial). Is there any way to make only pane invisible and tab bar
will not disappear ?

No comments:

Post a Comment