pixaeiro
11th December 2014, 18:03
Hello,
I have QMainWindow with a QSplitter as the central widget, and the splitter has two QWidgets: top_widget and bottom_widget. I'd like to set the default size of bottom_widget to 100 on new, and allow this size to be saved and loaded. On Load I want to restore this value.
My question is: Where is the best place to set this default size to 100? Is there an event or signal the the QMainWindow receives after all children widgets have been positioned and resized?
Thank you!
I have QMainWindow with a QSplitter as the central widget, and the splitter has two QWidgets: top_widget and bottom_widget. I'd like to set the default size of bottom_widget to 100 on new, and allow this size to be saved and loaded. On Load I want to restore this value.
My question is: Where is the best place to set this default size to 100? Is there an event or signal the the QMainWindow receives after all children widgets have been positioned and resized?
Thank you!