ExtendedLegend

Search for usage in LXR

ExtendedLegend Class Reference

Properties

var colorSource
 
alias sensorIds
 
SensorDataModel sourceModel
 
int updateRateLimit
 

Detailed Description

A legend control to be used in faces based on org.kde.quickcharts.Controls.Legend.

It handles layouting and display of information depending on the available space. By default the current value of a sensor and its name are displayed, if it is shrunk the shortName is displayed instead.

Since
5.19

Definition at line 25 of file ExtendedLegend.qml.

Property Documentation

◆ colorSource

var ExtendedLegend::colorSource
read
Deprecated
since 5.21 Has no effect

Definition at line 40 of file ExtendedLegend.qml.

◆ sensorIds

alias ExtendedLegend::sensorIds
read

A list of sensor ids that should be displayed in addition to those from sourceModel.

Typically set to lowPrioritySensorIds from FaceController

Definition at line 31 of file ExtendedLegend.qml.

◆ sourceModel

SensorDataModel ExtendedLegend::sourceModel
read

The SensorDataModel that should be used to retrieve data about the sensors.

Definition at line 35 of file ExtendedLegend.qml.

◆ updateRateLimit

int ExtendedLegend::updateRateLimit
read

Definition at line 42 of file ExtendedLegend.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 Oct 11 2024 12:17:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.