我目前正在尝试为一个自定义的ListView项目创建一个上下文菜单,该菜单在选择时将在主布局中显示一个对话框。但是,我无法让选定的列表项调用父页面中的任何函数。下面是我的自定义列表项中的QML: ] // end of contextActions list
<Layout for the List Item>
我有一个ListView与他的模型从一个U1db.Query读取和保存操作从/到U1db工程,但我需要更新的ListView模型时,一个新的项目被插入到数据库中,以显示最后插入的内容(即:我需要执行相同的查询我也尝试过ListView和UbuntuListView`,但是我不能解决这个问题。display some content to be shown inside the Rectangle }
//the lis