Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem width multiple ApplicationWindows activefocusitem and requestActivate()



  • Hello,

    I wanted to build a customized a two-layer menu by ApplicatioWindows.
    Like following picture. The first applicationwindow would side from right of background window and the second one would side out when clicking the first layer.
    0_1555308855232_2019-04-15 (1).png

    Also I want to design the effect of hiding both applicationwindows when clicking outside applicationwindows.
    Can anyone help me with this problem?

    PS. following code is the desired property of applicationwindow

    ApplicationWindow {
        flags: Qt.WindowStaysOnTopHint | Qt.Popup | Qt.FramelessWindowHint | Popup.CloseOnPressOutside
    }
    

    Thank you
    Best Regared,
    Jimmy


Log in to reply