import tridsLoader 1.0
import QtQuick 2.0

Item {
    width: 400
    height: 400

    ModelLoader {
        id: amodelloader
        anchors.fill: parent
        anchors.margins: 10
        MouseArea{
            anchors.fill:parent
            onClicked://amodelloader.setTexturename()
                      Qt.quit()
                      //amodelloader.paintGL();

        }

    }


    Text {
        id: label
        anchors.bottom: amodelloader.bottom
        anchors.left: amodelloader.left
        anchors.right: amodelloader.right
        anchors.margins: 20
       //wrapMode: Text.WordWrap
        text: "1234567890\ntest\ntest"
    }



}
