Search for usage in LXR

ShadowedLabel Class Reference
Inheritance diagram for ShadowedLabel:


bool renderShadow

Detailed Description

White text label with a black shadow behind it.

A standardized label with white text and a black shadow behind it. When using software rendering such that the shadow is not available, a black rounded rectangle is used in its stead.

By default it elides text on the right, wraps in a way that prefers word boundaries, and uses plain text formatting.

The most important property is "text", which applies to the text property of the underlying Label component. See the Label component from QtQuick.Controls 2 and primitive QML Text element API for additional properties, methods, and signals.

Definition at line 31 of file ShadowedLabel.qml.

Property Documentation

◆ renderShadow

bool ShadowedLabel::renderShadow

This property can be used to conditionally not render the shadow, even when it's technically possible to render it.

default: true

Definition at line 39 of file ShadowedLabel.qml.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:58:06 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.