青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Cpper
C/C++高級(jí)工程師 Android高級(jí)軟件工程師 IT集成工程師 音頻工程師 熟悉c,c++,java,c#,py,js,asp等多種語(yǔ)言 程序猿

import QtQuick 2.11

Rectangle 
{
    width
: 640
    height: 480
    color: "#0ff90f"

    Flipable {
            id: flip
            width: 300
            height: 300
            anchors.centerIn: parent

            property bool flipped: false

            front: Image{
                anchors.fill: parent
                source: "file:///C:/Users/Administrator/Desktop/11111/2099720.png"

                transform: Rotation{
                    origin.x: flip.width / 2
                    origin.y: flip.height / 2
                    axis.x: 0
                    axis.y: 1
                    axis.z: 0
                    angle: 180
                
}
            }

            back: Image
{
                anchors.fill
: parent
                source: "file:///C:/Users/Administrator/Desktop/11111/2099720.png"
            
}

            transform: Rotation
{
                id
: rotation
                origin.x: flip.width / 2
                origin.y: flip.height / 2
                axis.x: 0
                axis.y: 1
                axis.z: 0
                angle: 0
            
}

            states:State
{
                PropertyChanges {
                    target
: rotation
                    angle: 180
                
}
                when:flip.flipped
            }

            transitions: Transition
{
                NumberAnimation{
                    target
:rotation
                    properties: "angle"
                    duration: 240
                
}
            }

            MouseArea 
{
                anchors.fill
: parent
                onClicked:  flip.flipped = !flip.flipped
            
}
        }
}
posted @ 2019-09-19 18:22 ccsdu2009 閱讀(1212) | 評(píng)論 (0)編輯 收藏
 
import QtQuick 2.11

Rectangle 
{
    width
: 640
    height: 480
    color: "#0909ff"

    Flipable {
            id: flip
            width: 300
            height: 300
            anchors.centerIn: parent

            property bool flipped: false

            front:Image{
                anchors.fill: parent
                source: "file:///C:/Users/Administrator/Desktop/11111/2099720.png"
            
}

            back:Image
{
                anchors.fill
: parent
                source: "file:///C:/Users/Administrator/Desktop/11111/2099720-flip.png"
            
}

            transform: Rotation
{
                id
: rotation
                origin.x: flip.width / 2
                origin.y: flip.height / 2
                axis.x: 0
                axis.y: 1
                axis.z: 0
                angle: 0
            
}

            states:State
{
                PropertyChanges {
                    target
: rotation
                    angle: 180
                
}
                when:flip.flipped
            }

            transitions: Transition
{
                NumberAnimation{
                    target
:rotation
                    properties: "angle"
                    duration: 240
                
}
            }

            MouseArea 
{
                anchors.fill
: parent

                onClicked:  flip.flipped = !flip.flipped

            
}
        }
}
posted @ 2019-09-19 17:33 ccsdu2009 閱讀(886) | 評(píng)論 (0)編輯 收藏
 
    int result = av_seek_frame(ffmpeg->formatCtx, -1,
        (ffmpeg->formatCtx->start_time + time) * AV_TIME_BASE,
        AVSEEK_FLAG_BACKWARD);
time單位為秒
posted @ 2019-09-19 09:51 ccsdu2009 閱讀(906) | 評(píng)論 (0)編輯 收藏
 
import QtQuick 2.5
import QtQuick.Layouts 1.3
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4

Rectangle 
{
    width
: 640
    height: 480
    color: "#333333"

    Button {
        id: button
        text: "Button"
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.top: parent.top
        anchors.topMargin: 6

        onClicked: {
            var count = layout.count
            if(layout.currentIndex == count - 1)
                layout.currentIndex = 0
            else
                layout.currentIndex ++
        
}
    }

    StackLayout 
{
        id
: layout
        anchors.top: button.bottom
        anchors.topMargin: 6
        anchors.horizontalCenter: parent.horizontalCenter
        width: 480
        height: 320
        currentIndex: 1
        Rectangle {
            color: 'teal'
            implicitWidth: 200
            implicitHeight: 200
        
}
        Rectangle 
{
            color
: 'plum'
            implicitWidth: 300
            implicitHeight: 200
        
}
        Rectangle 
{
            color
: '#c90909'
            implicitWidth: 300
            implicitHeight: 200
        
}
        Rectangle 
{
            color
: 'green'
            implicitWidth: 300
            implicitHeight: 200
        
}
        Rectangle 
{
            color
: 'grey'
            implicitWidth: 300
            implicitHeight: 200
        
}
    }
}
posted @ 2019-09-18 11:49 ccsdu2009 閱讀(722) | 評(píng)論 (0)編輯 收藏
 
