Submitting Qt Tutorials
-
Hi,
So I looked for a tutorial on making an XBMC remote in Qt, but couldn't find one..
So I made my own.. Is there anywhere I would submit it? Not sure where in the forum it would fit..
regards
Andy
-
Seems obvious now.. haha.
Thanks!
for the record here is the page:
http://qt-project.org/wiki/XBMC-Remote-code-example-using-Qt-C
-
@import QtQuick 2.0
import Ubuntu.Components 0.1
//import QtQuick.Controls 1.0
//import "ContactModel.qml"Rectangle {
width: 360
height: 360
ListModel {
id:contactModel
ListElement{
name:"mihai cornel"
number: "0722270796"
}
ListElement{
name:"mihai vasuile"
number:"8907651"
}
}ListView{ width:180; height: 200 model: contactModel anchors.centerIn: parent delegate: Text { text: name + ": "+number //anchors.bottom: } } Button{ id:inchide // text: qsTr("Inchide") color: "white" //Image: "/home/mhcrnl/Desktop/icons/close.png" //background:"image: /home/mhcrnl/Desktop/icons/close.png" iconSource: "/home/mhcrnl/Desktop/icons/close.png" onClicked: { Qt.quit() } } Text { text: qsTr("Hello World") anchors.centerIn: parent } MouseArea { anchors.fill: parent onClicked: { Qt.quit(); } }
}
@