I have QTabWidget on my form and two tabs on it. These tabs have standard text Tab1 and Tab2.
How can I change it?
I have QTabWidget on my form and two tabs on it. These tabs have
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It sounds like you’re talking about Qt Designer, since it defaults to showing two tabs (called “Tab 1” and “Tab 2”) when you add a
QTabWidgetthrough the interface.If so, click on the tab you want to rename, then in the Property Editor (if you can’t find it make sure it’s visible by using the View->Property Editor menu item) scroll down to the bottom and look for the
currentTabTextproperty. You can change the tab’s name right there.