View Full Version : Is possible to hide a separator in a QToolBar?

20th April 2006, 09:48
Hi there, I use a QToolBar that can dinamically change its contents by changing the visibility of its actions. The problem is that I don't know if I can change the visibilty of the separator bars. Is it possible or I should have to implement the behaviour of the tool bar in some other way?

20th April 2006, 09:55
You can remove a separator from the toolbar or use QAction::setVisible() to hide it.

20th April 2006, 10:03
sorry wysota, I didn't thought that a separator is like some other action. Thanks.