Re: [SailfishDevel] QSqlTableModel and running several remorses

2016-01-18 Thread François K .
tigated the proxy approach yet. I'll probably give it a try in the next few days. Cheers, -- François - Mail original - > Hi, > > I've stumbled upon something very annoying : > > I have a model that inherits from QSqlTableModel. A SilicaListView > shows t

Re: [SailfishDevel] QSqlTableModel and running several remorses

2015-12-29 Thread François K .
e the database ? I have to admit that I don't really like this approach, it sounds kinda risky to me. And it also means that I have to add extra loops for something that shouldn't require it. But I'll probably give it a try if I do

Re: [SailfishDevel] QSqlTableModel and running several remorses

2015-12-29 Thread François K .
r to debug > and Maintain. (Maybe Code is slower... But I rather have a rugged > Code then a fast one.) > > I would think in Layers: > USER > VIEW > APPDATAMODEL > DATABASE CONNECTOR > DATABSE I'm not sure that would make a difference here but I will definitely consi

Re: [SailfishDevel] QSqlTableModel and running several remorses

2015-12-28 Thread François K .
demonstrate the problem, you can get it > here and try it in your emulator : git clone > https://github.com/Frzk/dummy.git > You can use the PullDownMenu to switch between OnManualSubmit and > OnFieldChanged strategies. > > How should I deal with this ? This is a very simple case, y

[SailfishDevel] QSqlTableModel and running several remorses

2015-11-03 Thread François K .
OnManualSubmit and OnFieldChanged strategies. How should I deal with this ? This is a very simple case, yet I can't seem to find a solution :( All the best, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] UX issues

2015-10-26 Thread François K .
Thank you Petr for you advices. I'll definitely give it a try. If others have other ideas/advices/points of view, please share them ! Cheers, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-uns

[SailfishDevel] UX issues

2015-10-23 Thread François K .
ew-details-only-page... Which leads back to the first issue... As you can see I'm a bit lost. I would appreciate any help and comments regarding this. Thanks :) -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] New documentation on sailfishos.org

2015-06-04 Thread François
; have to hook it to the website. I have nothing against mer wiki, obviously :) -- François Envoyé depuis mon Jolla ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] New documentation on sailfishos.org

2015-06-04 Thread François K .
. Someone at Jolla would "just" have to review it before publishing it. For example, right now, Lucien (aka SfietKonstantin) is giving some great explanations on IRC about "How to consume data from the Internet". That's something a lot of people might be interested i

Re: [SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-20 Thread François K .
much stuff/code :) (Would you mind if I put your names in the credits (Lucien, Michael, Peter, Nils) ?) -- François - Mail original - > Hi, > > On Fri, Apr 17, 2015 at 12:09 PM, François K. > wrote: > > 1/ The first one is to build a Model that would inherit from &

Re: [SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-20 Thread François K .
.status) { print > new_cat() }; > > sorry for the bad pseudocode but i hope you get the idea.my c++ is > not good and i want to go to bed. Nah, don't apologize, thank *you* for taking some time and trying to help me :) Cheers, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-20 Thread François K .
t; Is'nt it possible to add the items in the QML-part? I don't know... I just don't know how to do this with QML :/ With a SilicaListView, I guess Qt would overwrite the fixed items as soon as I set the model property on the SilicaListView, w

Re: [SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-17 Thread François K .
ot; (which are gathered from the database entries). "Today", "Overdue", etc... can't be added as Projects in the database, it makes no sense :( > And when doing db stuff, don't forget to use transactions. It can > help speeding up stuff a lot. Thanks

[SailfishDevel] Build a Model with "fixed" items + "dynamic" ones

2015-04-17 Thread François K .
lly know what is the best solution, mostly when it comes to performance. What do you guys think ? Any hint, tip or advice to achieve my goal ? Thanks a lot :) -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Update previous page

2015-03-17 Thread François
f files. How can > I update the list's item (the file) so it's displayed as 'read' (i.e. with > an eye icon)? > > Summary: How can I pass back some properties? (Those three questions are > the same ;) ). > > Reg

[SailfishDevel] Issue with ListView.currentIndex

2015-02-06 Thread François K .
onditions have to be true to see this happen. It seems to be the only case where Qt updates the currentIndex. I can understand that Qt updates the currentIndex, but why only in this particular case ? How can I fix this ? Thanks a lot, -- François __

Re: [SailfishDevel] Wrap data in Item to get notifiable properties ?

2014-12-03 Thread François K .
in your sub-page, that is emitted > and caught in the main page in order to call model.set. This is > better than passing the model, as the sub-page and page are more > separated. Ok, I'll keep that in mind, thanks :) Thanks again... -- François __

Re: [SailfishDevel] Wrap data in Item to get notifiable properties ?

2014-12-03 Thread François K .
iss that one ? :( I think I'll try to stick with the ListModel, it'll probably solve another issue :) Best regards, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Wrap data in Item to get notifiable properties ?

2014-12-02 Thread François K .
uot;box" (x, y, width, > height, anchors etc.) Oh yes, sure ! How could I miss that one ? :( I think I'll try to stick with the ListModel, it'll probably solve another issue :) Best regards, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Wrap data in Item to get notifiable properties ?

2014-12-02 Thread François K .
27;t notifiable and thus, QML doesn't know it has been updated. To fix this, I wonder if it's OK to wrap my JS object into a QML Item. This would give me notifiables properties and would certainly allow me to get working bindings. What do you think about this ? Is it OK ?

Re: [SailfishDevel] SearchField Mystery

2014-10-22 Thread François K .
Hi Krisztian, I faced the same issues last week, and solved it this way : http://pastebin.com/8JRd3ATp (borrowed from the SearchField example provided by Jolla). I tried several things, it's the only one that seems to give the expected result. But I don't know why :/ Cheers, --

[SailfishDevel] ComboBox init

2014-09-15 Thread François KUBLER
ntIndex or currentItem, and it would update everything accordingly. Also, the MenuItem value would default to the text value if the value is not explicitly set. I'd be glad to work on this if you agree :) Thanks for your attention. My best wishes, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] ComboBox issue (initialization)

2014-09-10 Thread François K .
doc about that kind of stuff (data initialization, where to put it, how, when, why...). Does someone have any good pointer about these issues ? Thanks, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to

[SailfishDevel] ComboBox issue (initialization)

2014-09-09 Thread François K .
light the second item, set currentIndex to 1 and currentItem accordingly. } } Of course, one could still set currentIndex or currentItem, and it would update everything accordingly. I'd be glad to work on this if you agree :) Thanks for your attention. My best wishes, -- François ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org