锘??xml version="1.0" encoding="utf-8" standalone="yes"?>性做久久久久久久,久久伊人亚洲AV无码网站,www亚洲欲色成人久久精品http://www.shnenglu.com/gaimor/C/C++楂樼駭宸ョ▼甯? Android楂樼駭杞歡宸ョ▼甯? IT闆嗘垚宸ョ▼甯? 闊抽宸ョ▼甯? 鐔熸倝c,c++,java,c#,py,js,asp絳夊縐嶈璦 紼嬪簭鐚?/description>zh-cnTue, 06 May 2025 16:01:50 GMTTue, 06 May 2025 16:01:50 GMT60QML 鍗曞紶鍥劇墖鏄劇ず緲昏漿鏁堟灉http://www.shnenglu.com/gaimor/archive/2019/09/19/216846.htmlccsdu2009ccsdu2009Thu, 19 Sep 2019 10:22:00 GMThttp://www.shnenglu.com/gaimor/archive/2019/09/19/216846.htmlhttp://www.shnenglu.com/gaimor/comments/216846.htmlhttp://www.shnenglu.com/gaimor/archive/2019/09/19/216846.html#Feedback0http://www.shnenglu.com/gaimor/comments/commentRss/216846.htmlhttp://www.shnenglu.com/gaimor/services/trackbacks/216846.htmlimport 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
            
}
        }
}


ccsdu2009 2019-09-19 18:22 鍙戣〃璇勮
]]>
QML 鍥劇墖緲昏漿鍔ㄧ敾http://www.shnenglu.com/gaimor/archive/2019/09/19/216845.htmlccsdu2009ccsdu2009Thu, 19 Sep 2019 09:33:00 GMThttp://www.shnenglu.com/gaimor/archive/2019/09/19/216845.htmlhttp://www.shnenglu.com/gaimor/comments/216845.htmlhttp://www.shnenglu.com/gaimor/archive/2019/09/19/216845.html#Feedback0http://www.shnenglu.com/gaimor/comments/commentRss/216845.htmlhttp://www.shnenglu.com/gaimor/services/trackbacks/216845.htmlimport 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

            
}
        }
}


ccsdu2009 2019-09-19 17:33 鍙戣〃璇勮
]]>
ffmpeg av_seek_framehttp://www.shnenglu.com/gaimor/archive/2019/09/19/216840.htmlccsdu2009ccsdu2009Thu, 19 Sep 2019 01:51:00 GMThttp://www.shnenglu.com/gaimor/archive/2019/09/19/216840.htmlhttp://www.shnenglu.com/gaimor/comments/216840.htmlhttp://www.shnenglu.com/gaimor/archive/2019/09/19/216840.html#Feedback0http://www.shnenglu.com/gaimor/comments/commentRss/216840.htmlhttp://www.shnenglu.com/gaimor/services/trackbacks/216840.html    int result = av_seek_frame(ffmpeg->formatCtx, -1,
        (ffmpeg->formatCtx->start_time + time) * AV_TIME_BASE,
        AVSEEK_FLAG_BACKWARD);
time鍗曚綅涓虹


ccsdu2009 2019-09-19 09:51 鍙戣〃璇勮
]]>
QML StackLayouthttp://www.shnenglu.com/gaimor/archive/2019/09/18/216837.htmlccsdu2009ccsdu2009Wed, 18 Sep 2019 03:49:00 GMThttp://www.shnenglu.com/gaimor/archive/2019/09/18/216837.htmlhttp://www.shnenglu.com/gaimor/comments/216837.htmlhttp://www.shnenglu.com/gaimor/archive/2019/09/18/216837.html#Feedback0http://www.shnenglu.com/gaimor/comments/commentRss/216837.htmlhttp://www.shnenglu.com/gaimor/services/trackbacks/216837.htmlimport 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
        
}
    }
}