import QtQuick 2.5
import QtQuick.Layouts 1.2
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4

Rectangle 
{
    id
: circularProgressBar
    width: 60
    height: 60

    color: "#333333"
    property real currentValue: 86
    property bool textVisible: true
    property bool canClick: false

    Canvas {
        id: canvas
        anchors.fill: parent
        antialiasing: true

        property color primaryColor: "transparent"
        property color secondaryColor: "lightblue"

        property real centerWidth: width / 2
        property real centerHeight: height / 2
        property real radius: Math.min(canvas.width-10, canvas.height-10) / 2

        property real minimumValue: 0
        property real maximumValue: 100
        property alias currentValue : circularProgressBar.currentValue

        property string text: "0"
        property real angle: (currentValue - minimumValue) / (maximumValue - minimumValue) * 2 * Math.PI
        property real angleOffset: -Math.PI / 2

        property real rotate: 0.0

        onPrimaryColorChanged: requestPaint()
        onSecondaryColorChanged: requestPaint()
        onMinimumValueChanged: requestPaint()
        onMaximumValueChanged: requestPaint()
        onCurrentValueChanged: requestPaint()
        onRotateChanged: requestPaint()

        onPaint: {
            var ctx = getContext("2d")
;
            ctx.save();

            ctx.clearRect(0, 0, canvas.width, canvas.height);

            ctx.translate(width/2,height/2)
            ctx.rotate(rotate*Math.PI/180.0)
            ctx.translate(-width/2,-height/2)

            ctx.beginPath();
            ctx.lineWidth = 10;
            ctx.strokeStyle = primaryColor;
            ctx.arc(canvas.centerWidth,
                    canvas.centerHeight,
                    canvas.radius,
                    angleOffset + canvas.angle,
                    angleOffset + 2*Math.PI);
            ctx.stroke();

            ctx.beginPath();
            ctx.lineWidth = 3;
            ctx.strokeStyle = canvas.secondaryColor;
            ctx.arc(canvas.centerWidth,
                    canvas.centerHeight,
                    canvas.radius,
                    canvas.angleOffset,
                    canvas.angleOffset + canvas.angle);
            ctx.stroke();

            ctx.restore();
        
}

        MouseArea 
{
            id
: mouseArea
            anchors.fill: parent
            visible: circularProgressBar.canClick
            onClicked: canvas.clicked()
            onPressedChanged: canvas.requestPaint()
        
}

        Timer
{
            id
: timer
            interval: 150
;
            running
: true
            repeat: true
;
            onTriggered
: {
                canvas.rotate += 5
            
}
        }
    }
}
posted @ 2019-09-18 10:59 ccsdu2009 閱讀(1307) | 評(píng)論 (0)編輯 收藏
 
import QtQuick 2.11
import QtQuick.Controls 2.4

Rectangle
{
    width
:640
    height:480
    color:"#cfcfc0"

    anchors.margins: 6

    property bool load1: true

    Button
    {
        id:button
        text: "Button"
        anchors.horizontalCenter: parent.horizontalCenter
        onClicked:
        {
            if(area.visible)
                fadeOut.start()
            else
                fadeIn.start()
        
}
    }

    PropertyAnimation
    
{
        id
: fadeOut
        target: area
        duration: 300
        property: "opacity"
        from: 1.0
        to: 0.0

        onStopped: area.visible = false
    
}

    PropertyAnimation
    
{
        id
: fadeIn
        target: area
        duration: 300
        property: "opacity"
        from: 0.0
        to: 1.0

        onStarted: area.visible = true
    
}

    Rectangle
    
{
        id
: area
        width: parent.width - 12
        height: parent.height - button.height - 12
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.topMargin: 6
        anchors.top: button.bottom
        visible: false
        color: "#9900ff00"
    
}
}
posted @ 2019-09-17 16:06 ccsdu2009 閱讀(791) | 評(píng)論 (0)編輯 收藏
 
