From info at TNGSoftware.nl Sat Oct 12 08:35:57 2013
From: info at TNGSoftware.nl (Guido Moonen)
Date: Sat, 12 Oct 2013 10:35:57 +0200
Subject: Use the whole screen of the HTML page.
Message-ID: <525909ED.9090005@TNGSoftware.nl>
Hello,
Is it possible to use the whole page of the webbrowser and the qmlweb
javascript? do I need to set something special in the top width/height
of qml?
I currently have html:
Lets try some QML stuffs.
and qml:
import QtQuick 2.0
Rectangle {
Text {
anchors.centerIn: parent
text: "Hello World"
}
MouseArea {
anchors.fill: parent
onClicked: {
}
}
}
But when I look in the browser debug I see that the body got a new style:
I assume this is done by the qmlEngine?
Is there an easy way to change this so I can use the full screen?
With kind regards ,
Guido Moonen
--
TNG Software
van den Hummelstraat 34
5175 CM Loon op Zand
info at TNGSoftware.nl
06-26912345
From cturnercomplex at gmail.com Mon Oct 21 09:31:23 2013
From: cturnercomplex at gmail.com (Chris Turner)
Date: Mon, 21 Oct 2013 11:31:23 +0200
Subject: Getting started, references IDs
Message-ID:
Hi Everyone,
I really like this project and would love to see this getting some more
attention!
However I'm struggling to get basic examples to work. They seem to break
every time when an ID is referenced. For example I use the index.html
posted on Aton's blog post (
http://akreuzkamp.de/2013/07/10/webapps-written-in-qml-not-far-from-reality-anymore/)
and as main.qml I use the Anchoring Test.
The resulting web page shows only the "Top Left" in the top left corner.
Whenn I remove the first anchor statements of the Top Left Text Item, I see
the "Top Left" and "Top Center" both in the top left corner stacked. So for
some reason he can't handle reference IDs. I verified this also with my own
test where I referenced the "parent" ID.
The examples in the Testpad and Viewer work fine for me in my local setup.
I don't know, could be that due to my lack of HTML and JavaScript I'm
missing something.
Another question how can I receive logger or debugger output?
Best,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: