mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-03 05:29:50 +00:00
29 lines
766 B
QML
29 lines
766 B
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
|
|
import Logos.Theme
|
|
|
|
// Small icon-only action button for the wallet menu. Uses the same Button +
|
|
// icon.source/icon.color path as LogosCopyButton, which renders reliably here
|
|
// (LogosIconButton's Image + MultiEffect shader path does not).
|
|
Button {
|
|
id: root
|
|
|
|
property url iconSource
|
|
property color iconColor: Theme.palette.textSecondary
|
|
property int iconSize: 18
|
|
property string accessibleName: ""
|
|
|
|
implicitWidth: 32
|
|
implicitHeight: 32
|
|
text: root.accessibleName
|
|
Accessible.name: root.accessibleName
|
|
display: AbstractButton.IconOnly
|
|
flat: true
|
|
|
|
icon.source: root.iconSource
|
|
icon.width: root.iconSize
|
|
icon.height: root.iconSize
|
|
icon.color: root.iconColor
|
|
}
|