The PyQt5.QtWidgets.QSplitter.restoreState function is used to restore the previous state of a QSplitter widget. A QSplitter widget allows the user to adjust the sizes of its child widgets by dragging the splitter handle. This function allows the application to restore the previous sizes and positions of the child widgets when necessary. The state is saved in the form of a byte array, which can be retrieved from a previous session and passed to this function to restore the splitter to its previous state.
Python QSplitter.restoreState - 22 examples found. These are the top rated real world Python examples of PyQt5.QtWidgets.QSplitter.restoreState extracted from open source projects. You can rate examples to help us improve the quality of examples.