-
UID:179672
-
- 注册时间2017-03-16
- 最后登录2018-01-30
- 在线时间23小时
-
- 发帖12
- 搜Ta的帖子
- 精华0
- 金钱120
- 威望22
- 贡献值0
- 好评度12
-
访问TA的空间加好友用道具
|
如题:我测试了下,发现委托中貌似无法active focus 。。。rowDelegate:- rowDelegate: Item
- {
- id :rowDelItem
- height: tableView.height/6
- width: tableView.width
- Rectangle
- {
- id : bkSelected
- width: tableView.width*7/10
- height: tableView.height*3/24
- anchors.verticalCenter: parent.verticalCenter
- color : styleData.pressed ?"#80444458":"#807070a2"
- radius: 10
- gradient: Gradient {
- GradientStop {
- position: 0.00;
- color: styleData.pressed ?"#80444458":"#807070a2";
- }
- GradientStop {
- position: 0.50;
- color: "#80000000";
- }
- GradientStop {
- position: 1.00;
- color: styleData.pressed ?"#80444458":"#807070a2";
- }
- }
- visible: styleData.hasActiveFocus | styleData.selected
- }
- onActiveFocusChanged:
- {
- console.log("row 委托 焦点 active changed");
- }
- }
|