zoukankan      html  css  js  c++  java
  • Qt Quick分组属性案例

    import QtQuick 2.4
    import QtQuick.Controls 1.4
    import QtQuick.Controls.Styles 1.4
    import QtQuick.Window 2.2
    
    Window {
        visible: true
        MainForm {
            anchors.fill: parent
            mouseArea.onClicked: {
                Qt.quit();
            }
    
            Rectangle{
                320
                height: 480
    
                Button{
                    id: openFile
                    text: "Open"
                    anchors.left: parent.left
                    anchors.leftMargin:  6
                    anchors.top:parent.top
                    anchors.topMargin: 6
                }
    
                Button{
                    id: quit
                    text: "Quit"
                    anchors{
                        left: openFile.right
                        leftMargin: 4
                        bottom: openFile.bottom
                    }
                    onClicked: {
                        Qt.quit()
                    }
                }
            }
        }
    }
  • 相关阅读:
    qq
    qqq
    q
    .json文件
    q
    q
    q
    找jar包的网址
    1qq
    day18(JDBC事务&连接池介绍&DBUtils工具介绍&BaseServlet作用)
  • 原文地址:https://www.cnblogs.com/yshyee/p/4764538.html
Copyright © 2011-2022 走看看