how to add seperator in statusbar of widget?
how to add seperator in statusbar of widget?
If you are using Designer then right click on the tool bar and select Append Separator.
If you are hand coding then use QToolBar::addSeparator()
Edit: Misread your post.
You break up a status bar by placing widgets on it. See the QStatusBar docs
status bar allow insert or add widgets.Because I cannot add QToolbar::addSeperator
QToolBars allow separators between tool buttons by calling the method QToolBar::addSeparator().
The QStatusBar is a container for other widgets that you can use to break up the space. You add the widgets with QStatusBar::addWidget() or QStatusBar::addPermanentWidget(). The layout of the status bar automatically places empty space between widgets.
The tool bar and status bar are not related to each other.
Bookmarks