Re: [SailfishDevel] Preventing the application suspending

2018-03-22 Thread Amilcar Santos
check this file: https://github.com/CODeRUS/better-sailfishos-qmltypes/blob/Sdk1710/Sailfish/Media/ScreenBlank.qml 2018-03-14 11:14 GMT+00:00 Simon Brown : > Hello, > > What's the best practice for a harbour app to prevent an application being > suspended? I'm working on a timer style app and see

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] Beginning Sailfish programming?

2016-01-28 Thread Amilcar Santos
https://together.jolla.com/question/123975/sailfishosjolla-book-for-developers/ Here's thread to contribute about documentation to introduce in SailfishOS development Reference to the sourcecode of a book: https://github.com/hardcodes/developwithsailfishos 2016-01-28 14:45 GMT+00:00 Kimmo Lindho

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 Direc

[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 RUN

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

2015-07-29 Thread Amilcar Santos
R: Unknown module(s) in QT: webkitwidgets > > > I tried 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 > > >

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

2015-07-29 Thread Amilcar Santos
>From docs: Header: #include 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 : > Hi all, > > I would like to load a web page and programmatically fill in a u

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 : > You are passing a carmodel as an argument to carpassDetails, chanc