Search code examples
qtquickcontrols2

Qt Quick Controls 2.0 circular spinbox


In Qt, it is possible to create circular spinboxes?

Is such a feature available for Qt Quick Controls 2.0?

Has someone an idea how to achieve that by customizing the spinbox?


Solution

  • SpinBox::wrap has been introduced in QtQuick.Controls 2.3 (Qt 5.10).

    This property holds whether the spinbox wraps. The default value is false.

    If wrap is true, stepping past to changes the value to from and vice versa.