• <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 閱讀(729) 評論(0)  編輯 收藏 引用 所屬分類: QT編程
             
            久久亚洲天堂| 精品久久久噜噜噜久久久| 人人狠狠综合久久亚洲高清| 久久99精品国产| 亚洲精品无码久久久久久| 国产激情久久久久影院老熟女免费| 日韩久久无码免费毛片软件| 国产精品美女久久福利网站| 久久香蕉国产线看观看精品yw| 老司机午夜网站国内精品久久久久久久久 | 久久久久国产一区二区三区| 怡红院日本一道日本久久| 亚洲午夜久久久| 久久亚洲国产精品123区| 青青草国产成人久久91网| 国产精品美女久久久久| 亚洲国产精品18久久久久久| 久久天天躁狠狠躁夜夜2020 | 国产高潮国产高潮久久久91| 亚洲第一极品精品无码久久| 久久男人AV资源网站| 久久久久国色AV免费观看 | 久久免费视频1| 亚洲国产一成人久久精品| 久久精品国产亚洲AV香蕉| 久久99热这里只有精品66| 久久人人爽人人人人爽AV| 国产成人精品综合久久久久| 欧美久久天天综合香蕉伊| 偷偷做久久久久网站| 亚洲色欲久久久综合网东京热| 亚洲国产精品成人久久| www.久久99| 久久久亚洲裙底偷窥综合| 亚洲国产精品无码久久| 国产美女久久精品香蕉69| 亚洲一区中文字幕久久| 久久久久九九精品影院| 久久精品久久久久观看99水蜜桃| 亚洲狠狠婷婷综合久久久久| 久久人人爽爽爽人久久久|