Fluid 1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
symbol.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2// SPDX-License-Identifier: MPL-2.0
3
4#pragma once
5
6#include <QtCore/qobject.h>
7#include <QtQml/qqmlregistration.h>
8
9// Fluid symbol metrics were audited against the pinned AndroidX Material 3 token set;
10// it has no generated SymbolTokens.kt counterpart and these values remain Fluid-specific:
11// https://android.googlesource.com/platform/frameworks/support/+/5ba2cdd61be7b6945db999b238d14f3c626136fb/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/
12
13namespace Fluid {
14
16struct Symbol
17{
18 Q_GADGET
19 QML_ANONYMOUS
20
21 Q_PROPERTY(qreal size READ size CONSTANT FINAL)
22
23public:
24 constexpr qreal size() const
25 {
26 return 24.0;
27 }
28};
29
30} // namespace Fluid
Material Symbols icon tokens.
Definition symbol.h:17
QML_ANONYMOUSqreal size
Definition symbol.h:21
constexpr qreal size() const
Definition symbol.h:24