[SailfishDevel] Webview and clicking on external link

2016-01-28 Thread Zoltán Lutor
Hi,

Any idea how to open link clicked in webview in browser application?
Code below does not do the trick - rather opens link inside the webview
itself...

http://doc.qt.io/qt-5/qml-qtwebkit-webview.html#onNavigationRequested-signal

WebView {

id: webViewer

anchors.fill: parent

onNavigationRequested : {

console.debug("request.url: ", request.url)

if (request.navigationType === WebView.LinkClickedNavigation) {

request.action = WebView.IgnoreRequest

Qt.openUrlExternally(request.url)

}

}

}


Thx,


Zoltan
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Beginning Sailfish programming?

2016-01-28 Thread Paul Duncan
Hi All,
I am a reasonably proficient C programmer, but I think what I need is some sort 
of "gentle introduction" into getting something onto the screen, getting input 
etc, on Sailfish. I have the Jolla phone, and also have had a Tablet on order 
for what is probably almost a year now.
So, where do I start? Do I need to get proficient in another language first?
Thanks!
Paul.




   ___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Beginning Sailfish programming?

2016-01-28 Thread Michael Fuchs
You can do a lot of things with qml and you will learn it by just using 
it. If you want to play with inputs, take a look at componentgallery in 
examples.


IMHO two concepts are important to understand the code more easily:
Signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html

and the Model/View Concept: 
http://doc.qt.io/qt-5/qtquick-modelviewsdata-modelview.html


I started qml by rebuilding a Qt-widget-based app in qml.


Am 28.01.2016 um 14:12 schrieb Paul Duncan:

Hi All,

I am a reasonably proficient C programmer, but I think what I need is
some sort of "gentle introduction" into getting something onto the
screen, getting input etc, on Sailfish. I have the Jolla phone, and also
have had a Tablet on order for what is probably almost a year now.

So, where do I start? Do I need to get proficient in another language first?

Thanks!

Paul.






___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] monitor systemd unit from qml

2016-01-28 Thread Michael Fuchs

No, didn't help either.

https://gist.github.com/fuchsmich/354af082fbc4577a4bf5

But thanks anyway.

Am 27.01.2016 um 22:07 schrieb Ove Kåven:

Den 27. jan. 2016 17:03, skrev Michael Fuchs:

There is a signal "PropertiesChanged" defined but it doesn't get
emitted, when I start or stop the service.


http://www.freedesktop.org/wiki/Software/systemd/dbus/

You could see whether calling "Subscribe()" enables these signals for you.

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] monitor systemd unit from qml

2016-01-28 Thread Tone Kastlunger
OFC one option is to get your service to send a DBus signal once it's up.
But that makes systemd irrelevant.

dbus-monitor is your friend; put it to run and start the service, grep the
output to understand what's going on (which signals are emitted in
particular).

Then once you are sure the signal is emitted, make sure you have the
correct parameters to connect to it.

This should do it.

On Thu, Jan 28, 2016 at 1:09 PM, Michael Fuchs  wrote:

> No, didn't help either.
>
> https://gist.github.com/fuchsmich/354af082fbc4577a4bf5
>
> But thanks anyway.
>
>
> Am 27.01.2016 um 22:07 schrieb Ove Kåven:
>
>> Den 27. jan. 2016 17:03, skrev Michael Fuchs:
>>
>>> There is a signal "PropertiesChanged" defined but it doesn't get
>>> emitted, when I start or stop the service.
>>>
>>
>> http://www.freedesktop.org/wiki/Software/systemd/dbus/
>>
>> You could see whether calling "Subscribe()" enables these signals for you.
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Beginning Sailfish programming?

2016-01-28 Thread Kimmo Lindholm
1. Install SDk 
https://sailfishos.org/develop/sdk-overview/develop-installation-article/
2. Read some tutorials https://sailfishos.org/develop/tutorials/
3. Check api docs, specially Silica https://sailfishos.org/develop/docs/
4. Read Harbour FAQ https://harbour.jolla.com/faq
5. Code
6. Join us in IRC, e.g.  #sailfishos at freenode – and we like to see the code 
:)

-kimmo

From: devel-boun...@lists.sailfishos.org 
[mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Paul Duncan
Sent: 28. tammikuuta 2016 15:59
To: Sailfish OS Developers 
Subject: Re: [SailfishDevel] Beginning Sailfish programming?

Michael,

Thank for the reply - I'm sure I will have more questions later :-)

Just working on installing the development environment. Last time I tried this 
there was no dedicated Linux version, so its nice to see that has improved :-)

Cheers!

Paul.


From: Michael Fuchs 
To: devel@lists.sailfishos.org
Sent: Thursday, 28 January 2016, 13:28
Subject: Re: [SailfishDevel] Beginning Sailfish programming?

You can do a lot of things with qml and you will learn it by just using
it. If you want to play with inputs, take a look at componentgallery in
examples.

IMHO two concepts are important to understand the code more easily:
Signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html

and the Model/View Concept:
http://doc.qt.io/qt-5/qtquick-modelviewsdata-modelview.html

I started qml by rebuilding a Qt-widget-based app in qml.

Am 28.01.2016 um 14:12 schrieb Paul Duncan:
> Hi All,
>
> I am a reasonably proficient C programmer, but I think what I need is
> some sort of "gentle introduction" into getting something onto the
> screen, getting input etc, on Sailfish. I have the Jolla phone, and also
> have had a Tablet on order for what is probably almost a year now.
>
> So, where do I start? Do I need to get proficient in another language first?
>
> Thanks!
>
> Paul.

