• <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編程
             
            久久精品人人做人人爽电影| 99久久99这里只有免费费精品| 91精品免费久久久久久久久| 久久久WWW成人免费毛片| 精品久久久无码中文字幕| 色综合久久中文字幕综合网| 中文字幕无码精品亚洲资源网久久 | 国产精品久久久久久久久久影院| 女人高潮久久久叫人喷水| 无码国内精品久久人妻蜜桃| 久久99国产精品一区二区| 亚洲伊人久久综合中文成人网 | 久久精品麻豆日日躁夜夜躁| 国产AV影片久久久久久| 一级a性色生活片久久无少妇一级婬片免费放| 久久久国产视频| 国产精品亚洲综合专区片高清久久久| 日韩十八禁一区二区久久| 91视频国产91久久久| 久久AV高潮AV无码AV| 午夜精品久久久久9999高清| 久久精品成人国产午夜| 亚洲精品国产字幕久久不卡| 久久久久亚洲av成人无码电影| 99久久精品费精品国产一区二区 | 久久天堂电影网| 久久综合给合久久狠狠狠97色69| 亚洲国产成人精品久久久国产成人一区二区三区综 | 久久精品国产亚洲AV高清热| 欧美日韩精品久久久免费观看| 嫩草影院久久国产精品| 91精品国产色综合久久| 狠狠色丁香久久婷婷综合| 亚洲午夜久久久| 久久高清一级毛片| 国产真实乱对白精彩久久| 久久久久综合网久久| 久久精品国产99国产电影网| 精品久久一区二区| 国内精品欧美久久精品| 久久久久人妻一区精品|