mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
644a0e509f
commit
26311d6342
@ -549,18 +549,16 @@ Rectangle {
|
|||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
visible: !(columnObject.width === columnObject.minimumWidth && columnObject.width === columnObject.maximumWidth && columnObject.width)
|
visible: !(columnObject.width === columnObject.minimumWidth && columnObject.width === columnObject.maximumWidth && columnObject.width)
|
||||||
cursorShape: Qt.SplitHCursor
|
cursorShape: Qt.SplitHCursor
|
||||||
|
preventStealing: true
|
||||||
onPressed :
|
onPressed :
|
||||||
(mouse)=>{
|
(mouse)=>{
|
||||||
header_horizontal.interactive = false
|
|
||||||
FluTools.setOverrideCursor(Qt.SplitHCursor)
|
FluTools.setOverrideCursor(Qt.SplitHCursor)
|
||||||
clickPos = Qt.point(mouse.x, mouse.y)
|
clickPos = Qt.point(mouse.x, mouse.y)
|
||||||
}
|
}
|
||||||
onReleased:{
|
onReleased:{
|
||||||
header_horizontal.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onCanceled: {
|
onCanceled: {
|
||||||
header_horizontal.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onPositionChanged:
|
onPositionChanged:
|
||||||
@ -685,6 +683,7 @@ Rectangle {
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
cursorShape: Qt.SplitVCursor
|
cursorShape: Qt.SplitVCursor
|
||||||
|
preventStealing: true
|
||||||
visible: {
|
visible: {
|
||||||
if(rowObject === null)
|
if(rowObject === null)
|
||||||
return false
|
return false
|
||||||
@ -692,16 +691,13 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
onPressed :
|
onPressed :
|
||||||
(mouse)=>{
|
(mouse)=>{
|
||||||
header_vertical.interactive = false
|
|
||||||
FluTools.setOverrideCursor(Qt.SplitVCursor)
|
FluTools.setOverrideCursor(Qt.SplitVCursor)
|
||||||
clickPos = Qt.point(mouse.x, mouse.y)
|
clickPos = Qt.point(mouse.x, mouse.y)
|
||||||
}
|
}
|
||||||
onReleased:{
|
onReleased:{
|
||||||
header_vertical.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onCanceled: {
|
onCanceled: {
|
||||||
header_vertical.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onPositionChanged:
|
onPositionChanged:
|
||||||
|
@ -550,18 +550,16 @@ Rectangle {
|
|||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
visible: !(columnObject.width === columnObject.minimumWidth && columnObject.width === columnObject.maximumWidth && columnObject.width)
|
visible: !(columnObject.width === columnObject.minimumWidth && columnObject.width === columnObject.maximumWidth && columnObject.width)
|
||||||
cursorShape: Qt.SplitHCursor
|
cursorShape: Qt.SplitHCursor
|
||||||
|
preventStealing: true
|
||||||
onPressed :
|
onPressed :
|
||||||
(mouse)=>{
|
(mouse)=>{
|
||||||
header_horizontal.interactive = false
|
|
||||||
FluTools.setOverrideCursor(Qt.SplitHCursor)
|
FluTools.setOverrideCursor(Qt.SplitHCursor)
|
||||||
clickPos = Qt.point(mouse.x, mouse.y)
|
clickPos = Qt.point(mouse.x, mouse.y)
|
||||||
}
|
}
|
||||||
onReleased:{
|
onReleased:{
|
||||||
header_horizontal.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onCanceled: {
|
onCanceled: {
|
||||||
header_horizontal.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onPositionChanged:
|
onPositionChanged:
|
||||||
@ -686,6 +684,7 @@ Rectangle {
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
cursorShape: Qt.SplitVCursor
|
cursorShape: Qt.SplitVCursor
|
||||||
|
preventStealing: true
|
||||||
visible: {
|
visible: {
|
||||||
if(rowObject === null)
|
if(rowObject === null)
|
||||||
return false
|
return false
|
||||||
@ -693,16 +692,13 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
onPressed :
|
onPressed :
|
||||||
(mouse)=>{
|
(mouse)=>{
|
||||||
header_vertical.interactive = false
|
|
||||||
FluTools.setOverrideCursor(Qt.SplitVCursor)
|
FluTools.setOverrideCursor(Qt.SplitVCursor)
|
||||||
clickPos = Qt.point(mouse.x, mouse.y)
|
clickPos = Qt.point(mouse.x, mouse.y)
|
||||||
}
|
}
|
||||||
onReleased:{
|
onReleased:{
|
||||||
header_vertical.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onCanceled: {
|
onCanceled: {
|
||||||
header_vertical.interactive = true
|
|
||||||
FluTools.restoreOverrideCursor()
|
FluTools.restoreOverrideCursor()
|
||||||
}
|
}
|
||||||
onPositionChanged:
|
onPositionChanged:
|
||||||
|
Loading…
Reference in New Issue
Block a user