On Thu, Apr 20, 2006 at 06:56:57PM +0200, Georg Baum wrote:
> Enrico Forestieri wrote:
> 
> > This is perfect! I tested it and think that this should also go in 1.4.
> 
> Jean-Marc will tell. What is missing now is support for these in the math
> panel. It should not be too difficult to add, I would simply make a copy of
> the existing delimiters dialog. The images are all there already. Do you
> want to have a go?

I thought about it and my idea is to retain the existing delimiter
dialog but placing a combobox next to the "Keep matched" checkbox.
The default combobox item would be "Variable size", and the other
items would be labeled "big size", "Big size", and so on.

The combobox activated() signal would be connected to a slot function
recording the choice. Now, when the Insert button is clicked, the
code inserting \left<ldelim> and \right<rdelim> should be changed
to instead insert \bigl<ldelim> and \bigr<rdelim> according to the
recorded choice.

This is the theory, but in practice I am a Qt ignorant and have no
idea of what I should do to achieve that goal. Moreover, I think
that I should tweak QDelimiterDialogBase.ui and this is a big
problem as I don't grok that format. My intuition says that
probably there is some GUI for dealing with .ui files (designer?
Yes, I really mean that I know next to nothing about programming Qt).

In conclusion, I think that you would do in a few minutes what
I would need a few weeks to do...

-- 
Enrico

Reply via email to