*** talonz1 <talonz1!~talonz@2001:44b8:5109:cb00:feaa:14ff:fe02:3e0c> has quit IRC (Quit: WeeChat 1.2) | 00:00 | |
*** talonz <talonz!~talonz@2001:44b8:5109:cb00:feaa:14ff:fe02:3e0c> has joined #sailfishos | 00:00 | |
*** Andy80 <Andy80!~andy80@ubuntu/member/andy80> has joined #sailfishos | 00:01 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 265 seconds) | 00:02 | |
*** bidar is now known as Thaodan | 00:09 | |
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has joined #sailfishos | 00:14 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos | 00:15 | |
*** jjarven <jjarven!~jjarven@83-245-234-212-nat-p.elisa-mobile.fi> has quit IRC (Ping timeout: 256 seconds) | 00:15 | |
*** __pv <__pv!~pv@91-159-158-130.elisa-laajakaista.fi> has quit IRC (Ping timeout: 256 seconds) | 00:15 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 00:16 | |
*** jjarven <jjarven!~jjarven@83-245-234-212-nat-p.elisa-mobile.fi> has joined #sailfishos | 00:16 | |
*** __pv <__pv!~pv@91-159-158-130.elisa-laajakaista.fi> has joined #sailfishos | 00:16 | |
*** Guest2023 is now known as special | 00:16 | |
*** special <special!~jbrooks@sky.dereferenced.net> has quit IRC (Changing host) | 00:16 | |
*** special <special!~jbrooks@unaffiliated/special> has joined #sailfishos | 00:16 | |
*** M4rtinK <M4rtinK!~M4rtinK@ip-89-177-124-246.net.upcbroadband.cz> has quit IRC (Quit: Odcházím) | 00:27 | |
*** vakkov <vakkov!~vakkov@s3n104.brunel.ac.uk> has quit IRC (Ping timeout: 256 seconds) | 00:28 | |
taixzo | Is there a Python API to get the user's contacts? | 00:36 |
---|---|---|
*** vakkov <vakkov!~vakkov@134.83.207.19> has joined #sailfishos | 00:40 | |
*** mozggg <mozggg!~igor@mail.sibatom.com> has joined #sailfishos | 00:55 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 265 seconds) | 01:10 | |
*** clopez <clopez!~tau@neutrino.es> has quit IRC (Read error: Connection reset by peer) | 01:11 | |
*** clopez <clopez!~tau@neutrino.es> has joined #sailfishos | 01:12 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 01:23 | |
*** Thaodan <Thaodan!~Thaodan@p2003004DEA006C0076D435FFFEEB7E69.dip0.t-ipconnect.de> has quit IRC (Quit: Konversation terminated!) | 01:28 | |
*** mozggg <mozggg!~igor@mail.sibatom.com> has quit IRC (Ping timeout: 265 seconds) | 01:35 | |
*** Shanita <Shanita!~John@x4d01db10.dyn.telefonica.de> has joined #sailfishos | 01:47 | |
*** Kaskuka <Kaskuka!~John@x4d01dffb.dyn.telefonica.de> has quit IRC (Ping timeout: 246 seconds) | 01:51 | |
*** iluminator105 <iluminator105!~iluminato@unaffiliated/iluminator105> has joined #sailfishos | 02:01 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 276 seconds) | 02:01 | |
*** iluminator105 <iluminator105!~iluminato@unaffiliated/iluminator105> has quit IRC (Read error: Connection reset by peer) | 02:03 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has joined #sailfishos | 02:04 | |
*** iluminator105 <iluminator105!~iluminato@unaffiliated/iluminator105> has joined #sailfishos | 02:04 | |
*** iluminator105 <iluminator105!~iluminato@unaffiliated/iluminator105> has quit IRC (Read error: Connection reset by peer) | 02:07 | |
*** Sfiet_Konstantin <Sfiet_Konstantin!~sk@195-132-24-78.rev.numericable.fr> has quit IRC (Ping timeout: 265 seconds) | 02:08 | |
*** mozggg <mozggg!~igor@mail.sibatom.com> has joined #sailfishos | 02:14 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 256 seconds) | 02:29 | |
*** Behold <Behold!~behold@unaffiliated/beholdmyglory> has quit IRC (Quit: Leaving) | 02:32 | |
*** jjarven <jjarven!~jjarven@83-245-234-212-nat-p.elisa-mobile.fi> has quit IRC (Ping timeout: 272 seconds) | 02:34 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 02:52 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos | 03:19 | |
*** martyone_ <martyone_!~martyone@193.179.215.103> has joined #sailfishos | 03:59 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 252 seconds) | 04:05 | |
taixzo | To answer my own question for anyone else's benefit, the contacts database is in .local/share/system/Contacts/qtcontacts-sqlite/contacts.db | 04:09 |
*** jjarven <jjarven!~jjarven@83-245-238-53-nat-p.elisa-mobile.fi> has joined #sailfishos | 04:27 | |
*** filippz <filippz!~filippz@93-137-231-2.adsl.net.t-com.hr> has joined #sailfishos | 04:33 | |
Yaniel | you could check if there is something QLocalStorage-related in PyOtherSide | 04:35 |
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has quit IRC (Ping timeout: 258 seconds) | 04:43 | |
*** olafh_ <olafh_!~olafh@p4FF48A97.dip0.t-ipconnect.de> has joined #sailfishos | 05:00 | |
*** filippz <filippz!~filippz@93-137-231-2.adsl.net.t-com.hr> has quit IRC (Ping timeout: 272 seconds) | 05:16 | |
*** filippz <filippz!~filippz@93-137-231-2.adsl.net.t-com.hr> has joined #sailfishos | 05:16 | |
*** filippz <filippz!~filippz@93-137-231-2.adsl.net.t-com.hr> has quit IRC (Ping timeout: 265 seconds) | 05:21 | |
*** filippz <filippz!~filippz@93-137-231-2.adsl.net.t-com.hr> has joined #sailfishos | 05:22 | |
*** filippz <filippz!~filippz@93-137-231-2.adsl.net.t-com.hr> has quit IRC (Ping timeout: 272 seconds) | 05:27 | |
*** filippz <filippz!~filippz@93-143-230-190.adsl.net.t-com.hr> has joined #sailfishos | 05:27 | |
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos | 05:28 | |
*** Dodo <Dodo!~dorianvog@178.197.239.109> has joined #sailfishos | 05:33 | |
*** PMG <PMG!~PMG@2001:998:2a:dead:88af:bbac:b1a3:22a4> has joined #sailfishos | 05:34 | |
*** newin <newin!~newin@114.199.55.41> has quit IRC (Ping timeout: 264 seconds) | 05:42 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has joined #sailfishos | 05:45 | |
*** Funkeh`` <Funkeh``!~Funkeh`@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh> has joined #sailfishos | 05:47 | |
*** Funkeh` <Funkeh`!~Funkeh`@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh> has quit IRC (Ping timeout: 276 seconds) | 05:50 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has quit IRC (Quit: Leaving...) | 06:01 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has joined #sailfishos | 06:01 | |
*** Dodo <Dodo!~dorianvog@178.197.239.109> has quit IRC (Ping timeout: 258 seconds) | 06:06 | |
*** nutellazwerg <nutellazwerg!~nutellazw@p5087EBA2.dip0.t-ipconnect.de> has joined #sailfishos | 06:12 | |
*** f3an0r <f3an0r!~f3an0r@217.118.95.102> has joined #sailfishos | 06:15 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 06:16 | |
*** kbroulik <kbroulik!~quassel@kde/broulik> has joined #sailfishos | 06:18 | |
*** dafox <dafox!~dafox@188.207.82.207> has joined #sailfishos | 06:26 | |
*** lainwir3d <lainwir3d!~lainwir3d@46.218.109.88> has joined #sailfishos | 06:27 | |
*** lainwir3d <lainwir3d!~lainwir3d@46.218.109.88> has quit IRC (Changing host) | 06:27 | |
*** lainwir3d <lainwir3d!~lainwir3d@fedora/SePhIr0tH> has joined #sailfishos | 06:27 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 265 seconds) | 06:29 | |
*** roboro <roboro!~ro@dsl-217-155-19-70.zen.co.uk> has joined #sailfishos | 06:31 | |
*** jmlich <jmlich!jmlich@nat/redhat/x-zenuwilymmdaehcj> has joined #sailfishos | 06:39 | |
*** tanty_off is now known as tanty | 06:40 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos | 06:41 | |
*** mrjoe <mrjoe!~Adium@host250-58-static.33-85-b.business.telecomitalia.it> has joined #sailfishos | 06:43 | |
*** filippz <filippz!~filippz@93-143-230-190.adsl.net.t-com.hr> has quit IRC (Ping timeout: 250 seconds) | 06:43 | |
*** filippz <filippz!~filippz@93-143-230-190.adsl.net.t-com.hr> has joined #sailfishos | 06:44 | |
*** dafox <dafox!~dafox@188.207.82.207> has quit IRC (Ping timeout: 250 seconds) | 06:51 | |
*** filippz <filippz!~filippz@93-143-230-190.adsl.net.t-com.hr> has quit IRC (Remote host closed the connection) | 06:51 | |
*** gabriel9|work <gabriel9|work!~bojan@fasecuremail.com> has joined #sailfishos | 06:57 | |
*** tat <tat!~tat@37.120.83.169> has quit IRC (Read error: Connection reset by peer) | 06:59 | |
*** tat_ <tat_!~tat@37.120.83.169> has joined #sailfishos | 06:59 | |
*** tat_ <tat_!~tat@37.120.83.169> has quit IRC (Read error: Connection reset by peer) | 07:00 | |
*** tat <tat!~tat@37.120.83.169> has joined #sailfishos | 07:01 | |
*** mrjoe <mrjoe!~Adium@host250-58-static.33-85-b.business.telecomitalia.it> has quit IRC (Quit: Leaving.) | 07:03 | |
*** tat <tat!~tat@37.120.83.169> has quit IRC (Read error: Connection reset by peer) | 07:03 | |
*** tat <tat!~tat@37.120.83.169> has joined #sailfishos | 07:04 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has quit IRC (Ping timeout: 272 seconds) | 07:04 | |
*** qqK <qqK!~qqK@h-72-191.a163.priv.bahnhof.se> has joined #sailfishos | 07:06 | |
*** nib_ <nib_!~nib@109.110.67.213> has quit IRC (Ping timeout: 256 seconds) | 07:06 | |
*** tbr <tbr!dm8tbr@cl-790.ham-01.de.sixxs.net> has joined #sailfishos | 07:07 | |
*** gexc <gexc!~gexc@61.164.42.143> has joined #sailfishos | 07:07 | |
*** inte_awa` is now known as _inte_ | 07:09 | |
*** _inte_ is now known as inte__ | 07:10 | |
*** inte__ is now known as inte | 07:10 | |
*** sletta <sletta!~sletta@74.170.102.62.customer.cdi.no> has joined #sailfishos | 07:13 | |
*** twixx <twixx!~Wenzel@hq.aura-optik.de> has joined #sailfishos | 07:18 | |
*** mozggg <mozggg!~igor@mail.sibatom.com> has quit IRC (Remote host closed the connection) | 07:19 | |
*** mozggg <mozggg!~igor@mail.sibatom.com> has joined #sailfishos | 07:20 | |
*** nib_ <nib_!~nib@178.219.251.78> has joined #sailfishos | 07:22 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has joined #sailfishos | 07:25 | |
*** aboyer <aboyer!~quassel@130.188.198.128> has joined #sailfishos | 07:31 | |
*** aboyer <aboyer!~quassel@130.188.198.128> has quit IRC (Changing host) | 07:31 | |
*** aboyer <aboyer!~quassel@unaffiliated/aboyer> has joined #sailfishos | 07:31 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has quit IRC (Read error: Connection reset by peer) | 07:38 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has joined #sailfishos | 07:38 | |
*** spiiroin <spiiroin!~spiiroin@87-95-182-24.bb.dnainternet.fi> has quit IRC (Ping timeout: 265 seconds) | 07:44 | |
*** Aoyagi_trashtop <Aoyagi_trashtop!~Aoyagi@unaffiliated/aoyagi> has quit IRC (Quit: qat) | 07:47 | |
*** dirkvl <dirkvl!~dirkvl@37.143.36.100> has joined #sailfishos | 07:49 | |
*** tat <tat!~tat@37.120.83.169> has quit IRC (Remote host closed the connection) | 07:50 | |
*** Aoyagi_trashtop <Aoyagi_trashtop!~Aoyagi@unaffiliated/aoyagi> has joined #sailfishos | 07:50 | |
*** BlueMagma <BlueMagma!56dd8a72@gateway/web/freenode/ip.86.221.138.114> has joined #sailfishos | 07:51 | |
BlueMagma | Hi, I'm here to report a problem with Sailfish IDE on windows | 07:52 |
*** jjanvier <jjanvier!~jjanvier@5-49-102-58.hfc.dyn.abo.bbox.fr> has joined #sailfishos | 07:52 | |
BlueMagma | It seems that the latest version of the IDE are really slow on windows | 07:52 |
BlueMagma | but I don't mean slow like it take a few seconds | 07:52 |
BlueMagma | I mean slow like it can freeze for minuts while doing a random click in the view | 07:53 |
BlueMagma | I tested the update on two different computer | 07:54 |
BlueMagma | and met the same issue on both | 07:54 |
BlueMagma | these two computer were using a previous release which was working perfectly fine | 07:54 |
*** qwazix <qwazix!~qwazix@Maemo/community/council/qwazix> has quit IRC (Ping timeout: 258 seconds) | 07:58 | |
*** qwazix <qwazix!~qwazix@Maemo/community/council/qwazix> has joined #sailfishos | 07:58 | |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has quit IRC (Ping timeout: 246 seconds) | 08:02 | |
Armadillo | BlueMagma: try to update Virtualbox to the latest version, this solved it for me some months ago | 08:02 |
*** spiiroin <spiiroin!~spiiroin@87-95-57-104.bb.dnainternet.fi> has joined #sailfishos | 08:03 | |
*** BlueMagma_ <BlueMagma_!253abd88@gateway/web/freenode/ip.37.58.189.136> has joined #sailfishos | 08:04 | |
BlueMagma_ | Armadillo: Ok, thank you a lot, I'll try that and come back if it doesn't work | 08:04 |
*** BlueMagma <BlueMagma!56dd8a72@gateway/web/freenode/ip.86.221.138.114> has quit IRC (Ping timeout: 246 seconds) | 08:05 | |
Armadillo | sure, if that doesn't help, there are some other things you can try to track the problem down | 08:07 |
*** wickwire_ <wickwire_!~wickwire@a81-84-184-53.cpe.netcabo.pt> has joined #sailfishos | 08:12 | |
*** wickwire__ <wickwire__!~wickwire@a85-138-91-12.cpe.netcabo.pt> has quit IRC (Ping timeout: 258 seconds) | 08:15 | |
*** bjorn <bjorn!~quassel@pdpc/supporter/active/bjorn> has joined #sailfishos | 08:16 | |
*** BearT <BearT!~norbert@p239-203.vps.tuwien.ac.at> has joined #sailfishos | 08:18 | |
*** Andy80 <Andy80!~andy80@ubuntu/member/andy80> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 08:20 | |
*** disharmonic <disharmonic!~disharmon@unaffiliated/disharmonic> has quit IRC (Quit: Leaving) | 08:22 | |
*** msava <msava!~mircea@nl112-156-14.student.uu.se> has quit IRC (Remote host closed the connection) | 08:26 | |
*** msava <msava!~mircea@nl112-156-14.student.uu.se> has joined #sailfishos | 08:26 | |
*** TheBootroo|work <TheBootroo|work!~TheBootro@191.202.6.109.rev.sfr.net> has joined #sailfishos | 08:39 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has quit IRC (Quit: Leaving.) | 08:39 | |
*** HBP_ <HBP_!~hbp@shell.uio.fi> has quit IRC (Ping timeout: 265 seconds) | 08:40 | |
*** BlueMagma_ <BlueMagma_!253abd88@gateway/web/freenode/ip.37.58.189.136> has quit IRC (Ping timeout: 246 seconds) | 08:44 | |
*** mrjoe <mrjoe!~Adium@host250-58-static.33-85-b.business.telecomitalia.it> has joined #sailfishos | 08:47 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Quit: This computer has gone to sleep) | 08:49 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 08:50 | |
*** spider-mario <spider-mario!~spidermar@ppp-seco21th2-46-193-173-128.wb.wifirst.net> has quit IRC (Read error: Connection reset by peer) | 08:54 | |
*** mrjoe <mrjoe!~Adium@host250-58-static.33-85-b.business.telecomitalia.it> has quit IRC (Quit: Leaving.) | 08:54 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 250 seconds) | 08:59 | |
*** tat <tat!~tat@port-83-236-202-28.static.qsc.de> has joined #sailfishos | 09:00 | |
*** NickLeu <NickLeu!~nickleu@175.0.174.95> has joined #sailfishos | 09:04 | |
*** flywheel <flywheel!~flywheel@77.234.184.45> has joined #sailfishos | 09:12 | |
*** lukedirtwalker <lukedirtwalker!~lukedirtw@dhclient-91-190-9-156.flashcable.ch> has joined #sailfishos | 09:12 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 09:12 | |
*** HBP_ <HBP_!~hbp@shell.uio.fi> has joined #sailfishos | 09:15 | |
*** N-Mi <N-Mi!~nicolas@calvix/staff/N-Mi> has joined #sailfishos | 09:26 | |
*** newin <newin!~newin@114.199.55.41> has joined #sailfishos | 09:58 | |
*** flywheel <flywheel!~flywheel@77.234.184.45> has quit IRC (Ping timeout: 256 seconds) | 09:59 | |
*** zGrr <zGrr!~grr@185.13.106.71> has joined #sailfishos | 10:00 | |
*** chriadam is now known as chriadam|away | 10:03 | |
*** gexc <gexc!~gexc@61.164.42.143> has quit IRC (Ping timeout: 272 seconds) | 10:18 | |
*** jjanvier <jjanvier!~jjanvier@5-49-102-58.hfc.dyn.abo.bbox.fr> has quit IRC (Read error: Connection reset by peer) | 10:18 | |
*** jjanvier <jjanvier!~jjanvier@5-49-102-58.hfc.dyn.abo.bbox.fr> has joined #sailfishos | 10:19 | |
zGrr | moin :) | 10:20 |
*** mozggg <mozggg!~igor@mail.sibatom.com> has quit IRC (Quit: Leaving.) | 10:27 | |
*** mgrover <mgrover!02678c7b@gateway/web/freenode/ip.2.103.140.123> has joined #sailfishos | 10:27 | |
Armadillo | any idea how to trigger RemorePopups on application close, for the RemorseItem there is a trigger() method which should do this, but I'm mostly using RemorsePopups which don't have a trigger method | 10:29 |
Armadillo | the goal is to finish all running remorse jobs on application shutdown or when the application is sent to background | 10:29 |
coderus | Armadillo: i always thought remorse actions are executed immediately when destroying. Did you checked it before? | 10:31 |
Armadillo | they don't | 10:31 |
coderus | https://github.com/CODeRUS/better-sailfishos-qmltypes/blob/Sdk1502/Sailfish/Silica/RemorsePopup.qml#L189 | 10:32 |
Armadillo | hm | 10:32 |
Armadillo | I just checked with the real device | 10:33 |
coderus | it should work | 10:33 |
Armadillo | it seems there's a different behaviour between the device and the emulator | 10:33 |
coderus | can be, yes | 10:33 |
Armadillo | although I can not check the emulator currently because of problems with virtualbox | 10:33 |
Armadillo | I'll double check that this evening, thanks for the hint ;) | 10:34 |
coderus | create test application and we can test it | 10:34 |
*** GenesisAquarion <GenesisAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 10:34 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 246 seconds) | 10:36 | |
*** HBP_ is now known as HBP | 10:38 | |
mgrover | So I've implemented the QAbstractListModel, I have a class that needs to populate the data, but I can't pass the model in due to restrictions on the copy constructor. After trying to pass a pointer in for hours, am about to give up, how do I do it :( | 10:42 |
coderus | mgrover: what? explain it properly and show your code. | 10:43 |
mgrover | give me a sec, its time to stick it in a repo | 10:44 |
*** chriadam|away <chriadam|away!~cadams@pa49-197-169-186.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 240 seconds) | 10:47 | |
*** chriadam <chriadam!~cadams@pa49-197-32-238.pa.qld.optusnet.com.au> has joined #sailfishos | 10:48 | |
*** GenesisAquarion <GenesisAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 244 seconds) | 10:52 | |
mgrover | so I have a class that gets my data called networkrequest, which is here https://github.com/m4r0v3r/qtNationalRail/blob/master/src/NetworkRequest.cpp | 10:52 |
mgrover | this is to populate a model called servicemodel created here https://github.com/m4r0v3r/qtNationalRail/blob/master/src/ServiceModel.cpp | 10:52 |
mgrover | how do I make the two interact since the model is created at the same level as the request, here https://github.com/m4r0v3r/qtNationalRail/blob/master/src/NationalRail.cpp | 10:53 |
coderus | first i see your request constructor is wrong | 10:55 |
mgrover | i am also not familiar with c++ | 10:56 |
coderus | next i'll suggest you to use signal-slot for populating model | 10:56 |
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has joined #sailfishos | 10:56 | |
mgrover | the way I understand it, when data is returned from the webservice, I send out a signal to the model? | 10:57 |
*** jmlich <jmlich!jmlich@nat/redhat/x-zenuwilymmdaehcj> has quit IRC (Quit: Leaving) | 10:57 | |
coderus | you emittin signal | 10:57 |
coderus | and connect this signal to populate slot of your model | 10:58 |
coderus | do it inside your rail | 10:58 |
mgrover | do you mena my NationalRail.cpp? | 10:59 |
coderus | yes | 10:59 |
coderus | the place where you creating objects | 10:59 |
mgrover | okay so a signal inside networkrequest, a slot inside model, and the connect inside nationalrail | 11:01 |
coderus | yes. should work better | 11:02 |
coderus | and you missed return in main | 11:04 |
mgrover | that would take me onto my next issue, the population of a qml listview of somesort. I assume as long as I use dataChanged() in the model the xml view should reload the model itself | 11:04 |
mgrover | yeah the main still isn't done, none of it is really | 11:04 |
coderus | btw, why you not using xmlpatterns for parsing xml nodes easily? | 11:07 |
mgrover | because I didnt know it existed? | 11:07 |
mgrover | is it faster than QDomDocument? | 11:08 |
mgrover | I assume itd be more precise as well | 11:08 |
*** GenesisAquarion <GenesisAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 11:08 | |
*** Behold <Behold!~behold@unaffiliated/beholdmyglory> has joined #sailfishos | 11:08 | |
coderus | its most faster way afaik | 11:08 |
*** tat <tat!~tat@port-83-236-202-28.static.qsc.de> has quit IRC (Remote host closed the connection) | 11:10 | |
mgrover | thanks for the help, not just here but your mitakuuluu code was very useful when attempting to create an app | 11:10 |
*** TheBootroo|work <TheBootroo|work!~TheBootro@191.202.6.109.rev.sfr.net> has quit IRC (Remote host closed the connection) | 11:12 | |
*** TheBootroo|work <TheBootroo|work!~TheBootro@191.202.6.109.rev.sfr.net> has joined #sailfishos | 11:13 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has joined #sailfishos | 11:14 | |
Armadillo | coderus: I just double checked it, on sending to background the remorse actions are finished after the timer finished, but on application close they are killed | 11:19 |
*** leinir_ is now known as leinir | 11:21 | |
*** goroboro <goroboro!~ro@dsl-217-155-19-70.zen.co.uk> has joined #sailfishos | 11:29 | |
*** leinir_ <leinir_!~leinir@amarok/usability/leinir> has joined #sailfishos | 11:30 | |
*** Jettis_ <Jettis_!~h0h0@a88-115-41-146.elisa-laajakaista.fi> has joined #sailfishos | 11:30 | |
*** gabriel9 <gabriel9!~bojan@fasecuremail.com> has joined #sailfishos | 11:30 | |
*** zGrrr <zGrrr!~grr@185.13.106.71> has joined #sailfishos | 11:31 | |
*** PaulePan1er <PaulePan1er!~paul@mail.gw90.de> has joined #sailfishos | 11:31 | |
*** HBP_ <HBP_!~hbp@shell.uio.fi> has joined #sailfishos | 11:35 | |
*** HBP <HBP!~hbp@shell.uio.fi> has quit IRC (Ping timeout: 265 seconds) | 11:36 | |
*** __pv <__pv!~pv@91-159-158-130.elisa-laajakaista.fi> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** PaulePanter <PaulePanter!~paul@mail.gw90.de> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** Jettis <Jettis!~h0h0@a88-115-41-146.elisa-laajakaista.fi> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** roboro <roboro!~ro@dsl-217-155-19-70.zen.co.uk> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** zGrr <zGrr!~grr@185.13.106.71> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** gabriel9|work <gabriel9|work!~bojan@fasecuremail.com> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** Yaniel <Yaniel!yaniel@unaffiliated/yaniel> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** leinir <leinir!~leinir@amarok/usability/leinir> has quit IRC (Ping timeout: 250 seconds) | 11:36 | |
*** Yaniel <Yaniel!yaniel@unaffiliated/yaniel> has joined #sailfishos | 11:37 | |
mgrover | HOYL SHIT IT WORKSSS | 11:37 |
mgrover | excuse my language | 11:38 |
Stskeeps | what works | 11:38 |
*** __pv <__pv!~pv@91-159-158-130.elisa-laajakaista.fi> has joined #sailfishos | 11:38 | |
mgrover | nothing crazy, just signals and slots | 11:49 |
*** leinir_ is now known as leinir | 11:49 | |
mgrover | maybe am just surprised at how easy it was | 11:50 |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos | 11:53 | |
coderus | Armadillo: means on application exit remorse action not executed? | 11:53 |
Armadillo | yes | 11:54 |
Armadillo | I'm currently trying to bypass that by sending trigger() on exit, but no results till now | 11:55 |
coderus | do not allow to close window when remorse is active then :) | 11:57 |
*** Sailor-2gether <Sailor-2gether!~Sailor@146.0.2.254> has joined #sailfishos | 11:58 | |
Armadillo | haha, a very pragmatic solution :D | 12:00 |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has quit IRC (Ping timeout: 256 seconds) | 12:01 | |
*** leinir <leinir!~leinir@amarok/usability/leinir> has quit IRC (Quit: Konversation terminated!) | 12:16 | |
*** leinir <leinir!~leinir@amarok/usability/leinir> has joined #sailfishos | 12:22 | |
*** Andy80 <Andy80!~andy80@ubuntu/member/andy80> has joined #sailfishos | 12:41 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has quit IRC (Quit: Leaving.) | 12:46 | |
*** jmlich <jmlich!~jmlich@2001:67c:1220:8b2:d4:49f7:2c9d:5e2c> has joined #sailfishos | 12:46 | |
*** GenesisAquarion <GenesisAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 244 seconds) | 12:52 | |
*** Sailor-2gether <Sailor-2gether!~Sailor@146.0.2.254> has quit IRC (Remote host closed the connection) | 13:01 | |
*** gormio <gormio!akikoskine@89.166.55.158> has quit IRC (Ping timeout: 264 seconds) | 13:04 | |
*** GenesisAquarion <GenesisAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 13:05 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has joined #sailfishos | 13:12 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has quit IRC (Client Quit) | 13:13 | |
*** hge <hge!~hge@2001:2060:53:beef:14e3:722d:99fe:dff0> has quit IRC (Ping timeout: 265 seconds) | 13:14 | |
*** hge <hge!~hge@2001:2060:53:beef:7914:1369:48ac:97c> has joined #sailfishos | 13:15 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has joined #sailfishos | 13:17 | |
*** zhxt_ <zhxt_!~zhxt@124.202.190.65> has joined #sailfishos | 13:18 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 245 seconds) | 13:25 | |
*** mzanetti is now known as mzanetti|otp | 13:27 | |
*** vakkov <vakkov!~vakkov@134.83.207.19> has quit IRC (Ping timeout: 276 seconds) | 13:29 | |
*** martyone_ <martyone_!~martyone@193.179.215.103> has quit IRC (Ping timeout: 272 seconds) | 13:32 | |
*** SfietKonstantinW <SfietKonstantinW!c2623324@gateway/web/cgi-irc/kiwiirc.com/ip.194.98.51.36> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) | 13:40 | |
*** krobelus <krobelus!~u@91-115-70-141.adsl.highway.telekom.at> has joined #sailfishos | 13:54 | |
*** mzanetti|otp is now known as mzanetti | 13:55 | |
*** krobelus_ <krobelus_!~u@193-81-126-12.adsl.highway.telekom.at> has quit IRC (Ping timeout: 272 seconds) | 13:57 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos | 13:57 | |
*** f3an0r <f3an0r!~f3an0r@217.118.95.102> has quit IRC (Quit: Konversation terminated!) | 14:11 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 252 seconds) | 14:11 | |
*** cloanta_ <cloanta_!~sailfish@2a02:a03f:1425:fe00:5256:a8ff:fe01:18f9> has quit IRC (Ping timeout: 252 seconds) | 14:14 | |
*** GenesisAquarion is now known as SolarAquarion | 14:15 | |
*** Sail0r <Sail0r!~Sailor@146.0.2.253> has quit IRC (Ping timeout: 256 seconds) | 14:21 | |
*** qqK <qqK!~qqK@h-72-191.a163.priv.bahnhof.se> has quit IRC (Ping timeout: 272 seconds) | 14:22 | |
*** mgrover <mgrover!02678c7b@gateway/web/freenode/ip.2.103.140.123> has quit IRC (Quit: Page closed) | 14:30 | |
*** lukedirtwalker <lukedirtwalker!~lukedirtw@dhclient-91-190-9-156.flashcable.ch> has quit IRC (Quit: Konversation terminated!) | 14:32 | |
*** spacefrogg <spacefrogg!~spacefrog@tremendous.meterriblecrew.net> has joined #sailfishos | 14:32 | |
*** msava <msava!~mircea@nl112-156-14.student.uu.se> has quit IRC (Remote host closed the connection) | 14:38 | |
*** msava <msava!~mircea@nl112-156-14.student.uu.se> has joined #sailfishos | 14:39 | |
*** itbaron <itbaron!~kvirc@a91-155-238-87.elisa-laajakaista.fi> has joined #sailfishos | 14:43 | |
*** msava <msava!~mircea@nl112-156-14.student.uu.se> has quit IRC (Read error: Connection reset by peer) | 14:44 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos | 14:47 | |
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has joined #sailfishos | 14:50 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has quit IRC (Ping timeout: 256 seconds) | 14:53 | |
*** CarlosMazieri <CarlosMazieri!~b35201@gate-tx3.freescale.com> has joined #sailfishos | 14:55 | |
*** jjanvier_ <jjanvier_!~jjanvier@5-49-102-58.hfc.dyn.abo.bbox.fr> has joined #sailfishos | 14:56 | |
*** jjanvier <jjanvier!~jjanvier@5-49-102-58.hfc.dyn.abo.bbox.fr> has quit IRC (Ping timeout: 252 seconds) | 14:57 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has joined #sailfishos | 15:03 | |
*** SolarAquarion <SolarAquarion!~solaraqua@unaffiliated/solaraquarion> has joined #sailfishos | 15:04 | |
*** PaulePan1er is now known as PaulePanter | 15:08 | |
*** Sail0r <Sail0r!~Sailor@2a01:4f8:190:3484:1::ea77> has joined #sailfishos | 15:16 | |
*** jmlich <jmlich!~jmlich@2001:67c:1220:8b2:d4:49f7:2c9d:5e2c> has quit IRC (Remote host closed the connection) | 15:18 | |
*** zhxt_ <zhxt_!~zhxt@124.202.190.65> has quit IRC (Ping timeout: 264 seconds) | 15:20 | |
*** zGrrr <zGrrr!~grr@185.13.106.71> has quit IRC (Quit: Leaving) | 15:20 | |
*** talonz <talonz!~talonz@2001:44b8:5109:cb00:feaa:14ff:fe02:3e0c> has quit IRC (Ping timeout: 252 seconds) | 15:20 | |
*** zhxt_ <zhxt_!~zhxt@125.39.68.40> has joined #sailfishos | 15:25 | |
*** nib_ <nib_!~nib@178.219.251.78> has quit IRC (Ping timeout: 240 seconds) | 15:38 | |
*** talonz <talonz!~talonz@2001:44b8:5109:cb01:feaa:14ff:fe02:3e0c> has joined #sailfishos | 15:41 | |
*** twixx <twixx!~Wenzel@hq.aura-optik.de> has quit IRC (Quit: Leaving.) | 15:45 | |
*** gabriel9 <gabriel9!~bojan@fasecuremail.com> has quit IRC (Quit: Konversation terminated!) | 15:57 | |
*** newin <newin!~newin@114.199.55.41> has quit IRC (Ping timeout: 244 seconds) | 16:00 | |
*** sletta <sletta!~sletta@74.170.102.62.customer.cdi.no> has quit IRC (Quit: sletta) | 16:01 | |
*** jua_ <jua_!~orange@xdsl-84-44-157-168.netcologne.de> has joined #sailfishos | 16:04 | |
*** dafox <dafox!~dafox@188.207.85.33> has joined #sailfishos | 16:06 | |
*** newin <newin!~newin@114.199.55.41> has joined #sailfishos | 16:08 | |
*** electrolux <electrolux!~Adium@62-78-217-43.bb.dnainternet.fi> has quit IRC (Quit: Leaving.) | 16:24 | |
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-157-219.as13285.net> has joined #sailfishos | 16:25 | |
*** NickLeu <NickLeu!~nickleu@175.0.174.95> has quit IRC (Quit: WeeChat 1.2) | 16:34 | |
*** lainwir3d <lainwir3d!~lainwir3d@fedora/SePhIr0tH> has quit IRC (Ping timeout: 245 seconds) | 16:34 | |
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has quit IRC (Quit: No Ping reply in 180 seconds.) | 16:35 | |
*** SpeedEvil <SpeedEvil!~quassel@tor/regular/SpeedEvil> has joined #sailfishos | 16:36 | |
*** Dodo <Dodo!~dorianvog@178.197.239.109> has joined #sailfishos | 16:38 | |
*** Shanita <Shanita!~John@x4d01db10.dyn.telefonica.de> has quit IRC () | 16:39 | |
*** Kaskuka <Kaskuka!~John@x4d01db10.dyn.telefonica.de> has joined #sailfishos | 16:40 | |
*** IgorSK <IgorSK!~IgorSK@94.159.3.114> has joined #sailfishos | 16:43 | |
*** nib_ <nib_!~nib@109.110.67.213> has joined #sailfishos | 16:48 | |
*** N-Mi <N-Mi!~nicolas@calvix/staff/N-Mi> has quit IRC (Ping timeout: 256 seconds) | 16:49 | |
*** martyone_ <martyone_!~martyone@ip-4-23.hlucinnet.cz> has joined #sailfishos | 16:50 | |
*** dafox <dafox!~dafox@188.207.85.33> has quit IRC (Ping timeout: 265 seconds) | 16:51 | |
*** jjanvier_ <jjanvier_!~jjanvier@5-49-102-58.hfc.dyn.abo.bbox.fr> has quit IRC (Quit: Konversation terminated!) | 17:02 | |
*** qqK <qqK!~qqK@h-72-191.a163.priv.bahnhof.se> has joined #sailfishos | 17:06 | |
*** plfiorini <plfiorini!~plfiorini@net-188-152-158-114.cust.vodafonedsl.it> has joined #sailfishos | 17:10 | |
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Read error: Connection reset by peer) | 17:15 | |
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos | 17:15 | |
*** spider-mario <spider-mario!~spidermar@ppp-seco21th2-46-193-173-128.wb.wifirst.net> has joined #sailfishos | 17:17 | |
*** dirkvl_ <dirkvl_!~dirkvl@37.143.36.100> has joined #sailfishos | 17:36 | |
*** dirkvl <dirkvl!~dirkvl@37.143.36.100> has quit IRC (Ping timeout: 244 seconds) | 17:38 | |
*** aboyer <aboyer!~quassel@unaffiliated/aboyer> has quit IRC (Ping timeout: 264 seconds) | 17:45 | |
*** kbroulik <kbroulik!~quassel@kde/broulik> has quit IRC (Ping timeout: 245 seconds) | 17:52 | |
*** IgorSK <IgorSK!~IgorSK@94.159.3.114> has quit IRC (Remote host closed the connection) | 17:52 | |
*** mgrover <mgrover!02678c7b@gateway/web/freenode/ip.2.103.140.123> has joined #sailfishos | 17:59 | |
mgrover | am using a qml list model to display 2500 strings, exactly how the searchpage in the component gallery does. if I move to a c++ model will performance improve? since when I load the page it takes a few moments to load | 18:00 |
*** sletta <sletta!~sletta@74.170.102.62.customer.cdi.no> has joined #sailfishos | 18:02 | |
*** BearT <BearT!~norbert@p239-203.vps.tuwien.ac.at> has quit IRC (Ping timeout: 246 seconds) | 18:02 | |
coderus | mgrover: performance for what operation? for loading no, not much. | 18:03 |
mgrover | yes loading | 18:03 |
coderus | if you doing search you must do it with c++ abstract + filtermodel | 18:04 |
mgrover | well the search works well, only a tiny amount of "lag" but its the issue when I load the page in the first place, it takes 3 seconds to load the page which feels like too long | 18:06 |
*** inte is now known as inte_away | 18:06 | |
*** ortylp <ortylp!~ortylp@HSI-KBW-078-043-223-128.hsi4.kabel-badenwuerttemberg.de> has joined #sailfishos | 18:07 | |
coderus | what is the source of data? | 18:14 |
mal- | coderus: is there some reason not to use the qml search system? | 18:15 |
*** sletta <sletta!~sletta@74.170.102.62.customer.cdi.no> has quit IRC (Quit: sletta) | 18:17 | |
coderus | mal-: qml have no "search system" | 18:18 |
*** sletta <sletta!~sletta@74.170.102.62.customer.cdi.no> has joined #sailfishos | 18:20 | |
mgrover | javascript property | 18:20 |
mgrover | javascript array even | 18:21 |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has joined #sailfishos | 18:21 | |
coderus | using for loop for 2500 items to filter it? cool idea, isn't it? :D | 18:21 |
mal- | coderus: the way it's used in the search example in the components examples program | 18:22 |
mgrover | the filtering doesnt lag | 18:22 |
mgrover | its the loading | 18:22 |
coderus | mal-: it's example for peoples not using C++ or don't know how to use it properly, and it qml example at all | 18:22 |
coderus | mgrover: where you get array from? | 18:23 |
mgrover | hardcoded | 18:23 |
coderus | can you show code? | 18:23 |
mgrover | its exactly the same as the component example | 18:23 |
sjtoik | i when the code gets rough, who you gonna call? call return | 18:23 |
coderus | mgrover: you might love WorkerScript helper for javascript models | 18:24 |
mgrover | i see, but a c++ model would be the most effecient way to do it? and best practice? | 18:24 |
coderus | mgrover: you need to test it yourself | 18:26 |
mgrover | right, time to create it then | 18:26 |
coderus | actually for js static model you can use qml only, but i don't know how you parsing/assiging it | 18:26 |
mgrover | property variant | 18:27 |
coderus | mgrover: can't show code? | 18:27 |
coderus | mgrover: and do not use property variant | 18:27 |
coderus | variant is QVariant, use property var, it's js var | 18:28 |
*** piggz_ <piggz_!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos | 18:28 | |
mgrover | ill commit soon | 18:29 |
*** piggz <piggz!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 276 seconds) | 18:29 | |
*** sletta <sletta!~sletta@74.170.102.62.customer.cdi.no> has quit IRC (Quit: sletta) | 18:37 | |
mgrover | code: https://github.com/m4r0v3r/qtNationalRail/blob/master/qml/pages/LocationSearch.qml | 18:41 |
*** spiiroin_ <spiiroin_!~spiiroin@87-95-86-236.bb.dnainternet.fi> has joined #sailfishos | 18:44 | |
*** piggz_ <piggz_!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 265 seconds) | 18:46 | |
*** spiiroin <spiiroin!~spiiroin@87-95-57-104.bb.dnainternet.fi> has quit IRC (Ping timeout: 252 seconds) | 18:46 | |
*** ortylp <ortylp!~ortylp@HSI-KBW-078-043-223-128.hsi4.kabel-badenwuerttemberg.de> has quit IRC (Quit: Leaving.) | 18:49 | |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has joined #sailfishos | 18:51 | |
*** piggz_ <piggz_!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos | 18:52 | |
*** newin <newin!~newin@114.199.55.41> has quit IRC (Remote host closed the connection) | 18:54 | |
mgrover | hmmm this string wont dispaly | 19:03 |
mgrover | property variant | 19:03 |
mgrover | not that | 19:03 |
mgrover | "Abergele & Pensarn - AGL", | 19:03 |
*** Sail0r <Sail0r!~Sailor@2a01:4f8:190:3484:1::ea77> has quit IRC (Remote host closed the connection) | 19:04 | |
mgrover | properly | 19:04 |
*** AlmAck <AlmAck!~AlmAck@191.68.198.178.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos | 19:06 | |
*** Sequenced <Sequenced!~Sequenced@91-157-184-159.elisa-laajakaista.fi> has joined #sailfishos | 19:07 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Quit: This computer has gone to sleep) | 19:09 | |
*** martyone__ <martyone__!~martyone@ip-4-23.hlucinnet.cz> has joined #sailfishos | 19:10 | |
*** martyone_ <martyone_!~martyone@ip-4-23.hlucinnet.cz> has quit IRC (Ping timeout: 265 seconds) | 19:11 | |
*** dafox <dafox!~dafox@ip565ed369.direct-adsl.nl> has joined #sailfishos | 19:12 | |
*** spiiroin_ <spiiroin_!~spiiroin@87-95-86-236.bb.dnainternet.fi> has quit IRC (Ping timeout: 265 seconds) | 19:13 | |
coderus | mgrover: 2-3 seconds takes loading QML | 19:15 |
coderus | it can't be faster | 19:16 |
*** dv__ <dv__!~quassel@chello062178118086.5.14.vie.surfer.at> has quit IRC (Read error: Connection reset by peer) | 19:19 | |
mgrover | is there no way to make it faster? | 19:20 |
*** dv__ <dv__!~quassel@chello062178118086.5.14.vie.surfer.at> has joined #sailfishos | 19:21 | |
mgrover | c++ time i guess | 19:21 |
mgrover | qml is usually instant though? or do i need to put it in a dialog | 19:23 |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has quit IRC (Ping timeout: 246 seconds) | 19:23 | |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has joined #sailfishos | 19:26 | |
*** spiiroin_ <spiiroin_!~spiiroin@87-95-105-53.bb.dnainternet.fi> has joined #sailfishos | 19:26 | |
*** piggz_ <piggz_!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Quit: Konversation terminated!) | 19:27 | |
*** piggz_ <piggz_!~piggz@host-80-43-93-242.as13285.net> has joined #sailfishos | 19:28 | |
*** plfiorini <plfiorini!~plfiorini@net-188-152-158-114.cust.vodafonedsl.it> has quit IRC (Ping timeout: 272 seconds) | 19:32 | |
*** pako <pako!2edfebb0@gateway/web/freenode/ip.46.223.235.176> has joined #sailfishos | 19:35 | |
*** martyone__ <martyone__!~martyone@ip-4-23.hlucinnet.cz> has quit IRC (Ping timeout: 258 seconds) | 19:37 | |
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 258 seconds) | 19:40 | |
r0kk3rz | 'instant' | 19:40 |
r0kk3rz | its mostly a v8 javascript engine, its not magic | 19:41 |
mgrover | ill make a video soon | 19:41 |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has quit IRC (Read error: Connection reset by peer) | 19:41 | |
mgrover | its not fluid | 19:41 |
r0kk3rz | if its not fluid that usually means you're blocking the event loop somewhere | 19:41 |
*** itbaron <itbaron!~kvirc@a91-155-238-87.elisa-laajakaista.fi> has quit IRC (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) | 19:41 | |
mgrover | would loading a model with 2500 strings do that? | 19:42 |
Yaniel | may I laugh | 19:42 |
mgrover | yes? | 19:43 |
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos | 19:44 | |
r0kk3rz | 2500 strings from where? | 19:44 |
mgrover | i could probably not display the list, and only display the search results | 19:44 |
r0kk3rz | the code? remote server? | 19:44 |
mgrover | hardcoded | 19:44 |
mgrover | property vart | 19:45 |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has quit IRC (Ping timeout: 246 seconds) | 19:45 | |
*** spliffy <spliffy!~spliffy@pd956a598.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 256 seconds) | 19:45 | |
r0kk3rz | mgrover: http://doc.qt.io/qt-5/qml-qtqml-models-listmodel.html | 19:45 |
r0kk3rz | look at the threaded list model with worker script example | 19:46 |
mgrover | in the virtual machine it works fluidly, on the Jolla I select on the pulley menu, 2-3 seconds later it loads, and on the Nexus 5 its a 1-2sec and then load | 19:46 |
r0kk3rz | means you can load your list off the main thread | 19:46 |
mgrover | ah perfect | 19:47 |
coderus | mgrover: https://github.com/CODeRUS/model-test | 19:49 |
r0kk3rz | thats if you're adverse to cpp that is | 19:49 |
r0kk3rz | which you shouldnt be | 19:49 |
coderus | r0kk3rz: stop answering our conversation :) | 19:50 |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has joined #sailfishos | 19:50 | |
mgrover | am not happily code in whatever, just curious whats the best way to do it | 19:50 |
coderus | mgrover: cpp way works with no delay and proper filtering, etc. | 19:50 |
mgrover | ill give it a shot cheers | 19:51 |
mgrover | so c++ is faster than qml in this regard | 19:52 |
*** spliffy <spliffy!~spliffy@pd956a598.dip0.t-ipconnect.de> has joined #sailfishos | 19:52 | |
r0kk3rz | coderus: if you want to have a private conversation, its best to have it privately | 19:52 |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 19:54 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 19:54 | |
*** BearT <BearT!~norbert@chello084112158132.1.11.vie.surfer.at> has quit IRC (Ping timeout: 246 seconds) | 19:54 | |
coderus | r0kk3rz: i mean mgrover is awaiting an answer :) | 19:54 |
coderus | and your solution is just to show ui before load model, still same 2-3 seconds are needed to populate model | 19:55 |
coderus | mgrover: c++ is always faster for backend | 19:55 |
coderus | while you not trying to move qml components from cpp side :) | 19:55 |
mgrover | well i think technically both still work if you load every 100 entries | 19:56 |
coderus | mgrover: what you mean | 19:56 |
coderus | ? | 19:56 |
mgrover | for the qml only code, if you load the UI and say 100 entries | 19:57 |
mgrover | and then keep loading every set of interval | 19:57 |
mgrover | more than 100 though since that would take 25secs for all of it | 19:57 |
coderus | :D | 19:57 |
coderus | just use cpp man | 19:57 |
mgrover | dont worry I plan to lol | 19:58 |
*** lukedirtwalker <lukedirtwalker!~lukedirtw@dhclient-91-190-9-156.flashcable.ch> has joined #sailfishos | 20:00 | |
lukedirtwalker | mgrover: why don't you use sqlite database | 20:00 |
lukedirtwalker | I do that in QTimetable application | 20:01 |
mgrover | laziness? | 20:01 |
mgrover | i was planning to use one to store users favourite stations | 20:02 |
lukedirtwalker | You can put in the same, just use a flag | 20:02 |
mgrover | hmmm hadn't thought of that | 20:03 |
lukedirtwalker | then order results by flag | 20:03 |
mgrover | well the favourites page would only show favourites and search would be neutral | 20:03 |
mgrover | the sqlite is a very good idea :D | 20:05 |
lukedirtwalker | mgrover: checkout QTimetable you can search very fast for station, and it has 25000 entries ;) | 20:06 |
*** pako <pako!2edfebb0@gateway/web/freenode/ip.46.223.235.176> has quit IRC (Quit: Page closed) | 20:07 | |
mgrover | hmmm am very tempted to simply "borrow" your UI :P | 20:07 |
*** dirkvl_ <dirkvl_!~dirkvl@37.143.36.100> has quit IRC (Ping timeout: 258 seconds) | 20:08 | |
lukedirtwalker | feel free, for the sqlite you could even split at "-" then you can search for both | 20:09 |
*** mrjoe <mrjoe!~Adium@host250-58-static.33-85-b.business.telecomitalia.it> has joined #sailfishos | 20:09 | |
mgrover | well i required the seocn dhalf | 20:11 |
Dodo | but why is sqlite so much more efficient than reaching a in simple array ? | 20:11 |
mgrover | i was going to still use cpp and supply data from sqlite | 20:11 |
r0kk3rz | Dodo: because database engine | 20:11 |
Dodo | r0kk3rz: ya ok, it's made for this, but I was just wondering is there's a major trick used to be so much faster. Another stuff to read about :) | 20:15 |
r0kk3rz | Dodo: a basic trick is a sorted hashtable of the results | 20:15 |
r0kk3rz | takes a bit of pre-processing, but makes lookup super quick | 20:15 |
Dodo | hmmm ok, thanks :) | 20:18 |
mgrover | lukedirtwalker: is QTimetable on github? | 20:19 |
lukedirtwalker | mgrover: no I will have to open source it some time. currently it's a private bitbucket repo | 20:20 |
mgrover | ah fair enough, still nice ui design :) | 20:20 |
lukedirtwalker | mgrover: I can give you the ui for sure, the other part I have to check | 20:21 |
*** abertschi <abertschi!~abertschi@66.74.62.81.dynamic.wline.res.cust.swisscom.ch> has joined #sailfishos | 20:22 | |
*** inte_awa` <inte_awa`!~inte@p5B040D6D.dip0.t-ipconnect.de> has joined #sailfishos | 20:26 | |
mgrover | fair enough :) | 20:27 |
*** inte_awa` <inte_awa`!~inte@p5B040D6D.dip0.t-ipconnect.de> has quit IRC (Changing host) | 20:28 | |
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos | 20:28 | |
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 264 seconds) | 20:28 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 240 seconds) | 20:28 | |
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has joined #sailfishos | 20:31 | |
*** inara <inara!~inara@105.ip-167-114-152.net> has quit IRC (Ping timeout: 248 seconds) | 20:32 | |
*** inara <inara!~inara@2607:5300:100:200::160d> has joined #sailfishos | 20:34 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has joined #sailfishos | 20:35 | |
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has quit IRC (Read error: Connection reset by peer) | 20:42 | |
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has joined #sailfishos | 20:42 | |
*** fferner <fferner!~fferner@pw011.ferner-online.de> has joined #sailfishos | 20:42 | |
*** Morpog_PC <Morpog_PC!~Morpog_PC@185.8.85.171> has quit IRC (Ping timeout: 255 seconds) | 20:47 | |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has joined #sailfishos | 20:47 | |
*** tanty is now known as tanty_off | 20:48 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Ping timeout: 244 seconds) | 20:56 | |
*** mrjoe <mrjoe!~Adium@host250-58-static.33-85-b.business.telecomitalia.it> has quit IRC (Quit: Leaving.) | 20:57 | |
*** Dodo <Dodo!~dorianvog@178.197.239.109> has quit IRC (Ping timeout: 265 seconds) | 21:00 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 21:01 | |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has quit IRC (Quit: test) | 21:03 | |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has joined #sailfishos | 21:05 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-ouipjijuryqrrhmn> has quit IRC (Ping timeout: 255 seconds) | 21:13 | |
*** dafox <dafox!~dafox@ip565ed369.direct-adsl.nl> has quit IRC (Ping timeout: 272 seconds) | 21:19 | |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has quit IRC (Quit: WeeChat 1.2) | 21:21 | |
*** louisdk <louisdk!~louisdk@static-5-103-130-65.seas-nve.net> has quit IRC (Ping timeout: 245 seconds) | 21:21 | |
*** nutellazwerg <nutellazwerg!~nutellazw@p5087EBA2.dip0.t-ipconnect.de> has quit IRC (Read error: Connection reset by peer) | 21:24 | |
*** hurdman_begins <hurdman_begins!~hurdman@cylon.r0b0t.fr> has left #sailfishos | 21:27 | |
mgrover | in the end, on a Jolla the c++ model took the same amount, but now am able to load the data easily from a db | 21:29 |
*** zetaz <zetaz!~arno@vaf26-h02-176-149-45-183.dsl.sta.abo.bbox.fr> has joined #sailfishos | 21:31 | |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has joined #sailfishos | 21:32 | |
*** AlmAck <AlmAck!~AlmAck@191.68.198.178.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Quit: Konversation terminated!) | 21:35 | |
*** jjanvier <jjanvier!~jjanvier@cam44-h01-31-34-34-125.dsl.sta.abo.bbox.fr> has quit IRC (Quit: Konversation terminated!) | 21:36 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-hlxeibdpgakojugn> has joined #sailfishos | 21:40 | |
*** jua_ <jua_!~orange@xdsl-84-44-157-168.netcologne.de> has quit IRC (Quit: Vision[0.9.7-H-20140108]: i've been blurred!) | 21:41 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-hlxeibdpgakojugn> has quit IRC (Ping timeout: 246 seconds) | 21:45 | |
*** piggz_ <piggz_!~piggz@host-80-43-93-242.as13285.net> has quit IRC (Ping timeout: 252 seconds) | 21:50 | |
*** Sequenced <Sequenced!~Sequenced@91-157-184-159.elisa-laajakaista.fi> has quit IRC (Quit: Leaving) | 21:51 | |
taixzo | How do I make an overlay in the ambiance style? | 21:52 |
taixzo | I want to basically dim my app and show a loading spinner until the loading has finished | 21:52 |
r0kk3rz | taixzo: you can use a loader element | 21:55 |
taixzo | How do I make the Loader wait for the python element to finish it's function? | 21:56 |
*** mhlavink <mhlavink!quassel@nat/redhat/x-fihiqjyolxgojkjo> has joined #sailfishos | 21:57 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-fihiqjyolxgojkjo> has quit IRC (Ping timeout: 264 seconds) | 22:04 | |
*** mhlavink <mhlavink!quassel@nat/redhat/x-fxviftefcoevyxlu> has joined #sailfishos | 22:04 | |
coderus | mgrover: did you checked my code? it loaded data instantly when pressing icon | 22:05 |
*** Andy80 <Andy80!~andy80@ubuntu/member/andy80> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…) | 22:05 | |
coderus | taixzo: we do not know how your code is actually works | 22:05 |
taixzo | coderus: I get that, and after a bit more research it seems that I don't actually want a Loader but rather a BusyIndicator | 22:06 |
taixzo | I think I figured it out | 22:06 |
*** mgrover <mgrover!02678c7b@gateway/web/freenode/ip.2.103.140.123> has quit IRC (Quit: Page closed) | 22:07 | |
r0kk3rz | busyindicator is just a ui element | 22:08 |
r0kk3rz | loader does the actual loading | 22:08 |
taixzo | r0kk3rz: but I'm not using it to load anything, I'm using it to wait while the Python backend does some processing | 22:09 |
*** Shinryuu <Shinryuu!~shn@85-76-163-11-nat.elisa-mobile.fi> has quit IRC (Quit: zzz) | 22:10 | |
*** tg <tg!~x@unaffiliated/tg> has quit IRC (Ping timeout: 276 seconds) | 22:10 | |
taixzo | so it seems like busyindicator is better because I don't have to override default behavior | 22:10 |
coderus | taixzo:cool :) | 22:10 |
coderus | r0kk3rz: relax | 22:10 |
coderus | python is already asynchronous stuff | 22:11 |
coderus | i mean pyotherside | 22:11 |
coderus | so you just show something dummy at the beginning, and change it to results after processing | 22:12 |
coderus | carepack: ping | 22:13 |
*** tat <tat!~tat@37.120.83.169> has joined #sailfishos | 22:13 | |
*** NC__ <NC__!~nc@109.132.162.30> has joined #sailfishos | 22:17 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Read error: Connection reset by peer) | 22:17 | |
taixzo | Excellent, I now have a loading screen instead of having to guess at when the app could recieve user input. :) | 22:17 |
*** plfiorini <plfiorini!~plfiorini@net-188-152-158-114.cust.vodafonedsl.it> has joined #sailfishos | 22:17 | |
*** r0kk3rz <r0kk3rz!~chatzilla@host-92-30-157-219.as13285.net> has quit IRC (Ping timeout: 258 seconds) | 22:20 | |
*** zetaz <zetaz!~arno@vaf26-h02-176-149-45-183.dsl.sta.abo.bbox.fr> has left #sailfishos | 22:23 | |
*** lukedirtwalker <lukedirtwalker!~lukedirtw@dhclient-91-190-9-156.flashcable.ch> has quit IRC (Quit: Konversation terminated!) | 22:25 | |
*** NC__ <NC__!~nc@109.132.162.30> has quit IRC (Ping timeout: 250 seconds) | 22:36 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 22:39 | |
*** spider-mario <spider-mario!~spidermar@ppp-seco21th2-46-193-173-128.wb.wifirst.net> has quit IRC (Ping timeout: 256 seconds) | 22:48 | |
*** fferner <fferner!~fferner@pw011.ferner-online.de> has quit IRC (Ping timeout: 256 seconds) | 22:50 | |
taixzo | Can I access the GPS location from Python? | 22:54 |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Ping timeout: 244 seconds) | 22:57 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 22:58 | |
*** spider-mario <spider-mario!~spidermar@ppp-seco21th2-46-193-173-128.wb.wifirst.net> has joined #sailfishos | 23:05 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Ping timeout: 264 seconds) | 23:17 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 23:19 | |
*** qqK <qqK!~qqK@h-72-191.a163.priv.bahnhof.se> has quit IRC (Quit: Bouncers suck.) | 23:23 | |
*** cxl000 <cxl000!~cxl000@c27-253-5-120.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving) | 23:31 | |
*** goroboro <goroboro!~ro@dsl-217-155-19-70.zen.co.uk> has quit IRC (Ping timeout: 264 seconds) | 23:34 | |
*** olafh_ <olafh_!~olafh@p4FF48A97.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 23:34 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Ping timeout: 256 seconds) | 23:37 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has joined #sailfishos | 23:39 | |
*** inte_away <inte_away!~inte@unaffiliated/-inte-/x-2391039> has joined #sailfishos | 23:46 | |
*** inte_awa` <inte_awa`!~inte@unaffiliated/-inte-/x-2391039> has quit IRC (Ping timeout: 255 seconds) | 23:49 | |
*** Nc_ <Nc_!~nc@109.132.162.30> has quit IRC (Ping timeout: 258 seconds) | 23:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!