Hello, 

I am trying to make small app for Sailfish, but I encountered some issues. 
Please notice I am completely new in QT and Sailfish project, on the other 
hand, I work with Android, Windows Phone and iOS.

Firstly, there are two pages. On first there is SilicaListView, on second some 
other controls that let add new item to list. Data for list are stored in C++ 
code. I have problem with refreshing list when poping back. Is there any method 
similiar to notifyDataSetChanged in Android or reload in iOS, that can be 
invoked? I know there are signals but I wish rather not to use them in current 
implementation – only refresh from qml after pressing button (if possible). 

On the second page I have put combobox, but I have no idea how to make it 
working with my data. Suppose there are C++ methods that returns items count 
and string to display for each of them. I thought it would work similar to 
listView (model, delegate Item), however it is not. Could you please give me 
some advice where to find more information about how to work with non static 
items for combobox? Any help would be greatly appreciated.

I have also noticed that when I put IconButton inside Column and set height, 
next item doesn’t appear below, but in somewhere in the middle of IconButton. 
Is there a need to set y value for next item or is it a bug? 



Thanks in advance,
Bartek. 
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to