ccsdu2009 2019-09-18 11:49 鍙戣〃璇勮
]]>
QML Canvas鏃嬭漿鍜屽鉤縐?/title><link>http://www.shnenglu.com/gaimor/archive/2019/09/18/216836.html</link><dc:creator>ccsdu2009</dc:creator><author>ccsdu2009</author><pubDate>Wed, 18 Sep 2019 02:59:00 GMT</pubDate><guid>http://www.shnenglu.com/gaimor/archive/2019/09/18/216836.html</guid><wfw:comment>http://www.shnenglu.com/gaimor/comments/216836.html</wfw:comment><comments>http://www.shnenglu.com/gaimor/archive/2019/09/18/216836.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/gaimor/comments/commentRss/216836.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/gaimor/services/trackbacks/216836.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #800000; ">import QtQuick 2.5<br />import QtQuick.Layouts 1.2<br />import QtQuick.Controls 1.4<br />import QtQuick.Controls.Styles 1.4<br /><br />Rectangle </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />    id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> circularProgressBar<br />    width: 60<br />    height: 60<br /><br />    color: "#333333"<br />    property real currentValue: 86<br />    property bool textVisible: true<br />    property bool canClick: false<br /><br />    Canvas {<br />        id: canvas<br />        anchors.fill: parent<br />        antialiasing: true<br /><br />        property color primaryColor: "transparent"<br />        property color secondaryColor: "lightblue"<br /><br />        property real centerWidth: width / 2<br />        property real centerHeight: height / 2<br />        property real radius: Math.min(canvas.width-10, canvas.height-10) / 2<br /><br />        property real minimumValue: 0<br />        property real maximumValue: 100<br />        property alias currentValue : circularProgressBar.currentValue<br /><br />        property string text: "0"<br />        property real angle: (currentValue - minimumValue) / (maximumValue - minimumValue) * 2 * Math.PI<br />        property real angleOffset: -Math.PI / 2<br /><br />        property real rotate: 0.0<br /><br />        onPrimaryColorChanged: requestPaint()<br />        onSecondaryColorChanged: requestPaint()<br />        onMinimumValueChanged: requestPaint()<br />        onMaximumValueChanged: requestPaint()<br />        onCurrentValueChanged: requestPaint()<br />        onRotateChanged: requestPaint()<br /><br />        onPaint: {<br />            var ctx = getContext("2d")</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />            ctx.save();<br /><br />            ctx.clearRect(0, 0, canvas.width, canvas.height);<br /><br />            ctx.translate(width/2,height/2)<br />            ctx.rotate(rotate*Math.PI/180.0)<br />            ctx.translate(-width/2,-height/2)<br /><br />            ctx.beginPath();<br />            ctx.lineWidth = 10;<br />            ctx.strokeStyle = primaryColor;<br />            ctx.arc(canvas.centerWidth,<br />                    canvas.centerHeight,<br />                    canvas.radius,<br />                    angleOffset + canvas.angle,<br />                    angleOffset + 2*Math.PI);<br />            ctx.stroke();<br /><br />            ctx.beginPath();<br />            ctx.lineWidth = 3;<br />            ctx.strokeStyle = canvas.secondaryColor;<br />            ctx.arc(canvas.centerWidth,<br />                    canvas.centerHeight,<br />                    canvas.radius,<br />                    canvas.angleOffset,<br />                    canvas.angleOffset + canvas.angle);<br />            ctx.stroke();<br /><br />            ctx.restore();<br />        </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />        MouseArea </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />            id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> mouseArea<br />            anchors.fill: parent<br />            visible: circularProgressBar.canClick<br />            onClicked: canvas.clicked()<br />            onPressedChanged: canvas.requestPaint()<br />        </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />        Timer</span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />            id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> timer<br />            interval: 150</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />            running</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> true<br />            repeat: true</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />            onTriggered</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> {<br />                canvas.rotate += 5<br />            </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br />        }<br />    }<br />}</span></div><img src ="http://www.shnenglu.com/gaimor/aggbug/216836.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/gaimor/" target="_blank">ccsdu2009</a> 2019-09-18 10:59 <a href="http://www.shnenglu.com/gaimor/archive/2019/09/18/216836.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>QML閫忔槑搴﹀姩鐢?/title><link>http://www.shnenglu.com/gaimor/archive/2019/09/17/216834.html</link><dc:creator>ccsdu2009</dc:creator><author>ccsdu2009</author><pubDate>Tue, 17 Sep 2019 08:06:00 GMT</pubDate><guid>http://www.shnenglu.com/gaimor/archive/2019/09/17/216834.html</guid><wfw:comment>http://www.shnenglu.com/gaimor/comments/216834.html</wfw:comment><comments>http://www.shnenglu.com/gaimor/archive/2019/09/17/216834.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/gaimor/comments/commentRss/216834.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/gaimor/services/trackbacks/216834.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #800000; ">import QtQuick 2.11<br />import QtQuick.Controls 2.4<br /><br />Rectangle<br /></span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />    width</span><span style="color: #000000; ">:</span><span style="color: #0000FF; ">640<br />    height:480<br />    color:"#cfcfc0"<br /><br />    anchors.margins: 6<br /><br />    property bool load1: true<br /><br />    Button<br />    {<br />        id:button<br />        text: "Button"<br />        anchors.horizontalCenter: parent.horizontalCenter<br />        onClicked:<br />        {<br />            if(area.visible)<br />                fadeOut.start()<br />            else<br />                fadeIn.start()<br />        </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br />    }<br /><br />    PropertyAnimation<br />    </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />        id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> fadeOut<br />        target: area<br />        duration: 300<br />        property: "opacity"<br />        from: 1.0<br />        to: 0.0<br /><br />        onStopped: area.visible = false<br />    </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />    PropertyAnimation<br />    </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />        id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> fadeIn<br />        target: area<br />        duration: 300<br />        property: "opacity"<br />        from: 0.0<br />        to: 1.0<br /><br />        onStarted: area.visible = true<br />    </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />    Rectangle<br />    </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />        id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> area<br />        width: parent.width - 12<br />        height: parent.height - button.height - 12<br />        anchors.horizontalCenter: parent.horizontalCenter<br />        anchors.topMargin: 6<br />        anchors.top: button.bottom<br />        visible: false<br />        color: "#9900ff00"<br />    </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br />}<br /></span></div><img src ="http://www.shnenglu.com/gaimor/aggbug/216834.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/gaimor/" target="_blank">ccsdu2009</a> 2019-09-17 16:06 <a href="http://www.shnenglu.com/gaimor/archive/2019/09/17/216834.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>QML涓嶅搷搴斾笅灞傚彸閿彍鍗?/title><link>http://www.shnenglu.com/gaimor/archive/2019/09/17/216831.html</link><dc:creator>ccsdu2009</dc:creator><author>ccsdu2009</author><pubDate>Tue, 17 Sep 2019 03:18:00 GMT</pubDate><guid>http://www.shnenglu.com/gaimor/archive/2019/09/17/216831.html</guid><wfw:comment>http://www.shnenglu.com/gaimor/comments/216831.html</wfw:comment><comments>http://www.shnenglu.com/gaimor/archive/2019/09/17/216831.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/gaimor/comments/commentRss/216831.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/gaimor/services/trackbacks/216831.html</trackback:ping><description><![CDATA[<div>涓婂眰MouseArea闇瑕佹帴鍙楀彸閿簨浠訛紝濡備笅</div><div><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #800000; ">    MouseArea </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />        anchors.fill</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> parent<br />        acceptedButtons: Qt.LeftButton | Qt.RightButton<br />    </span><span style="color: #000000; ">}</span></div></div><img src ="http://www.shnenglu.com/gaimor/aggbug/216831.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/gaimor/" target="_blank">ccsdu2009</a> 2019-09-17 11:18 <a href="http://www.shnenglu.com/gaimor/archive/2019/09/17/216831.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>QML 鍙抽敭鑿滃崟http://www.shnenglu.com/gaimor/archive/2019/09/17/216830.htmlccsdu2009ccsdu2009Tue, 17 Sep 2019 03:10:00 GMThttp://www.shnenglu.com/gaimor/archive/2019/09/17/216830.htmlhttp://www.shnenglu.com/gaimor/comments/216830.htmlhttp://www.shnenglu.com/gaimor/archive/2019/09/17/216830.html#Feedback0http://www.shnenglu.com/gaimor/comments/commentRss/216830.htmlhttp://www.shnenglu.com/gaimor/services/trackbacks/216830.htmlimport 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"
                
}
            }
        }
    }
}


