[SOLVED] Custom tabs
-
Hello, I would like to create custom tabs similar to "Tab Widget".... I have three areas in my mainwindow... I would like to change only middle area on a similar way such as "Tab Widgets"... Is that possible??? So when I would click a btn123, middle area would change to the correct content (exactly same way "Tab Widget" is doing it)...
Or if there is a way edit buttons for "Tab Widget"... I don't want them to stick together and I want to use my own style for button... It should look like on image below (separated, different size,)...
!http://img14.imageshack.us/img14/6128/ephs.png(a)!
Default "Tab Widgets" looks like this...
!http://qt-project.org/doc/qt-4.8/images/tabWidget-stylesheet2.png(a)! -
I found Qt is using this as well... When you cleck on any of three buttons content in the middle changes...
-
click*
-
Why not use a "QStackedWidget":http://qt-project.org/doc/qt-5/qstackedwidget.html and have the buttons change the index.
-
This is exactly what I've been looking for... Thank you