Re: about math delimiter dialog

2007-04-09 Thread Abdelrazak Younes
Richard Heck wrote: Abdelrazak Younes wrote: Richard Heck wrote: By the way, is there a short-cut to launch this dialog? If not I'd like to have one; any suggestion? I also think that we should put a new button in the math toolbar to launch the delimiter dialog without having to go first to th

Re: about math delimiter dialog

2007-04-07 Thread Richard Heck
Abdelrazak Younes wrote: > Richard Heck wrote: >>> By the way, is there a short-cut to launch this dialog? If not I'd >>> like to have one; any suggestion? >>> I also think that we should put a new button in the math toolbar to >>> launch the delimiter dialog without having to go first to the math

Re: about math delimiter dialog

2007-04-05 Thread Uwe Stöhr
Richard Heck schrieb: Yes, it's not that you don't use a mouse, it's that you don't want to have to take your hands off the keyboard. Anything I can do with the keyboard I can do more quickly. Yes of course, that's the reason why I seldomly use this dialog but the shortcuts "M-m (" to insert

Re: about math delimiter dialog

2007-04-05 Thread Martin Vermeer
On Thu, Apr 05, 2007 at 05:02:35PM +0200, Uwe Stöhr wrote: > > Then I suggest that we switch to a wigdet list instead. > With smaller icons it will fit nicely on > > screen. > > The dialog looks now much better, thanks! > > >> Edwin, what was the reason for the dialog change? > > > > The most im

Re: about math delimiter dialog

2007-04-05 Thread Enrico Forestieri
On Thu, Apr 05, 2007 at 11:35:28AM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes wrote: > > > if (!big || str == "(" || str == ")" || str == "[" || str == "]") > > -return str; > > +return fromqstr(str); > > By the way, is there a reason why single char delimiter is ex

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Richard Heck wrote: By the way, is there a short-cut to launch this dialog? If not I'd like to have one; any suggestion? I also think that we should put a new button in the math toolbar to launch the delimiter dialog without having to go first to the math panel. And we need a new menu item: In

Re: about math delimiter dialog

2007-04-05 Thread Richard Heck
> By the way, is there a short-cut to launch this dialog? If not I'd > like to have one; any suggestion? > I also think that we should put a new button in the math toolbar to > launch the delimiter dialog without having to go first to the math > panel. And we need a new menu item: > Insert->Mat

Re: about math delimiter dialog

2007-04-05 Thread Richard Heck
Abdelrazak Younes wrote: > Uwe Stöhr wrote: >> >> Edwin, what was the reason for the dialog change? >> > >> > The most important reason I guess is that you are forced to use >> the mouse. >> >> Could this be a real reason? Who is using LyX without a mouse? > Of course it is a real reason. The l

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Uwe Stöhr wrote: > Then I suggest that we switch to a wigdet list instead. With smaller icons it will fit nicely on > screen. The dialog looks now much better, thanks! You're pretty welcome :-) >> Edwin, what was the reason for the dialog change? > > The most important reason I guess

Re: about math delimiter dialog

2007-04-05 Thread Uwe Stöhr
> Then I suggest that we switch to a wigdet list instead. With smaller icons it will fit nicely on > screen. The dialog looks now much better, thanks! >> Edwin, what was the reason for the dialog change? > > The most important reason I guess is that you are forced to use the mouse. Could this

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: PS: Edwin, the request for beautifying the dialog still stands. what the problem? make the list widget exactly fit the contents? Yes. Horizontally and Vertically (i.e. no scrollbar by default and if possible) Abdel.

Re: about math delimiter dialog

2007-04-05 Thread Edwin Leuven
Abdelrazak Younes wrote: PS: Edwin, the request for beautifying the dialog still stands. what the problem? make the list widget exactly fit the contents?

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Abdelrazak Younes wrote: Abdelrazak Younes wrote: Uwe Stöhr wrote: But anyway, the dialog of LyX 1.4.x is much simpler to work with as you see everything with one look. Then I suggest that we switch to a wigdet list instead. With smaller icons it will fit nicely on

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Uwe Stöhr wrote: >> While trying to fix bug 3420 I noticed that LyX 1.5 comes with a new delimiter dialog. This >> dialog is less clear to keep the overview about the different delimiters. The dialog of LyX 1.4.x >> is >> better and quicker to handle as you just need to click on the delimi

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Abdelrazak Younes wrote: Uwe Stöhr wrote: But anyway, the dialog of LyX 1.4.x is much simpler to work with as you see everything with one look. Then I suggest that we switch to a wigdet list instead. With smaller icons it will fit nicely on screen. Any objection i

