• <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編程
             
            欧美无乱码久久久免费午夜一区二区三区中文字幕 | 99久久无码一区人妻a黑| 99蜜桃臀久久久欧美精品网站| 国产亚洲美女精品久久久2020| 日韩精品无码久久一区二区三| 中文字幕热久久久久久久| 精品久久久久久久久免费影院| 精品久久久久久99人妻| 精品国产乱码久久久久久人妻| 色偷偷偷久久伊人大杳蕉| 93精91精品国产综合久久香蕉 | 亚洲中文久久精品无码| 伊人色综合久久| 欧美精品一本久久男人的天堂| 久久久久免费精品国产| 久久无码AV中文出轨人妻| 久久夜色精品国产亚洲| 久久99国内精品自在现线| 久久久国产亚洲精品| 国产精品久久新婚兰兰| 久久影视国产亚洲| 亚洲精品无码久久久| 久久精品免费大片国产大片| 99久久久久| 人妻无码精品久久亚瑟影视| 国产精品99久久久久久猫咪| 蜜桃麻豆www久久| 久久人人爽人爽人人爽av| 色偷偷91久久综合噜噜噜噜| 久久伊人精品青青草原日本| 午夜精品久久久久久影视riav | 精品久久一区二区| 久久亚洲欧洲国产综合| 欧美黑人激情性久久| 精品国产乱码久久久久久浪潮| 国产精品成人久久久| 国产欧美一区二区久久| 噜噜噜色噜噜噜久久| 精品久久久久一区二区三区| 久久久这里只有精品加勒比| 久久99国产精品久久99|