Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread Asser Lähdemäki
Hello, Did you try text.substr(0, text.lenght-1) to remove the last char? Also, if the multiline support is important for your UX, perhaps you could open a Dialog when the text is clicked, where you could accept the edits without EnterKey. Cheers, Asser ncis20 kirjoitti la helmikuuta 7 08:32:

Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread ncis20
Uhh, that's bad news =(, i'll have to use TextField instead and forget of having multineal support. When i said shift+enter, i wasn't refering to actually touching both keys at the same time, i was thinking in something like caps lock (like entering upper cased letters in the virtual keyboard).

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Peter Pykäläinen
Ok, of course you did :) // Peter Pykäläinen On 6 February 2015 at 17:01, Andrey Kozhevnikov wrote: > tried long time ago, not worked > > 06.02.2015 19:55, Peter Pykäläinen пишет: > > Doesn't mailto accept attachment="/path/to/file.log" > > Maybe that won't work in Sailfish though. > > > > /

[SailfishDevel] Issue with ListView.currentIndex

2015-02-06 Thread François K .
Hi, Me again ! Disclaimer : I'm pretty new in Sailfish development, and this mail is rather long, because I'm trying to be precise. Allright, I'm stuck by a "weird" issue that involves a SilicaListView, sections, currentIndex and cover. My SilicaListView is divided in 2 sections : items marke

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Andrey Kozhevnikov
tried long time ago, not worked 06.02.2015 19:55, Peter Pykäläinen пишет: Doesn't mailto accept attachment="/path/to/file.log" Maybe that won't work in Sailfish though. // Peter Pykäläinen On 6 February 2015 at 16:17, Andrey Kozhevnikov mailto:coderusin...@gmail.com>> wrote: It's allow

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Peter Pykäläinen
Doesn't mailto accept attachment="/path/to/file.log" Maybe that won't work in Sailfish though. // Peter Pykäläinen On 6 February 2015 at 16:17, Andrey Kozhevnikov wrote: > It's allowed of cource, but question was about attachments :) > > 06.02.2015 18:49, Kimmo Lindholm пишет: > > launch em

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Peter Pykäläinen
It's allowed since I'm using it in goViihde. 6.2.2015 15.50 kirjoitti "Kimmo Lindholm" : > launch email app from QML > > Qt.openUrlExternally("mailto: h...@hippa.com" + > "?subject=Bug report" + > "&body=Write here what is wrong...") > > > Have no experience is this allowed in Harb

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Andrey Kozhevnikov
It's allowed of cource, but question was about attachments :) 06.02.2015 18:49, Kimmo Lindholm пишет: launch email app from QML Qt.openUrlExternally("mailto: h...@hippa.com" + "?subject=Bug report" + "&body=Write here what is wrong...") Have no experience is this allowed in Ha

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kimmo Lindholm
launch email app from QML Qt.openUrlExternally("mailto: h...@hippa.com" + "?subject=Bug report" + "&body=Write here what is wrong...") Have no experience is this allowed in Harbour? -kimmo > -Original Message- > From: devel-boun...@lists.sailfishos.org [mailto:devel- >

[SailfishDevel] Different behaviour of ShaderEffectSource in emulator vs. device

2015-02-06 Thread Luca Donaggio
The following code works fine in Emulator, changing the gradient of the Rectangle correctly updates the nested ShaderEffectSource and it is reflected on the ShaderEffect which uses it as its texture: Page { id: page SilicaFlickable { anchors.fill: parent contentHeight: co

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Thomas B. Rücker
On 02/06/2015 12:13 PM, Kaj-Michael Lang wrote: > On Fri, 2015-02-06 at 10:32 +, "Thomas B. Rücker" wrote: >> You mean like https://wiki.merproject.org/wiki/Sailfish and its >> various >> sub-pages? > I'm looking more for things like (just examples): > - How to use the camera in a Sailfish app

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 11:06 +, Eric Le Roux wrote: > We plan to deploy a sailfishos dedicated wiki in March timeframe so we > can > address the need for such documentation and consolidate some of the > information that is currently scattered across mer/nemomobile wikis. That is good to hear,

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 10:32 +, "Thomas B. Rücker" wrote: > You mean like https://wiki.merproject.org/wiki/Sailfish and its > various > sub-pages? I'm looking more for things like (just examples): - How to use the camera in a Sailfish app - How do I create this-and-that kind of UI interface -

Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread Pekka Vuorela
to, 2015-02-05 kello 20:11 -0300, Nicolas Cisco kirjoitti: > I try using the qml Keys api: > > > TextArea { >id: textArea >EnterKey.onClicked: console.log("EnterKey.onClicked") >Key.onEnterPressed: console.log("Key.onEnterPressed") > >Key.onPressed: console.

Re: [SailfishDevel] Generating qmltypes Files

2015-02-06 Thread Andrea Nicotra
Super fast! Thanks, Andrea 2015-02-06 12:27 GMT+01:00 Andrey Kozhevnikov : > Hello! > > You can use my generated qmltypes for most of existing modules: > https://github.com/CODeRUS/better-sailfishos-qmltypes > If some module doesn't exists please let me know > > Best regards, > Andrey > > 06.02.2

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Peter Pykäläinen
Excellent, thank you! Also could you please already start working on icon references too? I have requested this over a year ago. // Pete On 6 February 2015 at 13:06, Eric Le Roux wrote: > Hi, > > We plan to deploy a sailfishos dedicated wiki in March timeframe so we can > address the need for

Re: [SailfishDevel] Generating qmltypes Files

2015-02-06 Thread Andrey Kozhevnikov
Hello! You can use my generated qmltypes for most of existing modules: https://github.com/CODeRUS/better-sailfishos-qmltypes If some module doesn't exists please let me know Best regards, Andrey 06.02.2015 16:21, Andrea Nicotra пишет: I have some issue with QtCreator. It complain about "imp

[SailfishDevel] Generating qmltypes Files

2015-02-06 Thread Andrea Nicotra
I have some issue with QtCreator. It complain about "import io.thp.pyotherside 1.3" so I discover that into /bin/qml/ miss the relative plugins.qmltypes in the doc at page "Using QML Modules with Plugins" its suggest 1. "Generating qmltypes Files" need qmlplugindump 2. "Dumping Plugins Automatic

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Eric Le Roux
Hi, We plan to deploy a sailfishos dedicated wiki in March timeframe so we can address the need for such documentation and consolidate some of the information that is currently scattered across mer/nemomobile wikis. This is aligned with the sailfishos.org site renewal, priority is given first to r

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread peter . pykalainen
Indeed. Lack of docimentation and how tos are a real problem. Even bigger problem than having stupid restrictions on harbour apps. // Pete Andrey Kozhevnikov kirjoitti pe helmikuuta 6 12:20:48 2015 GMT+0200: > That would be very helpful :D > > 06.02.2015 15:14, Kaj-Michael Lang пишет: > > Is th

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Thomas B. Rücker
On 02/06/2015 10:14 AM, Kaj-Michael Lang wrote: > Is there a developer wiki available ? > > Something like the Nokia developer wiki, where various how-to-do-that > articles could be created and shared ? You mean like https://wiki.merproject.org/wiki/Sailfish and its various sub-pages? The wiki su

Re: [SailfishDevel] Developer wiki?

2015-02-06 Thread Andrey Kozhevnikov
That would be very helpful :D 06.02.2015 15:14, Kaj-Michael Lang пишет: Is there a developer wiki available ? Something like the Nokia developer wiki, where various how-to-do-that articles could be created and shared ? ___ SailfishOS.org Devel mai

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kaj-Michael Lang
On Fri, 2015-02-06 at 15:11 +0500, Andrey Kozhevnikov wrote: > But it's not allowed for harbour applications, unfortunately. Oh, how am I not surprised by that.. sigh -- Kaj-Michael Lang ___ SailfishOS.org Devel mailing list To unsubscribe, please se

[SailfishDevel] Developer wiki?

2015-02-06 Thread Kaj-Michael Lang
Is there a developer wiki available ? Something like the Nokia developer wiki, where various how-to-do-that articles could be created and shared ? -- Kaj-Michael Lang ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-

Re: [SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Andrey Kozhevnikov
Hello! You can check my code for example: https://github.com/CODeRUS/mitakuuluu2/blob/master/client/qml/SendLogs.qml But it's not allowed for harbour applications, unfortunately. 06.02.2015 15:08, Kaj-Michael Lang пишет: I've added a debug logging option to my app and would like to make it a

[SailfishDevel] Possible to trigger email app with attachment

2015-02-06 Thread Kaj-Michael Lang
I've added a debug logging option to my app and would like to make it as easy as possible to send it to me. An easy way would be to be able to trigger the email application with the log file as an attachment with my address as recipient, ready to go. Is that possible ? -- Kaj-Michael Lang