Provides the default **Application_Logo_label** widget.

        :return: Application logo label.
        :rtype: QLabel
488894
def get_application_logo_label(self):
        

        logo_label = QLabel()
        logo_label.setObjectName("Application_Logo_label")
        logo_label.setPixmap(QPixmap(umbra.ui.common.get_resource_path(UiConstants.logo_image)))
        return logo_label
328709
def lookup_field_label(self, context, field, default=None):
        
        # if this is a subfield, strip off everything but the last field name
        if field.find('.') >= 0:
            return self.lookup_field_label(context, field.split('.')[-1], default)

        label = None

        # is there a label specified for this field
        if field in self.field_config and 'label' in self.field_config[field]:
            label = self.field_config[field]['label']

        # if we were given a default, use that
        elif default:
            label = default

        # check our model
        else:
            for model_field in self.model._meta.fields:
                if model_field.name == field:
                    return model_field.verbose_name.title()

        # otherwise, derive it from our field name
        if label is None:
            label = self.derive_field_label(field)

        return label
850542
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
1042309
def label(self) -> str:
        """"""
        label = self.expression.replace("_", "\\;")
        if self.units_kind:
            symbol = wt_units.get_symbol(self.units)
            for v in self.variables:
                vl = "%s_{%s}" % (symbol, v.label)
                vl = vl.replace("_{}", "")  # label can be empty, no empty subscripts
                label = label.replace(v.natural_name, vl)
                val = (
                    round(self.value, self.round_spec)
                    if self.round_spec is not None
                    else self.value
                )
        label += r"\,=\,{}".format(format(val, self.format_spec))
        if self.units_kind:
            units_dictionary = getattr(wt_units, self.units_kind)
            label += r"\,"
            label += units_dictionary[self.units][2]
        label = r"$\mathsf{%s}$" % label
        return label
1293862
def label(self, value):
        
        return self._labels.get(value) or text.pretty(self(value))
125858
def ui_label(self):
        """"""
        return ': '.join(filter(None, [
            self.ui_device_presentation,
            self.ui_id_label or self.ui_id_uuid or self.drive_label
        ]))
1175828
def get_app_name(self):
        
        main_activity_name = self.get_main_activity()

        app_name = self.get_element('activity', 'label', name=main_activity_name)
        if not app_name:
            app_name = self.get_element('application', 'label')

        if app_name.startswith("@"):
            res_id = int(app_name[1:], 16)
            res_parser = self.get_android_resources()

            try:
                app_name = res_parser.get_resolved_res_configs(
                    res_id,
                    ARSCResTableConfig.default_config())[0][1]
            except Exception as e:
                anconf.warning("Exception selecting app name: %s" % e)
                app_name = ""
        return app_name
1323356
def _render_internal_label(self):
        '''  '''
        ncc = self._num_complete_chars
        bar = self._lbl.center(self.iwidth)
        cm_chars = self._comp_style(bar[:ncc])
        em_chars = self._empt_style(bar[ncc:])
        return f'{self._first}{cm_chars}{em_chars}{self._last}'
512811
public static String getLogo() {
        String logo = "";
        try (InputStream inputStream = Resources.getResource(Default.LOGO_FILE.toString()).openStream()) {
            logo = IOUtils.toString(inputStream, Default.ENCODING.toString());
        } catch (final IOException e) {
            LOG.error("Failed to get application logo", e);
        }

        return logo;
    }
1006133
def make_default_app_wrapper(name):
    '''  '''
    @functools.wraps(getattr(Bottle, name))
    def wrapper(*a, **ka):
        return getattr(app(), name)(*a, **ka)
    return wrapper
762588
def badge_label(self, badge):
        ''''''
        kind = badge.kind if isinstance(badge, Badge) else badge
        return self.__badges__[kind]
1093763
public LabelCache labels(long applicationId)
    {
        LabelCache cache = labels.get(applicationId);
        if(cache == null)
            labels.put(applicationId, cache = new LabelCache(applicationId));
        return cache;
    }
213775
def label_from_instance(self, obj):
        
        return '%s %s' % (self.level_indicator * getattr(obj, obj._mptt_meta.level_attr), obj)
285380
def get_label(self, label, params=None):
        
        return self.label(label, action='GET', params=params)
686466
def default_change_form_template(self):
        
        opts = self.model._meta
        app_label = opts.app_label
        return select_template_name((
            "admin/{0}/{1}/change_form.html".format(app_label, opts.object_name.lower()),
            "admin/{0}/change_form.html".format(app_label),
            "admin/change_form.html"
        ))
1348637
def set_toolbar_children_widgets(self):
        

        LOGGER.debug("> Adding 'Application_Logo_label' widget!")
        self.addWidget(self.get_application_logo_label())

        LOGGER.debug("> Adding 'Spacer_label' widget!")
        self.addWidget(self.get_spacer_label())

        LOGGER.debug("> Adding 'Development_active_label', 'Preferences_active_label' widgets!")
        for layout_active_label in self.get_layouts_active_labels():
            self.addWidget(layout_active_label)

        LOGGER.debug("> Adding 'Custom_Layouts_active_label' widget!")
        self.addWidget(self.get_custom_layouts_active_label())

        LOGGER.debug("> Adding 'Miscellaneous_active_label' widget!")
        self.addWidget(self.get_miscellaneous_active_label())

        LOGGER.debug("> Adding 'Closure_Spacer_label' widget!")
        self.addWidget(self.get_closure_spacer_label())

        return True
510290
public LabelAlphabet DefaultLabelAlphabet()	{
		IAlphabet alphabet = null;
		if (!maps.containsKey(DefalutLabelName))	{
			maps.put(DefalutLabelName, new LabelAlphabet());
			alphabet = maps.get(DefalutLabelName);
		}else	{
			alphabet = maps.get(DefalutLabelName);
			if (!(alphabet instanceof LabelAlphabet))	{
				throw new ClassCastException();
			}
		}
		return (LabelAlphabet) alphabet;
	}