Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Qt Quick Templates 2

Qt Quick Templates are the foundations of Qt Quick Controls 2. Templates are non-visual implementations of controls' logic and behavior. They offer an interface to visualize the controls in QML using Qt Quick.

Even though the templates aim to be as style-agnostic as possible, in some cases they have to make certain assumptions about the visual structure of a control. For example, a spinbox has buttons that increment and decrement the value of the spinbox. In order to implement the behavior of a spinbox, the spinbox template needs to know if the user is interacting with the up or down button. A visual implementation of the spinbox template merely needs to position the up and down buttons and visualize them in normal, pressed, and disabled states. Any input event handling and state processing is taken care of by the underlying template.