• <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++高級(jí)工程師 Android高級(jí)軟件工程師 IT集成工程師 音頻工程師 熟悉c,c++,java,c#,py,js,asp等多種語(yǔ)言 程序猿
            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 閱讀(729) 評(píng)論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            久久国产亚洲高清观看| 婷婷久久综合九色综合98| 久久久久久极精品久久久| 一本色道久久综合狠狠躁篇| 久久精品卫校国产小美女| 狠狠色丁香婷婷久久综合不卡| 国产精品成人无码久久久久久 | 久久久久亚洲AV片无码下载蜜桃| 韩国三级大全久久网站| 热久久国产欧美一区二区精品| 亚洲国产另类久久久精品黑人 | 久久精品三级视频| 精品国产乱码久久久久软件| 久久亚洲高清观看| 麻豆av久久av盛宴av| 久久国产视频99电影| 国产麻豆精品久久一二三| 日韩欧美亚洲综合久久| 99久久国产亚洲高清观看2024 | 99久久精品国产一区二区 | 久久精品草草草| 亚洲中文久久精品无码| 综合久久给合久久狠狠狠97色| 久久精品国产网红主播| 无码人妻精品一区二区三区久久| 人妻丰满?V无码久久不卡| 久久久久国产精品麻豆AR影院| 精品久久一区二区三区| 国产91久久精品一区二区| 久久精品人人做人人妻人人玩| 色婷婷综合久久久久中文一区二区 | 波多野结衣久久一区二区| 久久久久久极精品久久久| 99久久国产综合精品五月天喷水 | 99久久国产综合精品成人影院| 久久99国产综合精品| 狠狠色婷婷久久一区二区三区 | 欧美黑人又粗又大久久久| 中文字幕乱码久久午夜| 无码专区久久综合久中文字幕 | 思思久久精品在热线热|