Loading files
efeedbe3fThis file is pinned to the selected release. Download the original to open it in your design tool.
import QtQuick 6.2
import QtQuick.Controls 6.2
import QtQuick.Layouts 6.2
import org.librepcb.qmlcomponents
Rectangle {
color: "#4f4f4f"
OpenGlView {
id: view
anchors.fill: parent
}
Column {
x: parent.width - 8 - width
y: 8
width: 25
ImageButton {
width: parent.width
icon: "qrc:///img/actions/icons8-zoom-in-30.png"
onClicked: view.zoomIn()
}
ImageButton {
width: parent.width
icon: "qrc:///img/actions/icons8-zoom-out-30.png"
onClicked: view.zoomOut()
}
ImageButton {
width: parent.width
icon: "qrc:///img/actions/icons8-zoom-to-extents-50.png"
onClicked: view.zoomAll()
}
}
}