Re: about math delimiter dialog

2007-04-05 Thread Uwe Stöhr
>> While trying to fix bug 3420 I noticed that LyX 1.5 comes with a new delimiter dialog. This >> dialog is less clear to keep the overview about the different delimiters. The dialog of LyX 1.4.x >> is >> better and quicker to handle as you just need to click on the delimiter you want than scro

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Uwe Stöhr wrote: But anyway, the dialog of LyX 1.4.x is much simpler to work with as you see everything with one look. Then I suggest that we switch to a wigdet list instead. With smaller icons it will fit nicely on screen. Any objection if I do that? Abdel.

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Uwe Stöhr wrote: While trying to fix bug 3420 I noticed that LyX 1.5 comes with a new delimiter dialog. This dialog is less clear to keep the overview about the different delimiters. The dialog of LyX 1.4.x is better and quicker to handle as you just need to click on the delimiter you want than

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Uwe Stöhr wrote: While trying to fix bug 3420 I noticed that LyX 1.5 comes with a new delimiter dialog. This dialog is less clear to keep the overview about the different delimiters. The dialog of LyX 1.4.x is better and quicker to handle as you just need to click on t

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Abdelrazak Younes wrote: if (!big || str == "(" || str == ")" || str == "[" || str == "]") -return str; +return fromqstr(str); By the way, is there a reason why single char delimiter is excluded from 'big'. The above code look very suspicious to me. Shouldn't it be:

Re: about math delimiter dialog

2007-04-05 Thread Enrico Forestieri
On Thu, Apr 05, 2007 at 10:11:24AM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Thu, Apr 05, 2007 at 01:31:47AM +0200, Uwe Stöhr wrote: > > > >> The problem of bug 3420 is that the items for the empty delimiter is added > >> by this code > >> > >>leftCO->addItem(QIcon(QPi

Re: about math delimiter dialog

2007-04-05 Thread Enrico Forestieri
On Thu, Apr 05, 2007 at 09:35:16AM +0200, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Thu, Apr 05, 2007 at 01:31:47AM +0200, Uwe Stöhr wrote: > > > >> The problem of bug 3420 is that the items for the empty delimiter is added > >> by this code > >> > >>leftCO->addItem(QIcon(QPi

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Apr 05, 2007 at 01:31:47AM +0200, Uwe Stöhr wrote: The problem of bug 3420 is that the items for the empty delimiter is added by this code leftCO->addItem(QIcon(QPixmap(toqstr(empty_xpm))), qt_("(None)")); instead of leftCO->addItem(QIcon(QPix

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Uwe Stöhr wrote: While trying to fix bug 3420 I noticed that LyX 1.5 comes with a new delimiter dialog. This dialog is less clear to keep the overview about the different delimiters. The dialog of LyX 1.4.x is better and quicker to handle as you just need to click on the delimiter you want than

Re: about math delimiter dialog

2007-04-05 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Apr 05, 2007 at 01:31:47AM +0200, Uwe Stöhr wrote: The problem of bug 3420 is that the items for the empty delimiter is added by this code leftCO->addItem(QIcon(QPixmap(toqstr(empty_xpm))), qt_("(None)")); instead of leftCO->addItem(QIcon(QPix

Re: about math delimiter dialog

2007-04-04 Thread Enrico Forestieri
On Thu, Apr 05, 2007 at 01:31:47AM +0200, Uwe Stöhr wrote: > The problem of bug 3420 is that the items for the empty delimiter is added by > this code > > leftCO->addItem(QIcon(QPixmap(toqstr(empty_xpm))), qt_("(None)")); > > instead of > leftCO->addItem(QIcon(QPixmap(toqstr(empty_x

about math delimiter dialog

2007-04-04 Thread Uwe Stöhr
While trying to fix bug 3420 I noticed that LyX 1.5 comes with a new delimiter dialog. This dialog is less clear to keep the overview about the different delimiters. The dialog of LyX 1.4.x is better and quicker to handle as you just need to click on the delimiter you want than scrolling down two