ccsdu2009 2019-09-17 11:10 鍙戣〃璇勮
]]>
QML 鑿滃崟欏?/title><link>http://www.shnenglu.com/gaimor/archive/2019/09/17/216829.html</link><dc:creator>ccsdu2009</dc:creator><author>ccsdu2009</author><pubDate>Tue, 17 Sep 2019 03:06:00 GMT</pubDate><guid>http://www.shnenglu.com/gaimor/archive/2019/09/17/216829.html</guid><wfw:comment>http://www.shnenglu.com/gaimor/comments/216829.html</wfw:comment><comments>http://www.shnenglu.com/gaimor/archive/2019/09/17/216829.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/gaimor/comments/commentRss/216829.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/gaimor/services/trackbacks/216829.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #008080; "> 1</span> <span style="color: #800000; ">    Button </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br /></span><span style="color: #008080; "> 2</span> <span style="color: #FF0000; ">        anchors.left</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> button<br /></span><span style="color: #008080; "> 3</span> <span style="color: #0000FF; ">        text: "鑿滃崟"<br /></span><span style="color: #008080; "> 4</span> <span style="color: #0000FF; ">        anchors.leftMargin: 12<br /></span><span style="color: #008080; "> 5</span> <span style="color: #0000FF; ">        onClicked: popupMenu.popup()<br /></span><span style="color: #008080; "> 6</span> <span style="color: #0000FF; ">     </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /></span><span style="color: #008080; "> 7</span> <span style="color: #800000; "><br /></span><span style="color: #008080; "> 8</span> <span style="color: #800000; ">     Menu </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br /></span><span style="color: #008080; "> 9</span> <span style="color: #FF0000; ">          id </span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> popupMenu<br /></span><span style="color: #008080; ">10</span> <span style="color: #0000FF; ">          title: "&File"<br /></span><span style="color: #008080; ">11</span> <span style="color: #0000FF; "><br /></span><span style="color: #008080; ">12</span> <span style="color: #0000FF; ">          MenuItem {<br /></span><span style="color: #008080; ">13</span> <span style="color: #0000FF; ">              text: "&Open"<br /></span><span style="color: #008080; ">14</span> <span style="color: #0000FF; ">              onTriggered:{</span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /></span><span style="color: #008080; ">15</span> <span style="color: #800000; ">          }<br /></span><span style="color: #008080; ">16</span> <span style="color: #800000; "><br /></span><span style="color: #008080; ">17</span> <span style="color: #800000; ">          MenuItem </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br /></span><span style="color: #008080; ">18</span> <span style="color: #FF0000; ">              text</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> "&Save"<br /></span><span style="color: #008080; ">19</span> <span style="color: #0000FF; ">              onTriggered: {</span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /></span><span style="color: #008080; ">20</span> <span style="color: #800000; ">          }<br /></span><span style="color: #008080; ">21</span> <span style="color: #800000; "><br /></span><span style="color: #008080; ">22</span> <span style="color: #800000; ">          MenuItem </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br /></span><span style="color: #008080; ">23</span> <span style="color: #FF0000; ">              text</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> "&Close"<br /></span><span style="color: #008080; ">24</span> <span style="color: #0000FF; ">              onTriggered: Qt.quit()<br /></span><span style="color: #008080; ">25</span> <span style="color: #0000FF; ">          </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /></span><span style="color: #008080; ">26</span> <span style="color: #800000; ">    }</span></div><img src ="http://www.shnenglu.com/gaimor/aggbug/216829.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/gaimor/" target="_blank">ccsdu2009</a> 2019-09-17 11:06 <a href="http://www.shnenglu.com/gaimor/archive/2019/09/17/216829.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>QML 鐜艦榪涘害鏉?/title><link>http://www.shnenglu.com/gaimor/archive/2019/09/16/216825.html</link><dc:creator>ccsdu2009</dc:creator><author>ccsdu2009</author><pubDate>Mon, 16 Sep 2019 08:38:00 GMT</pubDate><guid>http://www.shnenglu.com/gaimor/archive/2019/09/16/216825.html</guid><wfw:comment>http://www.shnenglu.com/gaimor/comments/216825.html</wfw:comment><comments>http://www.shnenglu.com/gaimor/archive/2019/09/16/216825.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/gaimor/comments/commentRss/216825.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/gaimor/services/trackbacks/216825.html</trackback:ping><description><![CDATA[<div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #800000; ">import QtQuick 2.5<br />import QtQuick.Layouts 1.2<br />import QtQuick.Controls 1.4<br />import QtQuick.Controls.Styles 1.4<br /><br />Rectangle </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />    id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> circularProgressBar<br />    width: 60<br />    height: 60<br /><br />    color: "#333333"<br />    property real currentValue: 0<br />    property bool textVisible: true<br />    property bool canClick: false<br /><br />    Canvas {<br />        id: canvas<br />        anchors.fill: parent<br />        antialiasing: true<br /><br />        property color primaryColor: "transparent"<br />        property color secondaryColor: "lightblue"<br /><br />        property real centerWidth: width / 2<br />        property real centerHeight: height / 2<br />        property real radius: Math.min(canvas.width-10, canvas.height-10) / 2<br /><br />        property real minimumValue: 0<br />        property real maximumValue: 100<br />        property alias currentValue : circularProgressBar.currentValue<br /><br />        property string text: "0"<br />        property real angle: (currentValue - minimumValue) / (maximumValue - minimumValue) * 2 * Math.PI<br />        property real angleOffset: -Math.PI / 2<br /><br />        onPrimaryColorChanged: requestPaint()<br />        onSecondaryColorChanged: requestPaint()<br />        onMinimumValueChanged: requestPaint()<br />        onMaximumValueChanged: requestPaint()<br />        onCurrentValueChanged: requestPaint()<br /><br />        onPaint: {<br />            var ctx = getContext("2d")</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />            ctx.save();<br /><br />            ctx.clearRect(0, 0, canvas.width, canvas.height);<br /><br />            if(mouseArea.pressed) {<br />                ctx.beginPath();<br />                ctx.lineWidth = 10;<br />                ctx.fillStyle = Qt.lighter(canvas.secondaryColor,1.25);<br />                ctx.arc(canvas.centerWidth,<br />                        canvas.centerHeight,<br />                        canvas.radius,<br />                        0,<br />                        2*Math.PI);<br />                ctx.fill();<br /><br />                timer.running = true;<br />            </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />            ctx.beginPath();<br />            ctx.lineWidth = 10;<br />            ctx.strokeStyle = primaryColor;<br />            ctx.arc(canvas.centerWidth,<br />                    canvas.centerHeight,<br />                    canvas.radius,<br />                    angleOffset + canvas.angle,<br />                    angleOffset + 2*Math.PI);<br />            ctx.stroke();<br /><br />            ctx.beginPath();<br />            ctx.lineWidth = 3;<br />            ctx.strokeStyle = canvas.secondaryColor;<br />            ctx.arc(canvas.centerWidth,<br />                    canvas.centerHeight,<br />                    canvas.radius,<br />                    canvas.angleOffset,<br />                    canvas.angleOffset + canvas.angle);<br />            ctx.stroke();<br /><br />            ctx.restore();<br />        }<br /><br />        Text </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />            id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> progressText<br />            anchors.centerIn: parent<br /><br />            font.pixelSize: 16<br />            text: canvas.text<br />            visible: circularProgressBar.textVisible<br />            color: canvas.secondaryColor<br />        </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />        MouseArea </span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />            id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> mouseArea<br />            anchors.fill: parent<br />            visible: circularProgressBar.canClick<br />            onClicked: canvas.clicked()<br />            onPressedChanged: canvas.requestPaint()<br />        </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />        Timer</span><span style="color: #000000; ">{</span><span style="color: #FF0000; "><br />            id</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> timer<br />            interval: 100</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />            running</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> true<br />            repeat: true</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />            onTriggered</span><span style="color: #000000; ">:</span><span style="color: #0000FF; "> {<br /><br />                if(circularProgressBar.currentValue === 100) {<br />                    circularProgressBar.currentValue = 0</span><span style="color: #000000; ">;</span><span style="color: #FF0000; "><br />                    progressText.text = "0"<br />                </span><span style="color: #000000; ">}</span><span style="color: #800000; "><br /><br />                circularProgressBar.currentValue += 1;<br />                progressText.text = circularProgressBar.currentValue.toString()+"%";<br />            }<br /><br />        }<br />    }<br />}</span></div><img src ="http://www.shnenglu.com/gaimor/aggbug/216825.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/gaimor/" target="_blank">ccsdu2009</a> 2019-09-16 16:38 <a href="http://www.shnenglu.com/gaimor/archive/2019/09/16/216825.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.study1.cn" target="_blank">久久精品成人欧美大片</a>| <a href="http://www.sgcx.net.cn" target="_blank">久久精品国产一区二区</a>| <a href="http://www.ajchugui.cn" target="_blank">亚洲日本va午夜中文字幕久久</a>| <a href="http://www.baiyaiyungroup.com.cn" target="_blank">狠狠色丁香久久综合五月</a>| <a href="http://www.pk9777.cn" target="_blank">久久国产AVJUST麻豆</a>| <a href="http://www.tangwoshi.cn" target="_blank">青青久久精品国产免费看</a>| <a href="http://www.seomajor.cn" target="_blank">国内精品久久久久影院网站 </a>| <a href="http://www.lzjsyg.cn" target="_blank">亚洲精品无码久久久影院相关影片</a>| <a href="http://www.metropolojinjianghotel.cn" target="_blank">亚洲伊人久久大香线蕉苏妲己</a>| <a href="http://www.dqep.cn" target="_blank">久久久久国产一级毛片高清版</a>| <a href="http://www.shequjingying.cn" target="_blank">久久男人Av资源网站无码软件</a>| <a href="http://www.seomajor.cn" target="_blank">色综合久久无码五十路人妻</a>| <a href="http://www.slchurch.cn" target="_blank">亚洲精品乱码久久久久久中文字幕</a>| <a href="http://www.seomajor.cn" target="_blank">久久精品一本到99热免费</a>| <a href="http://www.upvd.cn" target="_blank">久久综合亚洲欧美成人</a>| <a href="http://www.softplat.cn" target="_blank">丰满少妇人妻久久久久久</a>| <a href="http://www.yichengsh.com.cn" target="_blank">国产成人精品久久一区二区三区 </a>| <a href="http://www.2cafe.cn" target="_blank">久久午夜无码鲁丝片秋霞</a>| <a href="http://www.sanghuan.cn" target="_blank">囯产极品美女高潮无套久久久</a>| <a href="http://www.suppin.cn" target="_blank">97久久国产露脸精品国产</a>| <a href="http://www.ehxs.cn" target="_blank">久久亚洲AV成人无码电影</a>| <a href="http://www.jj171.cn" target="_blank">亚洲成色999久久网站</a>| <a href="http://www.lockdealing.cn" target="_blank">欧美亚洲另类久久综合婷婷</a>| <a href="http://www.dntjj.cn" target="_blank">精品久久亚洲中文无码</a>| <a href="http://www.6654sf.cn" target="_blank">亚洲国产精品无码久久久蜜芽 </a>| <a href="http://www.vhro.cn" target="_blank">久久一区二区三区免费</a>| <a href="http://www.wxwyx.cn" target="_blank">久久人人爽人人爽人人片AV不 </a>| <a href="http://www.xmgoogle.net.cn" target="_blank">伊人久久五月天</a>| <a href="http://www.gxyy.org.cn" target="_blank">少妇精品久久久一区二区三区</a>| <a href="http://www.medicalonline.cn" target="_blank">狠狠色丁香婷婷久久综合不卡</a>| <a href="http://www.kcxe.cn" target="_blank">很黄很污的网站久久mimi色</a>| <a href="http://www.drlf.net.cn" target="_blank">欧美日韩久久中文字幕</a>| <a href="http://www.ode.net.cn" target="_blank">久久久久综合网久久</a>| <a href="http://www.wenlitown.cn" target="_blank">免费精品久久天干天干</a>| <a href="http://www.jsykszn.cn" target="_blank">日本道色综合久久影院</a>| <a href="http://www.rsfrw.cn" target="_blank">久久婷婷五月综合国产尤物app</a>| <a href="http://www.hebhxjx.cn" target="_blank">国内精品久久久人妻中文字幕</a>| <a href="http://www.ddmir.cn" target="_blank">中文字幕久久亚洲一区</a>| <a href="http://www.scstnysc.cn" target="_blank">久久99国产精品久久久</a>| <a href="http://www.ujpy.cn" target="_blank">久久精品国产清自在天天线</a>| <a href="http://www.hx0451.cn" target="_blank">国产真实乱对白精彩久久</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>