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
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
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
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
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
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
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
; 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
. 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
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
&
.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
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
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
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
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
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
__
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
__
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
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
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 ?
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,
--
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
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
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
24 matches
Mail list logo