
Originally Posted by
wysota
Yes. After choosing the shortcut field, simply press the shortcut you want to assign.
Yes, sorry I forgot to tell "without going in the Property Editor", I wanted to set them directly inside the "Action Editor" when double clicking on an action.

Originally Posted by
wysota
Stretch factors are in the sizePolicy group.
If you're asking about stretch factors of objects within a splitter, they will work properly although as far as I remember splitters in Designer might not respect them.
I wasn't aware of this and when I watched the resulting code, I have doubts.
If I make it by hand, I will code something like this (it's in Python, but we don't care in fact):
self.splitter.setStretchFactor(0,6)
self.splitter.setStretchFactor(1,1)
self.splitter.setStretchFactor(0,6)
self.splitter.setStretchFactor(1,1)
To copy to clipboard, switch view to plain text mode
In the resulting code, I don't have any of these.
But you're right, the Designer does not seems to respect the splitters policy when previewing your form.
Bookmarks