Re: [SailfishDevel] Use same header item instance in multiple views

2016-07-23 Thread Amilcar Santos
Hi Michael, I think that it's not possible that way.. once you switch between GridView and ListView, the SearchField loses focus (maybe force the focus with a Timer) and probably the keyboard. solution 1: set the SearchField outside the views and switch only the view: Page { SearchField {

Re: [SailfishDevel] Workflow for co-development for desktop / sailfish silica

2015-10-22 Thread Amilcar Santos
My workflow to speedup development on Windows (when compiling the binary is not necessary / QML changes only): - Start QtCreator + emulators - Open a project - Deploy once (copy binaries) - start WinSCP (winscp.net) and login in emulator - Select in WinSCP > Commands > Keep Remote

[SailfishDevel] Running/deploying a qml only app

2015-10-01 Thread Amilcar Santos
Hello fellow sailors, Because of the tablet, I'm trying to run/deploy a QML only app (the binary file is unnecessary) in the Sailfish SDK, but with no success.. I've followed the http://nckweb.com.ar/sailing-code/2015/02/19/deploy-qml-only-apps/ example but, from my understanding when I press

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread Amilcar Santos
From docs: Header: #include QWebFrame qmake: QT += webkitwidgets Since: Qt 4.4 Inherits: QObject As far as I known, dependencies with QWidgets aren't permitted in Sailfish OS. B.G. Amilcar 2015-07-28 22:57 GMT+01:00 yurumi yur...@gmx.de: Hi all, I would like to load a web page and

Re: [SailfishDevel] Prefill Username and Password in HTML Form / QWebFrame not found

2015-07-29 Thread Amilcar Santos
this before but thought it was some Qt 4.X stuff because of the error message. So maybe QWidgets *are* permitted? In that case, what would be an alternative approach? Cheers, Thomas On 29.07.2015 14:29, Amilcar Santos wrote: From docs: Header: #include QWebFrame qmake: QT += webkitwidgets

Re: [SailfishDevel] What's the correct way to do this?

2015-06-05 Thread Amilcar Santos
It may be a name collision between carDetails.model (from the database) and ListView.model (Qml delegate implemention).. Try renaming the 'model' colunm in the 'car' table Bg, Amilcar 2015-06-05 18:35 GMT+01:00 Krisztian Olah fasza2mob...@gmail.com: You are passing a carmodel as an argument to