1 // import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
9 signal clicked(string url)
13 text: qsTr("Websites")
24 ListElement { link: "http://www.librepilot.org" }
25 ListElement { link: "https://librepilot.atlassian.net/wiki/display/LPDOC/Welcome" }
26 ListElement { link: "http://forum.librepilot.org" }
27 ListElement { link: "http://github.com/librepilot/LibrePilot/pulls" }
28 ListElement { link: "http://github.com/librepilot/LibrePilot/issues" }
29 function title(index){
30 if (title["text"] === undefined) {
35 qsTr("Pull Requests"),
39 return title.text[index]
47 anchors { top: parent.top; bottom: parent.bottom }
48 orientation: ListView.Horizontal
50 spacing: 40 // Need dynamic spacing
53 text: view.model.title(index)
54 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
60 color: mouseArea.containsMouse ? "#224d81" : "black"
68 container.clicked(link)