• <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++高級(jí)工程師 Android高級(jí)軟件工程師 IT集成工程師 音頻工程師 熟悉c,c++,java,c#,py,js,asp等多種語(yǔ)言 程序猿
            import QtQuick 2.11
            import QtQuick.Controls 2.4

            Rectangle
            {
                id
            : base
                width:640
                height:480
                color: backgroundColor

                property string backgroundColor: "#191919"
                anchors.margins: 6

                Rectangle {
                    id: seekTimeBubble
                    width: currentSeekTime.width + 14
                    height: currentSeekTime.height + 21
                    anchors.centerIn: parent
                    color: parent.color

                    Canvas {
                        id: canvasSeekTime
                        anchors.fill: parent
                        property real radius: 9

                        onPaint: {
                            var ctx = getContext('2d')
                            ctx.reset()
                            ctx.strokeStyle = base.color
                            ctx.lineWidth = 1
                            ctx.clearRect(0, 0, width, height)
                            ctx.beginPath()

                            ctx.moveTo(0, radius)
                            ctx.arcTo(0, 0, radius, 0,radius)

                            ctx.lineTo(parent.width - radius, 0)
                            ctx.arcTo(parent.width, 0, parent.width, radius, radius)

                            ctx.lineTo(parent.width, parent.height - radius * 2)
                            ctx.arcTo(parent.width, parent.height - radius,parent.width - radius,parent.height - radius, radius)

                            ctx.lineTo(parent.width / 2 + 1.5*radius,parent.height - radius)
                            ctx.lineTo(parent.width / 2, parent.height)
                            ctx.lineTo(parent.width / 2 - 1.5*radius,parent.height - radius)
                            ctx.lineTo(radius, parent.height - radius)
                            ctx.arcTo(0, parent.height - radius, 0, parent.height - radius * 2, radius)

                            ctx.closePath()
                            ctx.clip()
                            ctx.stroke()
                            ctx.fillStyle = "#333333"
                            ctx.fillRect(0, 0, width, height)
                        
            }

                        Text 
            {
                            id
            : currentSeekTime
                            anchors {
                                top: parent.top
                                topMargin: 3
                                horizontalCenter: parent.horizontalCenter
                            
            }
                            color: "#ffffff"
                            font.pointSize: 12
                            text: "03:21"
                            onWidthChanged: 
            {
                                canvasSeekTime.requestPaint()
                            
            }
                        }
                    }
                    Glow 
            {
                        anchors.fill
            : canvasSeekTime
                        samples: 17
                        color: "transparent"
                        source: canvasSeekTime
                    
            }
                }
            }
            posted on 2019-09-16 10:45 ccsdu2009 閱讀(729) 評(píng)論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            久久综合给合综合久久| 久久久久久噜噜精品免费直播| 伊人 久久 精品| 国产成人精品三上悠亚久久| www久久久天天com| 91久久精品国产91性色也| 亚洲国产小视频精品久久久三级 | 久久免费视频一区| 香蕉99久久国产综合精品宅男自| 久久久久se色偷偷亚洲精品av | 97久久超碰国产精品旧版| 久久久久婷婷| 少妇精品久久久一区二区三区| 波多野结衣中文字幕久久| 国产69精品久久久久观看软件| 久久国产精品一国产精品金尊 | 97精品伊人久久久大香线蕉| 国产精品亚洲综合久久| 欧美丰满熟妇BBB久久久| 91久久精品国产免费直播| 久久ZYZ资源站无码中文动漫| 精品久久久无码中文字幕| 久久Av无码精品人妻系列| 精品多毛少妇人妻AV免费久久| 久久久久久午夜精品| 久久e热在这里只有国产中文精品99| 久久午夜无码鲁丝片秋霞| 99久久亚洲综合精品网站| 久久无码国产| 久久国产精品无码HDAV| 久久婷婷五月综合97色直播| 久久国产视屏| 四虎国产精品免费久久5151| 久久夜色精品国产噜噜亚洲a| 欧美粉嫩小泬久久久久久久| 欧美大香线蕉线伊人久久| 久久AV高清无码| 日韩精品久久久久久久电影蜜臀| 99久久精品免费看国产| 国内精品久久人妻互换| 色播久久人人爽人人爽人人片AV|