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

Qt World Summit Conference App

 import Felgo 4.0
 import QtQuick 2.0

 Rectangle {
   id: colorButton
   width: dp(40)
   height: width
   radius: width * 0.25

   property color referenceColor
   property bool selected: color === referenceColor

   property color _greyColor: "grey"

   border.color: selected ? Theme.tintColor :
                            (color === _greyColor ? "white" : "grey")
   border.width: selected ? dp(2) : Theme.backgroundColor == color ? dp(1) : 0

   signal clicked

   MouseArea {
     anchors.fill: parent
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded