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!


OverviewFelgo 2 Support (Qt 5) › Coloured tag in SimpleRow

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #17253


    Hi All,

    In the QtWS2017 Felgo App the rows have ‘coloured tags’ on the left to indicate the type of talk.

    In the app source code, the list uses a custom delegate that’s quite specific for the app.

    Is there a clean and simple way to get the same thing for a SimpleRow? It’s a nice effect that definitely has a place in my app.

    Many thanks!


    Felgo Team


    I hope you had a good time at the conference – maybe I’ll be there next time ­čśë

    As the SimpleRow does not support colored tags out-of-the-box this has to be done manually, for example with a custom delegate like in the QtWS app.

    The track indicator is basically just a simple colored Rectangle, so you can also extend the SimpleRow by adding a rectangle on the left side:

        ListPage {
          model: 10
          delegate: SimpleRow {
            text: index
            Rectangle {
              anchors.verticalCenter: parent.verticalCenter
              height: parent.height - dp(10)
              width: dp(4)
              x: dp(2)
              color: "red"



Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.