first commit
This commit is contained in:
40
test/qxBlogRestApi/qt/rcc/documents/test_http_server.qml
Normal file
40
test/qxBlogRestApi/qt/rcc/documents/test_http_server.qml
Normal file
@@ -0,0 +1,40 @@
|
||||
import QtQuick 2.1
|
||||
import QtQuick.Controls 1.0
|
||||
import QtQuick.Controls.Styles 1.0
|
||||
|
||||
Item {
|
||||
width: 500
|
||||
height: 130
|
||||
Column {
|
||||
anchors.fill: parent
|
||||
spacing: 10
|
||||
anchors.leftMargin: 5
|
||||
anchors.rightMargin: 5
|
||||
Label {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: " "
|
||||
}
|
||||
Label {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "!!! Test QxOrm QxRestApi module from a web page using QxHttpServer module !!!"
|
||||
font.bold: true
|
||||
color: "blue"
|
||||
}
|
||||
Label {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "Please open your web browser to this URL : http://localhost:9642/files/test_http_server.html"
|
||||
}
|
||||
Label {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "Note : closing this QML window means stopping QxOrm HTTP server too."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user