• <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編程
             
            国内精品久久久久影院优| 中文字幕无码久久精品青草| 亚洲а∨天堂久久精品| 94久久国产乱子伦精品免费| 成人免费网站久久久| 久久精品99久久香蕉国产色戒| 精品人妻伦九区久久AAA片69| 国内精品久久久久久不卡影院| 中文字幕久久欲求不满| 97久久国产亚洲精品超碰热| 国产精品久久久久久福利漫画| 久久精品aⅴ无码中文字字幕不卡 久久精品aⅴ无码中文字字幕重口 | 国产精品一久久香蕉国产线看观看| 久久综合狠狠综合久久综合88| 亚洲国产美女精品久久久久∴ | 天天综合久久一二三区| 亚洲天堂久久久| 久久亚洲欧美国产精品| 狠狠色丁香婷婷综合久久来 | 久久97久久97精品免视看秋霞| 久久精品国产WWW456C0M| 久久久亚洲AV波多野结衣| 久久久久AV综合网成人| 国产精品成人久久久久久久| 久久精品极品盛宴观看| 久久亚洲AV成人出白浆无码国产| 久久久久久久99精品免费观看| 久久久久久亚洲精品不卡| 久久久久久久精品成人热色戒| AAA级久久久精品无码片| 久久久久国产一区二区三区| 无遮挡粉嫩小泬久久久久久久| 香蕉久久夜色精品国产小说| 伊人久久亚洲综合影院| 国产韩国精品一区二区三区久久| 久久亚洲国产成人影院网站| 久久亚洲私人国产精品vA| 欧美性大战久久久久久| 国产精品美女久久久久久2018 | 久久综合九色欧美综合狠狠| 久久国产精品无码一区二区三区|