Problems with Designer for QActions
I'm trying to move my mainwindow UI to being generated by Designer instead of by hand and have two problems.
For menu actions, I use QKeySequence::StandardKey to set the keyboard shortcuts. However, in designer it seems I can only hardcode a keyboard shortcut for a QAction. Is it possible to use something like QKeySequence::Save instead?
Also for menu actions, I assign icons created from several pixmaps of different sizes. However I can't seem to do that in designer. I can choose icon pixmaps from my resource file, but can't assign multiple pixmaps to one icon. Wysota mentioned it was possible in another thread, but I can't figure it out.
Thanks for any help.
Re: Problems with Designer for QActions
Here's the answer I got from Trolltech support.
I've created tasks for the developers about these issues.
http://www.trolltech.com/developer/t...9&method=entry
http://www.trolltech.com/developer/t...0&method=entry
You can combine code and designer easily enough. E.g. design all your
widgets/actions etc in designer.
The set your own icon and shortcut in code on the actions in code.
(the links don't work for me, but basically it's not possible yet).