Unsolved Need to create a Scrollview of rectangles with different labels, icons & touch action
-
Hi,
I am a newbie in Qt. I searched a lot but not able to get a good example. I am making a qt app for ios. Here is what I am looking for.
I need to create a long list of boxes in a scrollable list. Each of the box should behave like & button which has a label & an icon associated to it. This needs to be done in QML & I think I need to create a scrollview of rectangles where each rectangle will have a different label & touch action. But all the examples I am getting are simple listviews with a name & label to it. Can someone point me a nice example or sample code to start with..
Thanks in advance for any help.
-
Hi,
What would the different touch action be ?
-
@SGaist Each of the touch action on each of the rectangles should trigger a different action.
-
What kind of action ?
-
all the actions launch a dialog. but each dialog has different content in it.
-
Each dialog being different or do you have one that you can configure to show what you want ?
-
Yeah. makes sense. each dialog configured to show what I want. The dialog is okay to through some different content on each dialog. I just wanted to see a sample structure of this list or scrollview or flickable or whatever you use. Just note that it a scrollable list for ios/android devices
-
What would be differences between the dialogs ?