上層MouseArea需要接受右鍵事件,如下
    MouseArea {
        anchors.fill
: parent
        acceptedButtons: Qt.LeftButton | Qt.RightButton
    
}
posted @ 2019-09-17 11:18 ccsdu2009 閱讀(399) | 評(píng)論 (0)編輯 收藏
 
import QtQuick 2.11
import QtQuick.Controls 2.4

Rectangle
{
    width
:640
    height:480
    color:"#cfcfc0"

    anchors.margins: 6

    MouseArea {
        id: mouseRegion
        anchors.fill: parent
;
        acceptedButtons
: Qt.LeftButton | Qt.RightButton

        onClicked: {
            if(mouse.button == Qt.RightButton)
                contentMenu.popup()
        
}

        Menu 
{
            id
: contentMenu

            MenuItem {
                text: "Cut"
                onTriggered: {
}
            }

            MenuItem 
{
                text
: "Copy"
                onTriggered: {
}
            }

            MenuItem 
{
                text
: "Paste"
                onTriggered: {
}
            }

            MenuSeparator 
{ }

            Menu 
{
                title
: "More"
                MenuItem {
                    text: "Edit"
                
}
                MenuItem 
{
                    text
: "Select All"
                
}
            }
        }
    }
}
posted @ 2019-09-17 11:10 ccsdu2009 閱讀(1007) | 評(píng)論 (0)編輯 收藏
 
 1     Button {
 2         anchors.left: button
 3         text: "菜單"
 4         anchors.leftMargin: 12
 5         onClicked: popupMenu.popup()
 6      }
 7 
 8      Menu {
 9           id : popupMenu
10           title: "&File"
11 
12           MenuItem {
13               text: "&Open"
14               onTriggered:{}
15           }
16 
17           MenuItem {
18               text: "&Save"
19               onTriggered: {}
20           }
21 
22           MenuItem {
23               text: "&Close"
24               onTriggered: Qt.quit()
25           }
26     }
posted @ 2019-09-17 11:06 ccsdu2009 閱讀(1180) | 評(píng)論 (0)編輯 收藏
 
import QtQuick 2.5
import QtQuick.Layouts 1.2
import QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4

