Created
February 4, 2015 09:28
-
-
Save vannell/de2d44bcd386722aa658 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.3 | |
import "Classes" as Class | |
Item { | |
width: 600 | |
height: 800 | |
Class.Pcd { | |
id: personalDesktop | |
} | |
MouseArea { | |
anchors.fill: parent | |
onClicked: personalDesktop.startPcdCall() | |
} | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Classes/Pcd.qml | |
import QtQuick 2.3 | |
Rectangle { | |
color: "red" | |
implicitWidth: 200 | |
implicitHeight: 200 | |
function startPcdCall() { | |
console.log("startPcdCall function called..."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment