QML窗口最大化、最小化、无边框

import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.0

ApplicationWindow {
    visible: true
    visibility:"Maximized"          //最大化
    //visibility:"Minimized"        //最小化

    flags:Qt.FramelessWindowHint    //无边框
//    width: 640
//    height: 480
    title: qsTr("Hello World")

 

你可能感兴趣的:(QML)