• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            Cpper
            C/C++高級工程師 Android高級軟件工程師 IT集成工程師 音頻工程師 熟悉c,c++,java,c#,py,js,asp等多種語言 程序猿
            行列布局
                import QtQuick 2.2  
                import QtQuick.Controls 1.1 
                 
                Item 
                
            {
                    id
            : root
                    Column 
                    {
                        id: buttons
                        anchors.centerIn: parent
                        spacing: 6
                        MyButton
                        {
                            width:64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                        
            }
                        
                        Row 
                        
            {
                            id
            : rows
                            spacing: 12
                            MyButton
                            {
                                width:64
                                height:48
                            
            }
                            MyButton
                            
            {
                                width
            :64
                                height:48
                            
            }
                            MyButton
                            
            {
                                width
            :64
                                height:48
                            
            }
                        }
                    }
                }   

            格子布局
                import QtQuick 2.2  
                import QtQuick.Controls 1.1 
                 
                Item 
                
            {
                    id
            : root
                    Grid
                    {
                        id: buttons
                        rows: 3
                        columns: 2
                        anchors.centerIn: parent
                        spacing: 6
                        MyButton
                        {
                            width:64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                        
            }
                        MyButton
                        
            {
                            width
            :64
                            height:48
                            color: "red"
                        
            }
                    }
                }   

            MyButton.qml
                import QtQuick 2.2  
                import QtQuick.Controls 1.1  
                 
                Rectangle 
                
            { 
                    id
            : item
                    color: "yellow"
                    border.color: "blue"
                    Text 
                    {
                        id: text
                        anchors.centerIn: parent
                        text: "點擊我"
                    
            }
                    MouseArea 
                    
            {
                        anchors.fill
            : parent
                        onClicked: 
                        {
                            text.text = "我被點擊了"
                        
            }
                    }
                }
            posted on 2015-08-20 11:47 ccsdu2009 閱讀(388) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            久久亚洲精品视频| 国产香蕉久久精品综合网| 99久久超碰中文字幕伊人| 99久久99久久精品免费看蜜桃 | 久久本道久久综合伊人| 无码人妻少妇久久中文字幕| 久久精品国产亚洲AV大全| 久久黄视频| 久久精品人人槡人妻人人玩AV| 一本大道加勒比久久综合| 久久午夜无码鲁丝片秋霞| 国产ww久久久久久久久久| 久久国产色av免费看| 狠狠精品久久久无码中文字幕| 久久久久亚洲av综合波多野结衣| 国产亚洲色婷婷久久99精品91| 久久夜色精品国产噜噜亚洲AV| 亚洲欧美一级久久精品| 久久综合五月丁香久久激情| 久久精品无码一区二区三区免费| 超级97碰碰碰碰久久久久最新 | 久久成人国产精品免费软件| 一本久久久久久久| 久久精品中文无码资源站| 久久久亚洲AV波多野结衣| 精品久久久久久国产牛牛app| 99久久er这里只有精品18| 久久精品国产第一区二区三区| 亚洲性久久久影院| 久久国产精品偷99| 久久中文娱乐网| 久久99精品久久久久久秒播| 97精品国产97久久久久久免费| 久久精品国产亚洲综合色| 四虎国产永久免费久久| 亚洲国产精品久久久久久| 久久久久夜夜夜精品国产| 伊人丁香狠狠色综合久久| yellow中文字幕久久网| 久久午夜无码鲁丝片午夜精品| 久久人人爽人人爽人人片AV麻豆 |