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

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 閱讀(1211) | 評(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 閱讀(885) | 評(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 閱讀(905) | 評(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 閱讀(721) | 評(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 閱讀(1305) | 評(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 閱讀(789) | 評(píng)論 (0)編輯 收藏
 
上層MouseArea需要接受右鍵事件,如下
    MouseArea {
        anchors.fill
: parent
        acceptedButtons: Qt.LeftButton | Qt.RightButton
    
}
posted @ 2019-09-17 11:18 ccsdu2009 閱讀(398) | 評(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 閱讀(1006) | 評(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 閱讀(1179) | 評(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 閱讀(1351) | 評(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>
            欧美精品久久久久久久| 亚洲欧美日韩国产精品| 久久九九国产精品| 亚洲综合色自拍一区| 一区二区高清在线| 亚洲人成在线观看一区二区| 欧美一区二区三区另类 | 久久大综合网| 欧美在线999| 久久久久久久久久久成人| 欧美在线地址| 欧美激情第9页| 国产精品久久久久久亚洲毛片| 国产精品成人免费视频| 国产婷婷一区二区| 一区二区三区在线视频观看| 亚洲电影中文字幕| 亚洲深夜福利网站| 久久亚洲欧美| 亚洲小说欧美另类婷婷| 久久影视精品| 亚洲欧洲一区二区三区久久| 亚洲在线中文字幕| 欧美精品高清视频| 日韩午夜中文字幕| 亚洲人成在线观看一区二区| 久久婷婷亚洲| 日韩视频欧美视频| 午夜精品理论片| 欧美一级久久| 国产精品自拍一区| 亚洲欧美日韩国产中文| 亚洲人成在线观看一区二区| 欧美电影电视剧在线观看| 国产自产在线视频一区| 欧美一区激情| 久久精品五月婷婷| 亚洲区一区二区三区| 欧美日韩一区二区三区在线看| 亚洲国产成人porn| 最近中文字幕日韩精品 | 欧美金8天国| 亚洲国产清纯| 一区二区欧美精品| 韩日精品中文字幕| 亚洲国产精品一区二区www| 欧美高清视频在线播放| 日韩一区二区精品葵司在线| 国产精品99久久久久久有的能看| 欧美视频在线不卡| 久久先锋影音av| 欧美激情精品久久久久久久变态| 中日韩美女免费视频网站在线观看| 亚洲人成欧美中文字幕| 91久久在线播放| 国产精品v日韩精品| 午夜精品久久久久久久久久久久久| 久久久久久久综合狠狠综合| 亚洲精品在线一区二区| 亚洲淫性视频| 一本久道久久综合中文字幕| 欧美一区二区成人6969| 亚洲一区久久久| 欧美电影免费观看高清| 久久精品国产精品亚洲| 国产精品黄色在线观看| 亚洲茄子视频| 亚洲精品社区| 欧美国产日韩在线| 亚洲第一黄网| 亚洲欧洲日本国产| 麻豆成人91精品二区三区| 久久国产精品毛片| 国产在线精品自拍| 久久福利视频导航| 久久久久久噜噜噜久久久精品| 国产日韩精品一区二区浪潮av| 99国产精品视频免费观看一公开| 一本色道婷婷久久欧美| 欧美精品免费在线观看| 一区二区三区日韩精品| 欧美一级久久久久久久大片| 欧美性色综合| 午夜精品福利视频| 久久精品欧美日韩精品| 亚洲第一级黄色片| 欧美国产日本| 亚洲欧美日本另类| 欧美激情黄色片| 欧美一区二区三区在| 亚洲精品一区二区三区不| 中文久久精品| 欧美成人在线免费视频| 亚洲看片一区| 狠狠入ady亚洲精品| 欧美激情一区二区三区在线视频观看 | 欧美一区二区在线播放| 国产视频久久网| 欧美日韩亚洲一区三区| 麻豆成人在线播放| 久久成人免费网| 亚洲永久免费av| 日韩视频一区二区三区在线播放| 久久免费精品日本久久中文字幕| 日韩视频第一页| 亚洲精品1区2区| 雨宫琴音一区二区在线| 国产亚洲美州欧州综合国| 欧美日韩综合视频网址| 老司机精品视频一区二区三区| 午夜久久久久久久久久一区二区| 中国成人亚色综合网站| 91久久久久久久久久久久久| 免费人成精品欧美精品| 欧美激情精品久久久久久蜜臀| 久热精品视频在线| 麻豆成人在线观看| 欧美激情bt| 洋洋av久久久久久久一区| 亚洲香蕉网站| 久久精品国产精品| 久久综合九色综合久99| 欧美日韩成人在线播放| 国产精品嫩草影院av蜜臀| 国产亚洲精品bv在线观看| 樱花yy私人影院亚洲| 亚洲精品免费在线播放| 一本色道久久综合狠狠躁篇怎么玩| 欧美xxx在线观看| 亚洲第一福利在线观看| 欧美在线三级| 一本色道久久综合亚洲精品不| 欧美成人在线影院| 亚洲精品在线视频| 亚洲欧美中文另类| 蜜桃av一区| 国产拍揄自揄精品视频麻豆| 国产一区日韩二区欧美三区| 亚洲黄一区二区三区| 亚洲欧美卡通另类91av | 国产日韩欧美精品综合| 亚洲欧洲日本一区二区三区| 亚洲精品国产精品国自产在线| 亚洲综合国产| 99re成人精品视频| 久久久久久免费| 国产亚洲激情| 欧美在线一二三| 欧美一区二区三区视频在线观看| 欧美日韩成人综合天天影院| 国产亚洲欧美日韩精品| 久久久久久久久久久久久久一区| 午夜精品国产更新| 国产婷婷色综合av蜜臀av| 午夜亚洲激情| 欧美尤物巨大精品爽| 精品不卡一区二区三区| 男女视频一区二区| 欧美黄在线观看| 亚洲网址在线| 欧美亚洲一区二区在线观看| 在线观看一区| 亚洲免费视频观看| 91久久国产精品91久久性色| 亚洲国产婷婷香蕉久久久久久| 亚洲影院在线观看| 午夜精品久久| 亚洲免费不卡| 香蕉精品999视频一区二区| 国产视频亚洲精品| 亚洲福利在线观看| 国产精品久在线观看| 另类天堂av| 国产精品日产欧美久久久久| 麻豆av一区二区三区久久| 欧美女激情福利| 玖玖视频精品| 国产在线一区二区三区四区| 亚洲精品久久视频| 亚洲国产综合视频在线观看| 午夜精品在线看| 欧美一级成年大片在线观看| 久久久久久日产精品| 亚洲伊人伊色伊影伊综合网| 老色鬼精品视频在线观看播放| 欧美一级理论片| 国产精品免费看片| 亚洲国产美女久久久久| 激情久久一区| 久久综合五月| 免费不卡亚洲欧美| 怡红院av一区二区三区| 久久久欧美一区二区| 久久综合色8888| 亚洲第一色在线| 久久精品官网| 亚洲精品乱码久久久久| 亚洲视频免费看| 国产曰批免费观看久久久| 久久久久亚洲综合|