• <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:"點(diǎn)擊鼠標(biāo)可旋轉(zhuǎn)文字"
                    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編程
             
            四虎国产精品免费久久久| 99久久免费只有精品国产| 久久久艹| 无码任你躁久久久久久老妇| 香蕉aa三级久久毛片| 久久久久久久久波多野高潮| 日产精品久久久久久久性色| 99国内精品久久久久久久| 久久综合伊人77777麻豆| 久久久久国产精品人妻| 久久久久久久99精品免费观看| 精品久久人人妻人人做精品| 久久狠狠爱亚洲综合影院| 成人妇女免费播放久久久| 久久一区二区免费播放| 久久精品国产精品亚洲毛片| 中文成人无码精品久久久不卡| 久久亚洲AV成人出白浆无码国产| 久久国产成人亚洲精品影院| 久久亚洲欧美国产精品| 国产精品亚洲综合久久 | 思思久久99热只有频精品66| 久久精品一本到99热免费| 久久久WWW成人免费精品| 亚洲国产精品婷婷久久| 无码人妻精品一区二区三区久久| 欧美激情精品久久久久久久九九九| 国产成人无码久久久精品一| 狠狠综合久久综合88亚洲| 精品久久人人爽天天玩人人妻 | 香蕉99久久国产综合精品宅男自 | 免费观看成人久久网免费观看| 久久精品免费一区二区| 热RE99久久精品国产66热| 一本久久a久久精品综合夜夜 | 性欧美大战久久久久久久| 国产毛片久久久久久国产毛片| 一级做a爰片久久毛片16| 亚洲国产精品久久久久婷婷软件 | 久久久久久无码国产精品中文字幕 | 久久这里只有精品首页|