Edwin Leuven a écrit :
Abdelrazak Younes wrote:
Concerning your QMAction class, I think we could merge it with my QLAction class. But this would maybe mean touching the controller... food for thought.

i created QMAction because i didn't want (or didn't know how) to pass a lyxview to an object in QMathDialog.

but i recognize that it is not very nice to have a lot of specializations floating around.

it also seems like we are putting layer over identical layer:

Yep, too much of that kind of stuff in lyx but it serves its purpose well with xform and qt2. In our case, I think we can shortcut that by using QLAction and avoid the call to "form_->controller().dispatchInsert(str)".

i guess the frontend is the icing on the lyx-cake ;-)

Indeed ;-)

By the way, I am replacing the sqrt etc QPushButton with QToolButton, which they are.

Abdel.

Reply via email to