• <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.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 閱讀(740) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            无码久久精品国产亚洲Av影片| 久久国产免费| 欧洲成人午夜精品无码区久久 | 欧美性猛交xxxx免费看久久久| 亚洲欧洲久久久精品| 97精品伊人久久大香线蕉app| 久久久久亚洲AV无码专区网站| 欧美日韩精品久久久久| 日本久久久精品中文字幕| 精品伊人久久大线蕉色首页| AAA级久久久精品无码区| 狠狠综合久久综合88亚洲 | 久久婷婷色综合一区二区| 欧美午夜精品久久久久免费视| 国产精品久久久久久久午夜片 | 色婷婷综合久久久久中文一区二区 | 97久久国产综合精品女不卡| 国产99久久久国产精免费| 99久久国产热无码精品免费| 亚洲成av人片不卡无码久久| 99久久精品这里只有精品| 亚洲AV无码一区东京热久久| 久久亚洲国产最新网站| 久久艹国产| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 伊人久久大香线蕉亚洲| 色婷婷综合久久久久中文字幕| 久久狠狠色狠狠色综合| 久久久精品国产sm调教网站| 久久精品中文字幕大胸| 女同久久| 三级韩国一区久久二区综合| Xx性欧美肥妇精品久久久久久 | 777米奇久久最新地址| 国产亚洲精品美女久久久| 久久久一本精品99久久精品88| 久久精品一本到99热免费| 亚洲中文字幕无码久久2017 | 国产99久久九九精品无码| 久久99亚洲综合精品首页| 人妻无码久久精品|