Re: Help request: QController and QView

2006-03-28 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> But from an architecture point of view, IMHO, the kernel Abdelrazak> should not know at all about how the frontend is doing the Abdelrazak> action. This is a too big job to restructure it so

Re: Help request: QController and QView

2006-03-28 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> But from an architecture point of view, IMHO, the kernel Abdelrazak> should not know at all about how the frontend is doing the Abdelrazak> action. This is a too big job to restructure it so I guess Abdelrazak> we have

Re: Help request: QController and QView

2006-03-28 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Indeed, the idea would be to allow current GUIs to diverge Abdelrazak> (for the better). Allowing GUIs to diverge is of course OK. The only limit is to try to keep the docume

Re: Help request: QController and QView

2006-03-28 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Indeed, the idea would be to allow current GUIs to diverge Abdelrazak> (for the better). Allowing GUIs to diverge is of course OK. The only limit is to try to keep the documentors and translators work not too difficu

Re: Help request: QController and QView

2006-03-27 Thread Abdelrazak Younes
Edwin Leuven a écrit : i will have a look at what you've done with the citation dialog. my time is a bit thin (as are my programming skills) so it won't go at the speed of light though... Any help is welcome :-) I am not sure about the correct architecture. Right now, the link to the kernel

Re: Help request: QController and QView

2006-03-27 Thread Edwin Leuven
i will have a look at what you've done with the citation dialog. my time is a bit thin (as are my programming skills) so it won't go at the speed of light though... edwin Abdelrazak Younes wrote: Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Please don't take this a

Re: Help request: QController and QView

2006-03-26 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Please don't take this all personally, I don't. Software evolves. the GUII surely was a good thing for xforms and I guess it provided an easy porting to Qt; but I think that we should use what Qt4 provides. Fine. Go for

Re: Help request: QController and QView

2006-03-26 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Please don't take this all personally, I don't. Software evolves. > the GUII surely was a good thing > for xforms and I guess it provided an easy porting to Qt; but I think > that we should use what Qt4 provides. Fine. Go for it. > Of course I a

Re: Help request: QController and QView

2006-03-26 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Of course I am not going this way if there is no consensus among | potential Qt4 developers. I guess Andre is already on my side ;-), | what about others? It was never the intention that all GUIs must be alike. So I f

Re: Help request: QController and QView

2006-03-26 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Of course I am not going this way if there is no consensus among | potential Qt4 developers. I guess Andre is already on my side ;-), | what about others? It was never the intention that all GUIs must be alike. So I for one is not against it. BUT i

Re: Help request: QController and QView

2006-03-26 Thread Abdelrazak Younes
Angus Leeming a écrit : Go read controllers/Dialog.C which *is* pretty transparent even if things become less so in the frontends. My feeling about this is that people try and make sense of the logic by starting in a frontend implementation of a Dialog::View and, of course, end up confused becaus

Re: Help request: QController and QView

2006-03-24 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > The logic of the buttons, as far as I remember: > > > > Press the button. This should trigger a call to > > Dialog::Controller::ApplyButton() AFAIR. Within that method is a call to > > view().apply() which is what QCitation::apply() is. > > That's

Re: Help request: QController and QView

2006-03-24 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Right now, QCitation derives from QControllerQView >. I have approximatively the same code as in the qt2 frontend but the OK and Apply buttons don't work properly. It seems that QCitation::update_content is properly called on

Re: Help request: QController and QView

2006-03-24 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Right now, QCitation derives from QController QView >. I have approximatively the same code as in the > qt2 frontend but the OK and Apply buttons don't work properly. It seems > that QCitation::update_content is properly called on construction but

Help request: QController and QView

2006-03-24 Thread Abdelrazak Younes
Hello, I am trying to implement a nice Citation dialog for qt4 but I have difficulties with the controller: Right now, QCitation derives from QControllerQView >. I have approximatively the same code as in the qt2 frontend but the OK and Apply buttons don't work properly. It seems that QCitat