Re: [SailfishDevel] Pagestack problems

2014-07-31 Thread Chris Walker
On Thu, 10 Jul 2014 15:38:52 +0100 Chris Walker wrote: > On Thu, 10 Jul 2014 16:14:34 +0200 (CEST) > sfietkonstan...@free.fr wrote: > > > Hello, looking a bit at your code, you are using a pagestack.push, > > meaning that you effectively adds another page to your pagestack. > > > > For adding a

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread fasza2mobile
The Model View Controller concept is a bit hard to grasp at first, but trust me once you learned it, it will be your prefered method. You will never regret learning it. As for your programming ability, it will improve by time, by setting new challenges you will learn and improve much faster, bu

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 15:45:08 +0100 Krisztian Olah wrote: > First off, you should place each class to its own heeader and source > file to reduce future compile time. When you change only one class > you won't have to recompile everything thus it's easier to find the > classes. > > You should us

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 16:14:34 +0200 (CEST) sfietkonstan...@free.fr wrote: > Hello, looking a bit at your code, you are using a pagestack.push, > meaning that you effectively adds another page to your pagestack. > > For adding a new beer, I think that the best would be using a Dialog > component.

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Krisztian Olah
rg > Envoyé: Jeudi 10 Juillet 2014 15:53:10 > Objet: Re: [SailfishDevel] Pagestack problems > > On Thu, 10 Jul 2014 19:45:28 +0600 > Andrey Kozhevnikov wrote: > > > you do not need to reload page, so there wouldn't any navigation > > problems at all :) > > I'm af

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread sfietkonstantin
org Envoyé: Jeudi 10 Juillet 2014 15:53:10 Objet: Re: [SailfishDevel] Pagestack problems On Thu, 10 Jul 2014 19:45:28 +0600 Andrey Kozhevnikov wrote: > you do not need to reload page, so there wouldn't any navigation > problems at all :) I'm afraid you have me thoroughly conf

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 19:45:28 +0600 Andrey Kozhevnikov wrote: > you do not need to reload page, so there wouldn't any navigation > problems at all :) I'm afraid you have me thoroughly confused now. Can you do me a favour and take a look at my code and let me know where I'm going wrong and what

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Andrey Kozhevnikov
you do not need to reload page, so there wouldn't any navigation problems at all :) 10.07.2014 19:23, Chris Walker пишет: On Thu, 10 Jul 2014 12:45:46 + fasza2mob...@gmail.com wrote: Hi Chris, Why don't you just update your model when the data changes? The view(s) should update automatica

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
On Thu, 10 Jul 2014 12:45:46 + fasza2mob...@gmail.com wrote: > Hi Chris, > Why don't you just update your model when the data changes? The > view(s) should update automatically. Ok, but how does that solve the page navigation problem? ___ SailfishO

Re: [SailfishDevel] Pagestack problems

2014-07-10 Thread fasza2mobile
Hi Chris, Why don't you just update your model when the data changes? The view(s) should update automatically. Kris On Thu Jul 10 2014 12:58:13 GMT+0100 (BST), Chris Walker wrote: > I'm struggling with pagestack and need some help. > > My initial page loads a database and I have an option to p

[SailfishDevel] Pagestack problems

2014-07-10 Thread Chris Walker
I'm struggling with pagestack and need some help. My initial page loads a database and I have an option to pull down to add a new item. At the bottom of the 'AddItem' page, I have a check and if all additions are correct, it steps on to the initial page again. But it isn't! I have two dots at the