Re: [SailfishDevel] qml component repository

2017-02-07 Thread Chris Adams
Hi,

There's 
https://github.com/sailfishos/sailfish-components-webview/tree/master/import/pickers
But currently due to a build dependency on Silica, it's difficult for community 
members to build.

Cheers,
Chris.


From: Devel [devel-boun...@lists.sailfishos.org] on behalf of David van Rijn 
[davidvanr...@gmail.com]
Sent: Wednesday, February 08, 2017 1:07 AM
To: Sailfish OS Developers
Subject: [SailfishDevel] qml component repository

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Guys,

I was just busy adding a feature i wanted to an app (posting pictures to
slackfish) and i didn't feel like writing another media selection
dialog, so i
borrowed it from hangish. However, it would be really nice if there was
a central repository (maybe on github) with a collection of qml (and
maybe some c++) components, where everyone can contribute. So, is there
such a thing? And if not, are more people interested in starting one?


Cheers,


David

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEfi58V39HPtlUFR//wZYfCJ4HaGYFAliZ4rEACgkQwZYfCJ4H
aGbZHQ/+MXrFJACvmvRZ4luYBIYcmfWB0C8Y/L0QpnVEusV69C8BiRMKmc2ET7SG
pZSHdPYd+NtyycWgmkE222XOV8PoEcrIz5j0on8YMzWDsMSRMtNaciFJs8rvsgdd
PXyIM2j3KxhsSVbDKnd7q7Nj2W4npLGu4J77J4+bYd9WFP61DKYHIcbEHLTBWJIr
j0wkG7QqzgVdwse73/yb4qjG2CWTFa399GH7Bg5HXoeIRiXp9liPlRwtUx44I+iE
uQpBDxNikxLwpk4HvWYRl/eQlPw/xKYFjPPELNpprGGJKvAngm9pRnrSxbtu+vdT
hHYBqPmZo+KPq5/e+YcGUSSU87KclQdeziaa9GVaNQqygdPC6HFH5ju4KMhtxjp6
2XUfmCGxiHRai9a24CuD8O0UnPOcB1mjAwc1JNXIhjVxO3OyMh1VGGOqJroxerEu
W0xeLCIL2EGW4x5pePGVH/op5wrvQRW3nd0y3eLiGb3pbCP9fl/emzNMJUrRLFxs
55vyBP3g6f5JEczbOaRFiAkRODK03usW6vtci5LbzRCzv7rfYYeixY+JuYGQMdR0
a9Cd+eqyZyfIg8iLP9UY09yjcLEsWUN+8YTQ+2FELf6NsMiPz4Yk+5FUK9UzE+iQ
388jX0SwW2klshvwAkvq+233HYpnf035YZmaU1mTcsG8V1L5i7g=
=wyzS
-END PGP SIGNATURE-

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

Re: [SailfishDevel] qml component repository

2017-02-07 Thread Andrey Kozhevnikov
Maybe Jolla can publish default sdk componentsgallery application to 
guthub and then we can contribute, jolla review our code and then profit?


07.02.2017 18:07, David van Rijn пишет:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Guys,

I was just busy adding a feature i wanted to an app (posting pictures to
slackfish) and i didn't feel like writing another media selection
dialog, so i
borrowed it from hangish. However, it would be really nice if there was
a central repository (maybe on github) with a collection of qml (and
maybe some c++) components, where everyone can contribute. So, is there
such a thing? And if not, are more people interested in starting one?


Cheers,


