forked from qt-creator/qt-creator
QmlDesigner: Remove the taskbar window when popup opens
Change-Id: I58f52983d8f939f489d3ff364705660906253289 Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -74,7 +74,7 @@ StudioControls.ComboBox {
|
||||
Window {
|
||||
id: window
|
||||
|
||||
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
||||
flags: Qt.Tool | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
||||
|
||||
onActiveFocusItemChanged: {
|
||||
if (!window.activeFocusItem && !root.hovered && root.popup.opened)
|
||||
|
@@ -108,7 +108,7 @@ StudioControls.ComboBox {
|
||||
Window {
|
||||
id: window
|
||||
|
||||
flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
||||
flags: Qt.Tool | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint
|
||||
|
||||
onActiveFocusItemChanged: {
|
||||
if (!window.activeFocusItem && !root.hovered && root.popup.opened)
|
||||
|
@@ -104,7 +104,7 @@ QtObject {
|
||||
return root.maximumHeight + (2 * window.margin)
|
||||
}
|
||||
visible: false
|
||||
flags: Qt.FramelessWindowHint | Qt.Dialog | Qt.WindowStaysOnTopHint
|
||||
flags: Qt.FramelessWindowHint | Qt.Tool | Qt.WindowStaysOnTopHint
|
||||
color: "transparent"
|
||||
|
||||
onClosing: function (close) {
|
||||
|
@@ -110,7 +110,7 @@ T.ComboBox {
|
||||
width: control.listView.width
|
||||
height: control.listView.height + 2 * control.style.borderWidth
|
||||
visible: false
|
||||
flags: Qt.FramelessWindowHint | Qt.Dialog | Qt.NoDropShadowWindowHint | Qt.WindowStaysOnTopHint
|
||||
flags: Qt.FramelessWindowHint | Qt.Tool | Qt.NoDropShadowWindowHint | Qt.WindowStaysOnTopHint
|
||||
modality: Qt.NonModal
|
||||
transientParent: control.Window.window
|
||||
color: "transparent"
|
||||
|
Reference in New Issue
Block a user