mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-13 00:02:43 +02:00
23 lines
745 B
QML
23 lines
745 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
|
|
SplitView {
|
|
id: splitView
|
|
|
|
handle: Rectangle {
|
|
id: handleDelegate
|
|
implicitWidth: 5
|
|
implicitHeight: 5
|
|
color: palette.window
|
|
property bool hovered: SplitHandle.hovered
|
|
property bool pressed: SplitHandle.pressed
|
|
Rectangle {
|
|
id: handleDisplay
|
|
anchors.centerIn: parent
|
|
property int handleSize: handleDelegate.pressed ? 3 : 1
|
|
width: splitView.orientation === Qt.Horizontal ? handleSize : handleDelegate.width
|
|
height: splitView.orientation === Qt.Vertical ? handleSize : handleDelegate.height
|
|
color: handleDelegate.hovered ? palette.highlight : palette.base
|
|
}
|
|
}
|
|
}
|