• <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 閱讀(716) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            麻豆精品久久久久久久99蜜桃| 久久丫精品国产亚洲av不卡| 伊人色综合九久久天天蜜桃| 久久精品国产AV一区二区三区| 国产综合久久久久久鬼色| 94久久国产乱子伦精品免费| 精品伊人久久大线蕉色首页| 久久亚洲精品视频| 亚洲中文字幕无码久久综合网| 国产成人久久777777| 久久精品国产99久久久古代 | 久久中文字幕人妻丝袜| 久久精品成人国产午夜| 97精品国产97久久久久久免费| 国产福利电影一区二区三区久久老子无码午夜伦不 | 人妻精品久久久久中文字幕| 97久久久久人妻精品专区| 国产精品久久久久a影院| 久久高清一级毛片| 久久精品国产99国产电影网| 蜜臀久久99精品久久久久久小说| 青春久久| 久久人妻少妇嫩草AV无码蜜桃| 久久精品一区二区| 99国产精品久久| 国产精品9999久久久久| 色欲久久久天天天综合网精品| 少妇人妻综合久久中文字幕| 香港aa三级久久三级老师2021国产三级精品三级在 | 亚洲av成人无码久久精品| 一级A毛片免费观看久久精品| 国内精品久久久久久久coent| 女人香蕉久久**毛片精品| 91精品国产高清久久久久久io | 久久人人爽爽爽人久久久| 亚洲国产成人精品91久久久| 久久久无码精品午夜| 久久久受www免费人成| 亚洲欧洲精品成人久久奇米网| 亚洲性久久久影院| 香蕉aa三级久久毛片|