Edwin Leuven a écrit :
Abdelrazak Younes wrote:
It seems that Qt4 ui format doesn't support embedded icons like older version did. I found similar xpm in "trunk/images". I have used those for now but I am missing the one that should come with the style PushButton. But the icons still do not show in the math panel under Windows... Any idea?

no, had the same thing. haven't figured out yet how to solve this.

I know, this is because uic logically translates the path to the icon "as is" so the binary doesn't find them. I am playing with the generated header file to see how we could solve that.

but these button images should probably be moved to lib/images?

I guess yes as "images" is not installed as far as I know.

moreover, i've been cleaning up the mathpanel a bit to get rid of some qt3 convenience classes, see the attached patch (includes the missing style.xpm).

Is this patch on top of mine? If not I'll merge the two and send back the result. OK?

(i don't really like the hardwired width setting of the iconpallete, but iconpalette seems a bit misbehaved atm, try to detach or popup the delim dialog)

On Windows, all the icons are spread horizontally so in for some cases some of the icons are off-screen. Is it the same for you?

it would be nice to have a widget iconpalette that we can hook on to a toolbutton (as we use for the bullets in the qt2 frontend). it seems that this can only be done with qmenu objects. we can however not add widgets in qmenu's so for the moment am still pondering the question... (ie lost)

Yep you're right, I've reached the same conclusion about qmenu at the time of the porting. Actually, that's the reason why I haven't ported the qt2 bullets yet :-(

comments welcome (also on the patch)

edwin

PS haven't added nicefrak yet, but that is easy

Please wait for my merged patch which I will commit as soon as I test it.

Abdel.

Reply via email to