def get_custom_layouts_active_label(self):
        """
        Provides the default **Custom_Layouts_active_label** widget.

        :return: Layout active label.
        :rtype: Active_QLabel
        """

        layout_active_label = Active_QLabel(self,
                                            QPixmap(umbra.ui.common.get_resource_path(UiConstants.custom_layouts_icon)),
                                            QPixmap(
                                                umbra.ui.common.get_resource_path(
                                                    UiConstants.custom_layouts_hover_icon)),
                                            QPixmap(umbra.ui.common.get_resource_path(
                                                UiConstants.custom_layouts_active_icon)))
        layout_active_label.setObjectName("Custom_Layouts_active_label")

        self.__custom_layouts_menu = QMenu("Layouts", layout_active_label)

        for layout in self.__user_layouts:
            self.__container.layouts_manager.register_layout(layout.identity, layout)
            self.__custom_layouts_menu.addAction(self.__container.actions_manager.register_action(
                "Actions|Umbra|ToolBar|Layouts|Restore layout {0}".format(layout.name),
                shortcut=layout.shortcut,
                slot=functools.partial(self.__container.layouts_manager.restore_layout, layout.identity)))

        self.__custom_layouts_menu.addSeparator()

        for layout in self.__user_layouts:
            self.__custom_layouts_menu.addAction(self.__container.actions_manager.register_action(
                "Actions|Umbra|ToolBar|Layouts|Store layout {0}".format(layout.name),
                shortcut=Qt.CTRL + layout.shortcut,
                slot=functools.partial(self.__container.layouts_manager.store_layout, layout.identity)))

        self.__custom_layouts_menu.addSeparator()

        self.__custom_layouts_menu.addAction(self.__container.actions_manager.register_action(
            "Actions|Umbra|ToolBar|Layouts|Toggle FullScreen",
            shortcut=Qt.ControlModifier + Qt.SHIFT + Qt.Key_F,
            slot=self.__container.toggle_full_screen))

        layout_active_label.set_menu(self.__custom_layouts_menu)
        return layout_active_label
def get_custom_layouts_active_label ( self ) : layout_active_label = Active_QLabel ( self , QPixmap ( umbra . ui . common . get_resource_path ( UiConstants . custom_layouts_icon ) ) , QPixmap ( umbra . ui . common . get_resource_path ( UiConstants . custom_layouts_hover_icon ) ) , QPixmap ( umbra . ui . common . get_resource_path ( UiConstants . custom_layouts_active_icon ) ) ) layout_active_label . setObjectName ( "Custom_Layouts_active_label" ) self . __custom_layouts_menu = QMenu ( "Layouts" , layout_active_label ) for layout in self . __user_layouts : self . __container . layouts_manager . register_layout ( layout . identity , layout ) self . __custom_layouts_menu . addAction ( self . __container . actions_manager . register_action ( "Actions|Umbra|ToolBar|Layouts|Restore layout {0}" . format ( layout . name ) , shortcut = layout . shortcut , slot = functools . partial ( self . __container . layouts_manager . restore_layout , layout . identity ) ) ) self . __custom_layouts_menu . addSeparator ( ) for layout in self . __user_layouts : self . __custom_layouts_menu . addAction ( self . __container . actions_manager . register_action ( "Actions|Umbra|ToolBar|Layouts|Store layout {0}" . format ( layout . name ) , shortcut = Qt . CTRL + layout . shortcut , slot = functools . partial ( self . __container . layouts_manager . store_layout , layout . identity ) ) ) self . __custom_layouts_menu . addSeparator ( ) self . __custom_layouts_menu . addAction ( self . __container . actions_manager . register_action ( "Actions|Umbra|ToolBar|Layouts|Toggle FullScreen" , shortcut = Qt . ControlModifier + Qt . SHIFT + Qt . Key_F , slot = self . __container . toggle_full_screen ) ) layout_active_label . set_menu ( self . __custom_layouts_menu ) return layout_active_label
Provides the default **Custom_Layouts_active_label** widget.

        :return: Layout active label.
        :rtype: Active_QLabel