how to add a strech on a toolbar?
i want to add a strech to make the two button on the toolbar separate widely, one on the Left edge, and the other on the Right edge.
but i just find one API addSeparator, is there any way to do this?
You could try inserting a "spacer" widget between your actions. The widget should have an expanding horizontal size policy.
Hope it helps
it's not a widget, and can't use addWidget()
No, not a QSpacerItem, a standard QWidget with the size policy set as described