David

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEfi58V39HPtlUFR//wZYfCJ4HaGYFAliZ4rEACgkQwZYfCJ4H
aGbZHQ/+MXrFJACvmvRZ4luYBIYcmfWB0C8Y/L0QpnVEusV69C8BiRMKmc2ET7SG
pZSHdPYd+NtyycWgmkE222XOV8PoEcrIz5j0on8YMzWDsMSRMtNaciFJs8rvsgdd
PXyIM2j3KxhsSVbDKnd7q7Nj2W4npLGu4J77J4+bYd9WFP61DKYHIcbEHLTBWJIr
j0wkG7QqzgVdwse73/yb4qjG2CWTFa399GH7Bg5HXoeIRiXp9liPlRwtUx44I+iE
uQpBDxNikxLwpk4HvWYRl/eQlPw/xKYFjPPELNpprGGJKvAngm9pRnrSxbtu+vdT
hHYBqPmZo+KPq5/e+YcGUSSU87KclQdeziaa9GVaNQqygdPC6HFH5ju4KMhtxjp6
2XUfmCGxiHRai9a24CuD8O0UnPOcB1mjAwc1JNXIhjVxO3OyMh1VGGOqJroxerEu
W0xeLCIL2EGW4x5pePGVH/op5wrvQRW3nd0y3eLiGb3pbCP9fl/emzNMJUrRLFxs
55vyBP3g6f5JEczbOaRFiAkRODK03usW6vtci5LbzRCzv7rfYYeixY+JuYGQMdR0
a9Cd+eqyZyfIg8iLP9UY09yjcLEsWUN+8YTQ+2FELf6NsMiPz4Yk+5FUK9UzE+iQ
388jX0SwW2klshvwAkvq+233HYpnf035YZmaU1mTcsG8V1L5i7g=
=wyzS
-END PGP SIGNATURE-



___
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] org.nemomobile.configuration examples

2017-02-07 Thread Dylan Van Assche via Devel
Hi Michael,

Thank you! Works amazingly simple, I searched it too far :)

Cheers,
Dylan









 Original Message 
Subject: Re: [SailfishDevel] org.nemomobile.configuration examples
Local Time: 7 February 2017 1:56 PM
UTC Time: 7 February 2017 12:56
From: mich...@neufing.org
To: devel@lists.sailfishos.org

Hi,

have a look at my SailfishReboot repo at GitHub [1].
You can just add your properties into the ConfigurationGroup and that's
it :)
The loading/saving/notifying is already handled four you *magic* :)

Br,
Michael

[1]
https://github.com/ejjoman/harbour-sailfishreboot/blob/3b7644b51a36d57bfe9afacf39959ca27b79e235/qml/common/Settings.qml#L4

Am 07.02.2017 13:46, schrieb Dylan Van Assche via Devel:
> Hi devs,
>
> Currently I'm struggling with the org.nemomobile.configuration QML
> module.
>
> On the SailfishOS Reference pages is explained which properties this
> module has but I can't find any examples there.
>
> After some Googling I found some examples on how to use
> ConfigurationValue {} but I want to group several settings together in
> a ConfigurationGroup {}.
>
> Does anyone a simple example on how to use ConfigurationGroup {}?
>
> Thanks & have a nice day,
>
> Dylan Van Assche aka modulebaan
> ___
> 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

[SailfishDevel] qml component repository

2017-02-07 Thread David van Rijn

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi Guys,

I was just busy adding a feature i wanted to an app (posting pictures to
slackfish) and i didn't feel like writing another media selection
dialog, so i
borrowed it from hangish. However, it would be really nice if there was
a central repository (maybe on github) with a collection of qml (and
maybe some c++) components, where everyone can contribute. So, is there
such a thing? And if not, are more people interested in starting one?


Cheers,


