PDA

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



Dark_Tower
20th April 2006, 10: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?

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

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