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()
                    }
                }
            }
        }
    }
  • 相关阅读:
    SpringMVC扩展
    反射机制
    python day9
    python day8
    python day7
    python day6
    python day4
    python day3
    python day2
    python day1
  • 原文地址:https://www.cnblogs.com/yshyee/p/4764538.html
Copyright © 2011-2022 走看看