• <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资源网站| 色综合久久精品中文字幕首页| 亚洲人成无码www久久久| 亚洲伊人久久综合中文成人网| 久久av免费天堂小草播放| 久久人妻少妇嫩草AV无码蜜桃| 欧美成人免费观看久久| 精品国产乱码久久久久软件| 亚洲AV日韩AV永久无码久久| 久久精品国产清高在天天线| 国产精品视频久久久| 成人a毛片久久免费播放| 久久久久99精品成人片| 久久久久久无码国产精品中文字幕 | 中文无码久久精品| 国产一区二区精品久久凹凸| 国产午夜精品久久久久九九| 三级片免费观看久久| 久久香综合精品久久伊人| 国产精品九九久久精品女同亚洲欧美日韩综合区 | 久久无码人妻一区二区三区| 国产69精品久久久久9999APGF| 久久久一本精品99久久精品66 | 国产精品久久久久无码av| 成人国内精品久久久久影院| 久久99热这里只有精品国产| 国色天香久久久久久久小说| 久久精品国产秦先生| 波多野结衣久久精品| 婷婷久久综合九色综合98| 久久综合伊人77777麻豆| 国产精品久久毛片完整版| 久久青青草视频| 久久综合综合久久狠狠狠97色88| 久久亚洲精品无码观看不卡| 婷婷伊人久久大香线蕉AV| 精品无码人妻久久久久久| 精品国产乱码久久久久久郑州公司 | 久久精品国产AV一区二区三区|