summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Look/WidgetLayouts/FocusListViewLayout.qml
blob: 2e89924a20565eb55da2c5fcfd2327ff84cc8f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// import QtQuick 2.0 // to target S60 5th Edition or Maemo 5
import QtQuick 2.0
import com.ford.hmiframework 1.0

import "../Widgets"

FLayout {
    id: theLayout

    property alias list : theListView
    property alias list_itemWidget: theListView.itemWidget
    property alias list_data: theListView.data
    property bool listWrap: false

    FWdgtListView {
        id: theListView
        anchors.fill: theLayout
        clip: true
        //interactive: false
        highlightFollowsCurrentItem: true
        highlightMoveDuration: 100
        highlightMoveVelocity: -1
        keyNavigationWraps: listWrap
        highlight:
            Rectangle {
                id: focus
                height: 51
                width: theLayout.width
                radius: 10
                color: "transparent"
                border { color: "white"; width: 2 }
        }
    }
}