Problem in Displaying tab Widgets in Qt Simulator
-
I'm having four push Buttons ,to which I have included a tab widget if the user clicks a push Button....
I want the same tab widget but with different names if the user clicks another push Button...Please Help me ....
-
If I understand you right, you want to change the name of the tabs?
Then look at: "QTabWidget::setTabText":http://doc.qt.nokia.com/4.7/qtabwidget.html#setTabText
Otherwise please describe your problem a bit more please.... -
You can create a QTabWidget and set hidden by use "setVisibile(false)":http://doc.qt.nokia.com/4.7/qwidget.html#visible-prop.
When the user click a QPushButton you use "setTabText(index,"name")":http://doc.qt.nokia.com/4.7/qtabwidget.html#setTabText for change the name of the tab and setVisible(true).[quote author="Prajnaranjan Das" date="1292306510"]I'm having four push Buttons ,to which I have included a tab widget if the user clicks a push Button....
I want the same tab widget but with different names if the user clicks another push Button...Please Help me ....
[/quote]