• <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 閱讀(380) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            久久免费高清视频| 久久青青草原精品影院| 中文字幕久久久久人妻| 久久无码人妻一区二区三区午夜| 久久久久亚洲Av无码专| 狠狠色丁香婷婷久久综合不卡| 精品国产青草久久久久福利 | 久久久精品2019免费观看| 狠狠狠色丁香婷婷综合久久俺| 免费精品久久久久久中文字幕| 囯产极品美女高潮无套久久久| 国产精品久久久99| 欧美噜噜久久久XXX| 老司机午夜网站国内精品久久久久久久久 | 国产99久久久久久免费看| 亚洲午夜久久久影院| 99久久久久| 国产精品青草久久久久婷婷| 2021最新久久久视精品爱| 久久国产美女免费观看精品| 久久ZYZ资源站无码中文动漫| 久久99热这里只有精品66| 久久99亚洲综合精品首页| 99久久精品费精品国产一区二区| 伊人久久大香线蕉av不变影院| 久久无码人妻精品一区二区三区| 久久电影网一区| 久久99国产亚洲高清观看首页| 日产精品99久久久久久| 一本久久a久久精品亚洲| 99久久国产亚洲综合精品| 久久成人小视频| 久久久久久综合网天天| 久久久久久久综合狠狠综合| 亚洲国产精品无码久久九九| 亚洲欧美久久久久9999| 久久强奷乱码老熟女| 久久久高清免费视频| 99久久夜色精品国产网站| 久久久久久亚洲精品成人| 人妻无码αv中文字幕久久琪琪布|