lqml/examples/Qt6/cl-repl/qml/ext/ArrowButton.qml
2024-10-26 12:58:33 +02:00

17 lines
385 B
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Controls.Basic
Button {
width: main.small ? 33 : 45
height: width
flat: true
focusPolicy: Qt.NoFocus
font.family: fontAwesome.name
font.pixelSize: 1.2 * width
opacity: 0.12
scale: 1.2
onPressed: Lisp.call(this, "editor:button-pressed")
onPressAndHold: Lisp.call(this, "editor:button-pressed-and-helt")
}