14 lines
331 B
QML
14 lines
331 B
QML
// Copyright 2019 miruka
|
|
// This file is part of harmonyqml, licensed under LGPLv3.
|
|
|
|
import QtQuick 2.12
|
|
|
|
HImage {
|
|
property var svgName: null
|
|
property int dimension: 20
|
|
|
|
source: "../../icons/" + (svgName || "none") + ".svg"
|
|
sourceSize.width: svgName ? dimension : 0
|
|
sourceSize.height: svgName ? dimension : 0
|
|
}
|