def restore_startup_layout(self):
        """
        Restores the startup layout.

        :return: Method success.
        :rtype: bool
        """

        LOGGER.debug("> Restoring startup layout.")

        if self.restore_layout(UiConstants.startup_layout):
            not self.__restore_geometry_on_layout_change and self.__container.restoreGeometry(
                self.__settings.get_key("Layouts", "{0}_geometry".format(UiConstants.startup_layout)).toByteArray())
            return True
def restore_startup_layout ( self ) : LOGGER . debug ( "> Restoring startup layout." ) if self . restore_layout ( UiConstants . startup_layout ) : not self . __restore_geometry_on_layout_change and self . __container . restoreGeometry ( self . __settings . get_key ( "Layouts" , "{0}_geometry" . format ( UiConstants . startup_layout ) ) . toByteArray ( ) ) return True
Restores the startup layout.

        :return: Method success.
        :rtype: bool