title: Restore minimized frameless window in qml
body: <p>I have a default main.cpp file and write some code in my qml file. Something like this:</p>
  
  <pre><code>ApplicationWindow {
  id: mainWindow
  
  width: 640
  height: 480
  color: "white"
  
  visible: true
  
  flags: Qt.FramelessWindowHint
  
        Rectangle {
              id: minimizeButton
  
              width: 32
              height: 32
  
              Rectangle {
                  anchors {
                      bottom: parent.bottom
                      left: parent.left
                      right: parent.right
                  }
  
                  color: "grey"
  
                  height: 2
  
                  scale: mouse.pressed ? 0.8 : 1.0
                  smooth: mouse.pressed
              }
  
              MouseArea {
                  id: mouse
                  anchors.fill: parent
  
                  hoverEnabled: true
  
                  onClicked: mainWindow.showMinimized()
              }
          }
  }
  </code></pre>
  
  <p>So, my question is: how after i have minimized window to restore it? Because there's no programm on control panel in Windows.</p>