Skip to content

MetadataItem

One label/value pair for MetadataControl.

import QWinUI3.Extras · src/extras/QWinUI3/Extras/MetadataItem.qml

Category: Other · Library: v2.80

← Component index

Extends Control.

Example

MetadataControl {
    MetadataItem { label: qsTr("Author"); value: "Ada" }
    MetadataItem { label: qsTr("Size"); value: "12 KB" }
}

Notes

Single label/value row inside MetadataControl.

API

Properties

Name Type Description
label string Field label
value string Current value
secondary string Secondary value line
symbol var FluentIcons symbol (preferred over iconGlyph)
iconGlyph string Raw Fluent glyph string fallback
orientation int Qt.Horizontal or Qt.Vertical
valueColor color Value / series color
effectiveIconGlyph string Resolved glyph string

Signals

No custom signals (use inherited signals from the base type).

Methods

No custom methods (use inherited methods from the base type).

Inherited from Control

Also available (base type / Qt Quick Controls):

  • padding
  • font
  • background / contentItem

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.