• <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久久免费观看| 国产精品久久久天天影视香蕉 | 久久亚洲日韩精品一区二区三区| 久久久久亚洲精品天堂| 日日狠狠久久偷偷色综合0| 粉嫩小泬无遮挡久久久久久| 亚洲一级Av无码毛片久久精品| 色狠狠久久AV五月综合| 亚洲欧美日韩久久精品| 日本免费一区二区久久人人澡 | 久久久久亚洲精品天堂| 人妻无码久久精品| 精品国产91久久久久久久a| 精品久久久久久国产潘金莲| 综合网日日天干夜夜久久| 免费精品久久久久久中文字幕 | 久久夜色精品国产噜噜亚洲a| 热久久国产精品| 成人免费网站久久久| 久久亚洲国产成人精品性色| 久久亚洲精品无码aⅴ大香| 久久影院午夜理论片无码| 青青热久久综合网伊人| 久久亚洲精品中文字幕三区| 久久久无码人妻精品无码| 久久久久亚洲av无码专区| 日本强好片久久久久久AAA| 无码人妻久久一区二区三区免费 | 欧美午夜A∨大片久久| 狠狠色综合久久久久尤物| 国产三级观看久久| 亚洲精品午夜国产va久久| 99精品久久久久久久婷婷| 日产精品久久久一区二区| 91精品国产高清久久久久久io |