*** frinring_ is now known as frinring | 01:26 | |
*** zbenjamin_ is now known as zbenjamin | 02:09 | |
fridl | Is it easily possible with Silica to change the BG of the Page-Header to different colors maintaining the transparency? (Like Red or Orange under certain conditions?) | 09:56 |
---|---|---|
bionade24 | fridl: Yes | 10:23 |
fridl | bionade24: Do you know which property to set (in QML?) | 10:57 |
bionade24 | fridl: Seems like I was wrong: https://sailfishos.org/develop/docs/silica/qml-sailfishsilica-sailfish-silica-pageheader.html/ | 11:02 |
fridl | bionade24: Yeah, thats where I looked first ;-) Thanks, nevertheless! | 11:31 |
fridl | I thought, someone found a diferent way ;-) | 11:31 |
Nico[m] | You could try overlaying a half transparent rectangle | 11:32 |
fridl | Nico[m]: hmmm... i could try. | 11:35 |
bolobolo | hi | 18:58 |
fridl | Probably I once again oversee a basic solution and make up my mind for Nothing: Is there a easy way to check if the device has any internet connection? | 19:47 |
fridl | (harbour compatible and QML only) | 19:47 |
fridl | I download something on the python side in a BG thread, and if I start that without internet connection urlopen will hang on the name resolution fore quite some time. | 19:48 |
fridl | and name resolution in pythons urllib.request.open is not sensitive to the timeout parameter. | 19:49 |
fridl | So I should avoid that generally when no Internet connection is available. | 19:49 |
Nico[m] | You can try a context property | 19:49 |
Nico[m] | Should be harbour compatible and tell you the network state | 19:50 |
Nico[m] | https://git.sailfishos.org/mer-core/nemo-qml-plugin-contextkit/commit/973e9f42396e538b23b6071c004408e7e1ff022e#d69996b2cc605f137149cbfd98dda7a3d620354a_0_90 | 19:50 |
Nico[m] | https://git.sailfishos.org/mer-core/nemo-qml-plugin-contextkit | 19:51 |
fridl | Ah... Thank you. Ill check the links. Looks promising! | 19:52 |
fridl | Nico[m]: Is that available as Build Dependency to enter under 'PkgConfigBR' or 'Requires' in the rpm yaml? | 20:01 |
fridl | or do I get wrong how to use it? | 20:01 |
Nico[m] | I think it is available somehow, but I forget how :D | 20:02 |
Nico[m] | contextkit-declarative-qt5 | 20:02 |
Nico[m] | Probably | 20:02 |
fridl | Yeah, it seems right. Must be placed under 'Required'. How could I have figured out the name on my own? | 20:07 |
Nico[m] | You could have looked in the rpm file in the rpm directory | 20:08 |
Nico[m] | It say Provides | 20:08 |
mal | I think for qml side it would be Requires: nemo-qml-plugin-contextkit-qt5 | 20:08 |
Nico[m] | I think this belongs below rtequires | 20:08 |
mal | that contextkit-declarative-qt5 is the old name which that nemo-qml-plugin-contextkit-qt5 replaces | 20:09 |
fridl | In the .spec file its written: | 20:11 |
fridl | Name: nemo-qml-plugin-contextkit-qt5 | 20:11 |
fridl | Provides: contextkit-declarative-qt5 | 20:11 |
Nico[m] | Ah, I see | 20:11 |
mal | yes, both of those names work but as you can see in history the Provides was added to not break code which used the old name https://git.sailfishos.org/mer-core/nemo-qml-plugin-contextkit/commit/430b23f409c167c414af787d35881b2a0a3d3fb5 | 20:12 |
fridl | okay, cool. Thank you. So the Name is the correct parameter. Good to know, how to figure it out. Thanks for the help both of you! | 20:13 |
mal | name is the default one used and Provides can be used to provide additional names | 20:14 |
fridl | Do I need to expect more states for Internet.NetworkState then '' and 'connected'? | 20:30 |
Nico[m] | I think connected is the only one you need | 20:34 |
fridl | ok | 20:35 |
fridl | thx | 20:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!