Re: [Interest] Qt-based android app: StartApp's exit banners are not shown

2014-06-02 Thread rpzrpz...@gmail.com
You will likely find in the java code a location where all touch and key events are forwarded to the native activity. You cannot then expect for Java callback to execute on key presses, you must handle the keys/touches inside Qt code. On 6/2/2014 7:00 PM, Alexander Ivash wrote: > I'm trying to i

[Interest] Qt-based android app: StartApp's exit banners are not shown

2014-06-02 Thread Alexander Ivash
I'm trying to integrate StartApp's exit banners (startapp.com) into Qt-based android application but I can't get them working properly - they are not shown on exiting from application using 'back' button (although they work as expected on pressing 'home' button). The issue seems to be Qt-specific,

Re: [Interest] [Ubuntu-phone] How to reset QML WebView?

2014-06-02 Thread Николай Шатохин
No, it doesn't help too :( And clearing cookies manually _socialWindow->engine()->networkAccessManager()->cookieJar()->setCookieJar(new QNetworkCookieJar()); or cache _socialWindow->engine()->clearComponentCache(); not solve the problem. It looks like that QML file saves it state and lives be

Re: [Interest] [Ubuntu-phone] How to reset QML WebView?

2014-06-02 Thread Николай Шатохин
You didn't understand. It's not Android. It's Qt and QML 2014-06-03 0:24 GMT+03:00 Olivier Tilloy : > > > > On Mon, Jun 2, 2014 at 7:59 PM, Николай Шатохин > wrote: > >> Hello. >> >> I have a web browser's window maked by QML from WebView. >> >> And in C++ I create window: >> >> if(_socialWindo

[Interest] How to reset QML WebView?

2014-06-02 Thread Николай Шатохин
Hello. I have a web browser's window maked by QML from WebView. And in C++ I create window: if(_socialWindow == NULL) { _socialWindow= new QQuickView(); _socialWindow->setFlags(Qt::Tool); _socialWindow->setResizeMode(QQuickView::SizeRootObjectToView); _socialW

Re: [Interest] [QML] How to create a sub Window for Window {...}

2014-06-02 Thread Yuchen Deng
Got it, thanks! 2014-06-02 19:03 GMT+08:00 BOUCARD Olivier : > But you should anchor the Loader like any other item. -- Best Regards Yuchen ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [Development] Listen to database update

2014-06-02 Thread Giuseppe D'Angelo
Hi, This is the wrong list (for developers OF Qt). Moving the discussion to the right one (for developers WITH Qt). Il 02/06/2014 14:25, Olivier Austina ha scritto: Is there a way to listen for a database updating. I have a program and I want to know when the database change (for insert and u

Re: [Interest] [QML] How to create a sub Window for Window {...}

2014-06-02 Thread BOUCARD Olivier
Yes Yuchen. But you should anchor the Loader like any other item. Le Lundi 2 juin 2014 12h23, Yuchen Deng a écrit : 2014-06-02 16:59 GMT+08:00 BOUCARD Olivier : The best way is to use a Loader item. thx. like this? import QtQuick 2.2 >Rectangle { >    id: root >    visible: true >    widt

Re: [Interest] [QML] How to create a sub Window for Window {...}

2014-06-02 Thread Yuchen Deng
2014-06-02 16:59 GMT+08:00 BOUCARD Olivier : > The best way is to use a Loader item. thx. like this? > import QtQuick 2.2 > Rectangle { > id: root > visible: true > width: 760; height: 520 > color: "red" > Loader { id: pageLoader } > MouseArea { > anchors.fill: p

Re: [Interest] [QML] How to create a sub Window for Window {...}

2014-06-02 Thread BOUCARD Olivier
The best way is to use a Loader item. Olivier Le Lundi 2 juin 2014 10h58, Filip Piechocki a écrit : So just use Rectangle :) or Item if you just want an empty item, or Component to load some QML from file. BR, Filip Piechocki On Mon, Jun 2, 2014 at 9:51 AM, Yuchen Deng wrote: Actua

Re: [Interest] [QML] How to create a sub Window for Window {...}

2014-06-02 Thread Filip Piechocki
So just use Rectangle :) or Item if you just want an empty item, or Component to load some QML from file. BR, Filip Piechocki On Mon, Jun 2, 2014 at 9:51 AM, Yuchen Deng wrote: > Actually, I don't really want an MDI interface. I just want load or open > another qml as child Window show inside