>
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to 
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Beginning Sailfish programming?

2016-01-28 Thread Paul Duncan
Michael,

Thank for the reply - I'm sure I will have more questions later :-)
Just working on installing the development environment. Last time I tried this 
there was no dedicated Linux version, so its nice to see that has improved :-)
Cheers!
Paul.
 

  From: Michael Fuchs 
 To: devel@lists.sailfishos.org 
 Sent: Thursday, 28 January 2016, 13:28
 Subject: Re: [SailfishDevel] Beginning Sailfish programming?
   
You can do a lot of things with qml and you will learn it by just using 
it. If you want to play with inputs, take a look at componentgallery in 
examples.

IMHO two concepts are important to understand the code more easily:
Signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html

and the Model/View Concept: 
http://doc.qt.io/qt-5/qtquick-modelviewsdata-modelview.html

I started qml by rebuilding a Qt-widget-based app in qml.


Am 28.01.2016 um 14:12 schrieb Paul Duncan:
> Hi All,
>
> I am a reasonably proficient C programmer, but I think what I need is
> some sort of "gentle introduction" into getting something onto the
> screen, getting input etc, on Sailfish. I have the Jolla phone, and also
> have had a Tablet on order for what is probably almost a year now.
>
> So, where do I start? Do I need to get proficient in another language first?
>
> Thanks!
>
> Paul.
>
>
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


   ___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS community meeting 28th of January, 2016 14:30 UTC

2016-01-28 Thread Steph Gosling
Good afternoon!

Please find below links for today's meeting minutes in a variety of
formats. 

Minutes:
http://merproject.org/meetings/mer-meeting/2016/mer-meeting.2016-01-28-14.30.html
Minutes (text): 
http://merproject.org/meetings/mer-meeting/2016/mer-meeting.2016-01-28-14.30.txt
Log:
http://merproject.org/meetings/mer-meeting/2016/mer-meeting.2016-01-28-14.30.log.html


The next meeting is scheduled for Thursday 11th of February at 14:30
UTC. As always, if you have suggestions or topic submissions please add
them to the TJC topic tracking our meetings, here: 

https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

Cheers,

Steph


-- 
Steph Gosling 
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Beginning Sailfish programming?

2016-01-28 Thread Richard Grooff
And check together.jolla.com for similar questions... 

On Thu Jan 28 15:53:35 2016 GMT+0100, Amilcar Santos wrote:
> 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 Lindholm :
> > 1. Install SDk
> > https://sailfishos.org/develop/sdk-overview/develop-installation-article/
> >
> > 2. Read some tutorials https://sailfishos.org/develop/tutorials/
> >
> > 3. Check api docs, specially Silica https://sailfishos.org/develop/docs/
> >
> > 4. Read Harbour FAQ https://harbour.jolla.com/faq
> >
> > 5. Code
> >
> > 6. Join us in IRC, e.g.  #sailfishos at freenode – and we like to see the
> > code :)
> >
> >
> >
> > -kimmo
> >
> >
> >
> > From: devel-boun...@lists.sailfishos.org
> > [mailto:devel-boun...@lists.sailfishos.org] On Behalf Of Paul Duncan
> > Sent: 28. tammikuuta 2016 15:59
> > To: Sailfish OS Developers 
> > Subject: Re: [SailfishDevel] Beginning Sailfish programming?
> >
> >
> >
> > Michael,
> >
> >
> >
> > Thank for the reply - I'm sure I will have more questions later :-)
> >
> >
> >
> > Just working on installing the development environment. Last time I tried
> > this there was no dedicated Linux version, so its nice to see that has
> > improved :-)
> >
> >
> >
> > Cheers!
> >
> >
> >
> > Paul.
> >
> >
> >
> > 
> >
> > From: Michael Fuchs 
> > To: devel@lists.sailfishos.org
> > Sent: Thursday, 28 January 2016, 13:28
> > Subject: Re: [SailfishDevel] Beginning Sailfish programming?
> >
> >
> > You can do a lot of things with qml and you will learn it by just using
> > it. If you want to play with inputs, take a look at componentgallery in
> > examples.
> >
> > IMHO two concepts are important to understand the code more easily:
> > Signals: http://doc.qt.io/qt-5/qtqml-syntax-signals.html
> >
> > and the Model/View Concept:
> > http://doc.qt.io/qt-5/qtquick-modelviewsdata-modelview.html
> >
> > I started qml by rebuilding a Qt-widget-based app in qml.
> >
> >
> > Am 28.01.2016 um 14:12 schrieb Paul Duncan:
> >> Hi All,
> >>
> >> I am a reasonably proficient C programmer, but I think what I need is
> >> some sort of "gentle introduction" into getting something onto the
> >> screen, getting input etc, on Sailfish. I have the Jolla phone, and also
> >> have had a Tablet on order for what is probably almost a year now.
> >>
> >> So, where do I start? Do I need to get proficient in another language
> >> first?
> >>
> >> Thanks!
> >>
> >> Paul.
> >
> >
> >>
> >>
> >>
> >>
> >>
> >>
> >> ___
> >> SailfishOS.org Devel mailing list
> >> To unsubscribe, please send a mail to
> >> devel-unsubscr...@lists.sailfishos.org
> >>
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> >
> >
> >
> >
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> 
> 
> 
> -- 
> Amilcar
> (djditz in the mix... ;)
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.or

-- 
Sent from my Jolla
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org