[ create a new paste ] login | about

Link: http://codepad.org/JV2NHk55    [ raw code | fork ]

Plain Text, pasted on Feb 7:
import QtQuick 1.1
import com.nokia.meego 1.0

Page {
    id: searchPage
    tools: commonTools

    ListView {
        id: titlesView

        anchors {
            top: parent.top
            bottom: searchField.top
            left: parent.left
            right: parent.right
        }


        model: titlesModel
        delegate: Text { text: name }

    }
    
    TextField {
        id: searchField
        placeholderText: "Searchterm..."
        anchors.top: titlesView.bottom
        anchors.bottom: parent.bottom
    }

    ScrollDecorator {
        flickableItem: titlesView
    }

}



Create a new paste based on this one


Comments: