CodePudding user response:
This I also want to know, ha ha, how can check it in the source code, think it over again,CodePudding user response:
I want to hide the TAB page of widgets and displays on each page? How can I achieve? thank youCodePudding user response:
Void QTabWidget: : removeTab (int index) to remove this page, if you still want to add: int QTabWidget: : addTab (QWidget * page, const QString & amp; Label) put your page in a whole QWidget,CodePudding user response:
Remove add to come in, there is a page of the ah, I don't want to show every page of the page, please master know how to do? thank youCodePudding user response:
Simply use QStackedWidget and several ToolButton I got simulation,CodePudding user response:
If you change the TAB value, like Excel can modify, how to implement? Does anyone knowCodePudding user response:
TabWidget - & gt; Clear () and then according to the need to addCodePudding user response:
Actually it is ok to use QStackWidget,CodePudding user response:
Moderators, if doneCodePudding user response:
Remove is not show, but still existCodePudding user response:
Qt provides the call interface, UI - & gt; TabWidget - "setTabVisiable (0, false); The first page is hidden