View Full Version : Qtabwidget - how to add a button to all tabs?
creep33
22nd July 2010, 18:35
My app loads a configuration file and breaks it into several tabs. I want the user to have access to a "save" button in the bottom of all tabs. Which is the smarter way to do that?
Lykurg
22nd July 2010, 19:02
Put the tab widget in a layout and put a button below it. If you only want to save the current widget settings connect the buttons click to a slot where you query the current index of you tab widget and do the savings accordingly.
creep33
22nd July 2010, 19:05
Ok, that was my first thought. I Just had to check if there wasn't a smarter way to do it. Thnaks!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.