Index of active tabs of a QTabWidget?
-
Now, our project is nearly completed. Just one thing is missing. In our generated XML file should be an element, which contains the index of active tabs of our tabWidget (QTabWidget). How can we get this index? Is there any function?
-
I've forgot to say: We've gfot a QLineEdit and in this textfield you can choose, how many tabs you would like (1 to 4). This is why there are different numbers of active tabs.
-
Something like "currentIndex":http://qt-project.org/doc/qt-4.8/qtabwidget.html#currentIndex-prop ?
-
No, this is the.. active index. I mean, how many tabs are currently opened. (It's difficult to explain)
-
Did you at least read QTabWidget documentation ? "count":http://qt-project.org/doc/qt-4.8/qtabwidget.html#count-prop