Rectangle 
{
    id
: circularProgressBar
    width: 60
    height: 60

    color: "#333333"
    property real currentValue: 0
    property bool textVisible: true
    property bool canClick: false

    Canvas {
        id: canvas
        anchors.fill: parent
        antialiasing: true

        property color primaryColor: "transparent"
        property color secondaryColor: "lightblue"

        property real centerWidth: width / 2
        property real centerHeight: height / 2
        property real radius: Math.min(canvas.width-10, canvas.height-10) / 2

        property real minimumValue: 0
        property real maximumValue: 100
        property alias currentValue : circularProgressBar.currentValue

        property string text: "0"
        property real angle: (currentValue - minimumValue) / (maximumValue - minimumValue) * 2 * Math.PI
        property real angleOffset: -Math.PI / 2

        onPrimaryColorChanged: requestPaint()
        onSecondaryColorChanged: requestPaint()
        onMinimumValueChanged: requestPaint()
        onMaximumValueChanged: requestPaint()
        onCurrentValueChanged: requestPaint()

        onPaint: {
            var ctx = getContext("2d")
;
            ctx.save();

            ctx.clearRect(0, 0, canvas.width, canvas.height);

            if(mouseArea.pressed) {
                ctx.beginPath();
                ctx.lineWidth = 10;
                ctx.fillStyle = Qt.lighter(canvas.secondaryColor,1.25);
                ctx.arc(canvas.centerWidth,
                        canvas.centerHeight,
                        canvas.radius,
                        0,
                        2*Math.PI);
                ctx.fill();

                timer.running = true;
            
}

            ctx.beginPath();
            ctx.lineWidth = 10;
            ctx.strokeStyle = primaryColor;
            ctx.arc(canvas.centerWidth,
                    canvas.centerHeight,
                    canvas.radius,
                    angleOffset + canvas.angle,
                    angleOffset + 2*Math.PI);
            ctx.stroke();

            ctx.beginPath();
            ctx.lineWidth = 3;
            ctx.strokeStyle = canvas.secondaryColor;
            ctx.arc(canvas.centerWidth,
                    canvas.centerHeight,
                    canvas.radius,
                    canvas.angleOffset,
                    canvas.angleOffset + canvas.angle);
            ctx.stroke();

            ctx.restore();
        }

        Text 
{
            id
: progressText
            anchors.centerIn: parent

            font.pixelSize: 16
            text: canvas.text
            visible: circularProgressBar.textVisible
            color: canvas.secondaryColor
        
}

        MouseArea 
{
            id
: mouseArea
            anchors.fill: parent
            visible: circularProgressBar.canClick
            onClicked: canvas.clicked()
            onPressedChanged: canvas.requestPaint()
        
}

        Timer
{
            id
: timer
            interval: 100
;
            running
: true
            repeat: true
;
            onTriggered
: {

                if(circularProgressBar.currentValue === 100) {
                    circularProgressBar.currentValue = 0
;
                    progressText.text = "0"
                
}

                circularProgressBar.currentValue += 1;
                progressText.text = circularProgressBar.currentValue.toString()+"%";
            }

        }
    }
}
posted @ 2019-09-16 16:38 ccsdu2009 閱讀(1353) | 評(píng)論 (0)編輯 收藏
僅列出標(biāo)題
共38頁(yè): 1 2 3 4 5 6 7 8 9 Last 
 
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            欧美大片免费久久精品三p | 久久人人看视频| 亚洲国产岛国毛片在线| 国产精品草草| 欧美激情1区| 久久久999精品| 亚洲一区二区三区成人在线视频精品 | 国产一区二区三区黄视频| 欧美激情综合色综合啪啪| 久久精品一区二区三区不卡| 亚洲一区二区三区高清 | 亚洲一区二区三区在线| 亚洲国产老妈| 精品91免费| 国产三级精品在线不卡| 国产精品久久久久天堂| 欧美三级电影网| 欧美精品在线观看播放| 免费高清在线视频一区·| 久久久之久亚州精品露出| 性欧美18~19sex高清播放| 亚洲一区二区免费| 亚洲午夜国产一区99re久久| 一区二区激情小说| 99国产一区| 久久久水蜜桃| 国产女精品视频网站免费| 欧美日韩久久| 欧美激情按摩在线| 女人香蕉久久**毛片精品| 欧美插天视频在线播放| 欧美a一区二区| 欧美国产精品v| 欧美精品麻豆| 欧美日韩亚洲国产精品| 国产精品videosex极品| 国产精品美女视频网站| 国产欧美一区二区在线观看| 国产日韩欧美一区二区| 国内外成人免费激情在线视频网站| 韩国成人精品a∨在线观看| 激情综合在线| 亚洲激情女人| 一区二区三区欧美激情| 亚洲男女自偷自拍| 欧美综合国产精品久久丁香| 久久亚洲捆绑美女| 欧美成人中文字幕| 91久久极品少妇xxxxⅹ软件| 日韩午夜在线视频| 亚洲愉拍自拍另类高清精品| 久久国产福利| 免费在线一区二区| 欧美日韩视频一区二区| 国产精品日韩精品欧美精品| 国产一区二区精品丝袜| 亚洲国产成人精品久久久国产成人一区| 亚洲国产精品一区| 亚洲图片欧洲图片日韩av| 久久国产精品一区二区三区四区| 蜜臀av在线播放一区二区三区| 91久久国产精品91久久性色| 亚洲一区三区在线观看| 久久久在线视频| 欧美日韩亚洲一区二| 国产日产欧产精品推荐色| 亚洲高清视频在线观看| 亚洲午夜激情网站| 久久婷婷影院| 亚洲毛片在线看| 欧美一区二区三区在线看| 欧美电影专区| 国产精品一区二区久久国产| 一区二区三区自拍| 国产精品久久久久国产a级| 国产一区深夜福利| 99视频在线精品国自产拍免费观看 | 蜜桃精品久久久久久久免费影院| 欧美三级韩国三级日本三斤| 激情一区二区三区| 中文一区二区| 久久免费一区| 一区二区日韩精品| 久久久亚洲一区| 国产精品天美传媒入口| 亚洲精品国产精品国自产观看浪潮| 亚洲欧美日韩另类| 亚洲国产老妈| 久久成人精品电影| 国产精品mv在线观看| 在线欧美日韩精品| 欧美伊人久久久久久午夜久久久久| 亚洲国产精品一区二区久| 欧美在线视频日韩| 欧美性视频网站| 亚洲黄色av一区| 久久久精品一区| 99亚洲视频| 欧美国产成人精品| 影音先锋亚洲视频| 久久99伊人| 亚洲小说春色综合另类电影| 欧美另类一区二区三区| 亚洲第一在线综合在线| 久久精品视频在线播放| 亚洲深爱激情| 欧美日韩一区二区三区四区在线观看| 亚洲第一中文字幕在线观看| 久久久夜夜夜| 欧美一区二区播放| 国产日韩欧美在线看| 亚洲欧美日韩国产综合精品二区| 亚洲精品国产精品乱码不99| 猛干欧美女孩| 尤物99国产成人精品视频| 久久精品国产77777蜜臀| 亚洲欧美另类国产| 国产精品国产三级国产普通话三级 | 久久精品欧美| 亚洲一区二区三区在线观看视频 | 亚洲欧美经典视频| 国产精品美女主播| 亚洲一区在线视频| 一区二区福利| 国产精品久久久久久亚洲毛片| 亚洲一区二区精品在线观看| 国产欧美日韩亚洲一区二区三区| 亚洲国产一区二区三区a毛片 | 欧美高清视频一区二区| 亚洲高清在线精品| 免费美女久久99| 久久人人看视频| 在线观看成人av| 欧美不卡一区| 欧美sm重口味系列视频在线观看| 亚洲黄色在线| 亚洲三级影院| 欧美先锋影音| 欧美亚洲免费电影| 性做久久久久久免费观看欧美| 国产亚洲福利社区一区| 久久免费高清| 麻豆久久婷婷| 一区二区电影免费在线观看| 99一区二区| 国产美女搞久久| 久久一区中文字幕| 狂野欧美激情性xxxx| 亚洲欧洲精品一区二区三区不卡| 亚洲黄色在线看| 欧美日韩性生活视频| 国产精品高精视频免费| 国内精品视频666| 亚洲高清二区| 欧美电影免费观看大全| 亚洲美女在线视频| 国产精品白丝av嫩草影院| 亚洲欧美日韩国产一区二区三区 | 亚洲人成在线观看一区二区 | 国产精品jizz在线观看美国 | 久久久国产精彩视频美女艺术照福利 | 久久精品视频在线观看| 久久久久久久综合狠狠综合| 亚洲电影欧美电影有声小说| 亚洲国产综合在线看不卡| 欧美日韩中国免费专区在线看| 欧美夜福利tv在线| 久久午夜av| 亚洲私人影吧| 91久久夜色精品国产九色| 亚洲天堂av综合网| 国产精品在线看| 麻豆freexxxx性91精品| 欧美第一黄色网| 羞羞色国产精品| 另类春色校园亚洲| 亚洲视频图片小说| 久久国产精彩视频| 日韩一级不卡| 先锋影音久久| 亚洲精品偷拍| 亚洲综合国产| 亚洲精品视频在线看| 亚洲欧美日本国产有色| 亚洲国内精品| 先锋影音网一区二区| 亚洲免费大片| 久久国产精品一区二区三区| 日韩小视频在线观看专区| 欧美影院精品一区| 亚洲精品在线看| 羞羞答答国产精品www一本| 日韩视频免费大全中文字幕| 欧美一区二视频在线免费观看| 一区二区三区国产精品| 久久精品视频99| 亚洲欧美春色| 欧美国产日韩a欧美在线观看| 久久精品国产99| 欧美日韩在线一区|