• <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 閱讀(717) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            久久这里只有精品久久| jizzjizz国产精品久久| 久久久久久国产精品无码下载| 久久只这里是精品66| 国内精品久久人妻互换| 久久精品国产精品青草app| 久久亚洲精品成人无码网站| 精品久久久久久无码中文野结衣| 久久99国产精品尤物| 99热精品久久只有精品| 久久久久综合网久久| 思思久久99热只有频精品66| 久久成人国产精品| 久久人人爽人人爽人人AV| 久久久久久国产精品无码下载 | 精品国产91久久久久久久a| 亚洲成av人片不卡无码久久| 国产精品久久久天天影视香蕉 | 色综合久久中文字幕无码| 色狠狠久久综合网| 精品人妻伦一二三区久久| 久久中文骚妇内射| 97久久国产综合精品女不卡| 精品人妻伦九区久久AAA片69| 国产综合免费精品久久久| 国产高潮国产高潮久久久| 久久人妻AV中文字幕| 伊人久久大香线蕉成人| 久久久精品国产Sm最大网站| 99久久国产热无码精品免费久久久久| 久久本道久久综合伊人| 91精品婷婷国产综合久久| 久久噜噜电影你懂的| 99re这里只有精品热久久| 久久久久久国产精品无码下载| 国産精品久久久久久久| 99久久婷婷国产综合精品草原| 久久精品国产清高在天天线| 久久精品国产亚洲AV电影| 国产精品无码久久综合| 99久久综合狠狠综合久久止|