Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

ChickenOutbreak2 Demo

 import QtQuick 2.0
 import Felgo 3.0

 Item {
   id: button
   width: 40
   height: 34

   signal clicked

   property alias source: image.source

   Image {
     source: "../assets/button.png"
     width: parent.width
     height: parent.height
   }

   Image {
     id: image
     width: 20
     height: 20
     anchors.centerIn: parent
   }

   MouseArea {
     anchors.fill: parent

     onClicked: {
       button.scale = 1.0
       button.clicked()
     }
     onPressed: {
       button.scale = 0.85
     }
     onReleased: {
       button.scale = 1.0
     }
     onCanceled: {
       button.scale = 1.0
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded