• <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.7
            import QtQuick.Controls 2.0
            import QtGraphicalEffects 1.0

            Rectangle
            {
                visible
            : true
                width: 400
                height: 300

                Text
                {
                    id: textID
                    height: 240
                    width: 240
                    anchors.centerIn: parent
                    text:"點擊鼠標可旋轉文字"
                    verticalAlignment: Text.AlignVCenter
                    horizontalAlignment: Text.AlignHCenter
                    font.pointSize: 13

                    MouseArea
                    {
                        anchors.fill: parent
                        onClicked:
                        {
                            if(rotationAnimation.running === true)
                                return
            ;
                            rotationAnimation.start();
                        
            }
                    }

                    LinearGradient
                    
            {
                        source
            : textID
                        width: 240
                        height: 240
                        gradient: Gradient
                        {
                            GradientStop
                            {
                                position: 0.0
                                color: "#22F222"
                            
            }
                            GradientStop
                            
            {
                                position
            : 0.9
                                color: "#F0280F"
                            
            }
                        }
                        start: Qt.point(0,0)
                        end: Qt.point(240,240)
                    }
                }

                RotationAnimation
                
            {
                    id
            : rotationAnimation
                    target: textID
                    from: currentAngle
                    to: currentAngle+diff
                    duration: 100
                    readonly property int diff: 5
                    property int currentAngle: 0
                    property bool isDown: true

                    onStopped:
                    {
                        rotationAnimation.from = rotationAnimation.to
                        rotationAnimation.to = rotationAnimation.to+diff
            ;
                    
            }
                }
            }
            posted on 2019-08-26 10:03 ccsdu2009 閱讀(394) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            国产精品久久久久蜜芽| 精品久久久无码人妻中文字幕| 欧美久久久久久| 久久综合亚洲欧美成人| 欧美亚洲色综久久精品国产| 久久久婷婷五月亚洲97号色| 久久久久亚洲AV无码专区网站 | 久久亚洲av无码精品浪潮| 久久久久久久波多野结衣高潮 | 99久久亚洲综合精品网站| 九九久久自然熟的香蕉图片| 四虎影视久久久免费观看| 久久不见久久见免费视频7| 久久综合中文字幕| 久久久久国产精品熟女影院 | 狠狠色噜噜色狠狠狠综合久久| 久久久久一级精品亚洲国产成人综合AV区 | 久久久久无码精品国产不卡| 国产精品伊人久久伊人电影| 蜜臀av性久久久久蜜臀aⅴ麻豆| 久久精品成人免费国产片小草| 精品精品国产自在久久高清| 久久久亚洲欧洲日产国码aⅴ| 精品免费久久久久国产一区| 精品视频久久久久| 久久综合九色综合网站| 亚洲精品99久久久久中文字幕| 久久99热这里只有精品国产| 亚洲精品乱码久久久久久 | 青春久久| 国产精品久久久久乳精品爆| 91亚洲国产成人久久精品网址| 久久国产色AV免费观看| 伊人久久大香线蕉av不变影院| 一极黄色视频久久网站| 久久久91人妻无码精品蜜桃HD| 亚洲国产精品久久久久婷婷软件| 久久91精品国产91久久小草| 91精品日韩人妻无码久久不卡| 久久99精品国产一区二区三区| 国产精品久久影院|