David   

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEfi58V39HPtlUFR//wZYfCJ4HaGYFAliZ4rEACgkQwZYfCJ4H
aGbZHQ/+MXrFJACvmvRZ4luYBIYcmfWB0C8Y/L0QpnVEusV69C8BiRMKmc2ET7SG
pZSHdPYd+NtyycWgmkE222XOV8PoEcrIz5j0on8YMzWDsMSRMtNaciFJs8rvsgdd
PXyIM2j3KxhsSVbDKnd7q7Nj2W4npLGu4J77J4+bYd9WFP61DKYHIcbEHLTBWJIr
j0wkG7QqzgVdwse73/yb4qjG2CWTFa399GH7Bg5HXoeIRiXp9liPlRwtUx44I+iE
uQpBDxNikxLwpk4HvWYRl/eQlPw/xKYFjPPELNpprGGJKvAngm9pRnrSxbtu+vdT
hHYBqPmZo+KPq5/e+YcGUSSU87KclQdeziaa9GVaNQqygdPC6HFH5ju4KMhtxjp6
2XUfmCGxiHRai9a24CuD8O0UnPOcB1mjAwc1JNXIhjVxO3OyMh1VGGOqJroxerEu
W0xeLCIL2EGW4x5pePGVH/op5wrvQRW3nd0y3eLiGb3pbCP9fl/emzNMJUrRLFxs
55vyBP3g6f5JEczbOaRFiAkRODK03usW6vtci5LbzRCzv7rfYYeixY+JuYGQMdR0
a9Cd+eqyZyfIg8iLP9UY09yjcLEsWUN+8YTQ+2FELf6NsMiPz4Yk+5FUK9UzE+iQ
388jX0SwW2klshvwAkvq+233HYpnf035YZmaU1mTcsG8V1L5i7g=
=wyzS
-END PGP SIGNATURE-



0x9E076866.asc
Description: application/pgp-keys
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] org.nemomobile.configuration examples

2017-02-07 Thread Michael Fuchs

Hi,

I place the ConfigurationGroup in the root item

harbour-appname.qml:


ConfigurationGroup {
id: settings
path: "/apps/harbour-appname"

property bool boolVal: true
property int intValue: 5
}


So it's accessible anywhere.
Then I'm binding the values to some others:

SomePage.qml:
...
Label{
property bool thisBool: settings.boolVal
text: settings.intValue * thisBool}
}
...

And I write directly to "settings":
...
Button {
onClicked: settings.boolVal = !settings.boolVal
}
...

So values are stored immediately after changing them and restored after 
startup.


cheers, Michael.

Am 07.02.2017 um 13:46 schrieb Dylan Van Assche via Devel:

Hi devs,

Currently I'm struggling with the org.nemomobile.configuration QML module.
On the SailfishOS Reference pages is explained which properties this
module has but I can't find any examples there.
After some Googling I found some examples on how to use
ConfigurationValue {} but I want to group several settings together in a
ConfigurationGroup {}.
Does anyone a simple example on how to use ConfigurationGroup {}?

Thanks & have a nice day,
Dylan Van Assche aka modulebaan






___
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] org.nemomobile.configuration examples

2017-02-07 Thread Michael Neufing

Hi,

have a look at my SailfishReboot repo at GitHub [1].
You can just add your properties into the ConfigurationGroup and that's 
it :)

The loading/saving/notifying is already handled four you *magic* :)

Br,
Michael

[1] 
https://github.com/ejjoman/harbour-sailfishreboot/blob/3b7644b51a36d57bfe9afacf39959ca27b79e235/qml/common/Settings.qml#L4


Am 07.02.2017 13:46, schrieb Dylan Van Assche via Devel:

Hi devs,

Currently I'm struggling with the org.nemomobile.configuration QML
module.

On the SailfishOS Reference pages is explained which properties this
module has but I can't find any examples there.

After some Googling I found some examples on how to use
ConfigurationValue {} but I want to group several settings together in
a ConfigurationGroup {}.

Does anyone a simple example on how to use ConfigurationGroup {}?

Thanks & have a nice day,

Dylan Van Assche aka modulebaan
___
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

[SailfishDevel] org.nemomobile.configuration examples

2017-02-07 Thread Dylan Van Assche via Devel
Hi devs,

Currently I'm struggling with the org.nemomobile.configuration QML module.
On the SailfishOS Reference pages is explained which properties this module has 
but I can't find any examples there.
After some Googling I found some examples on how to use ConfigurationValue {} 
but I want to group several settings together in a ConfigurationGroup {}.
Does anyone a simple example on how to use ConfigurationGroup {}?

Thanks & have a nice day,
Dylan Van Assche aka modulebaan___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org