Browse Source

MainRootWindow.qml: indicator popup, allow to not dim background

QGC4.4
davidsastresas 1 year ago committed by Julian Oes
parent
commit
c2009ef5ec
No known key found for this signature in database
GPG Key ID: F0ED380FEA56DE41
  1. 4
      src/ui/MainRootWindow.qml

4
src/ui/MainRootWindow.qml

@ -624,9 +624,10 @@ ApplicationWindow { @@ -624,9 +624,10 @@ ApplicationWindow {
//-------------------------------------------------------------------------
//-- Indicator Popups
function showIndicatorPopup(item, dropItem) {
function showIndicatorPopup(item, dropItem, dim = true) {
indicatorPopup.currentIndicator = dropItem
indicatorPopup.currentItem = item
indicatorPopup.dim = dim
indicatorPopup.open()
}
@ -641,6 +642,7 @@ ApplicationWindow { @@ -641,6 +642,7 @@ ApplicationWindow {
padding: ScreenTools.defaultFontPixelWidth * 0.75
modal: true
focus: true
dim: false
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
property var currentItem: null
property var currentIndicator: null

Loading…
Cancel
Save