Medical Imaging Interaction Toolkit
2024.06.99-fe296c79
Medical Imaging Interaction Toolkit
|
#include <berrySeparator.h>
Public Member Functions | |
Separator () | |
Separator (const QString &groupName) | |
void | Fill (QMenu *menu, QAction *before) override |
void | Fill (QToolBar *toolbar, QAction *before) override |
bool | IsSeparator () const override |
A separator is a special kind of contribution item which acts as a visual separator and, optionally, acts as a group marker. Unlike group markers, separators do have a visual representation for menus and toolbars.
This class may be instantiated; it is not intended to be subclassed outside the framework.
Definition at line 31 of file berrySeparator.h.
berry::Separator::Separator | ( | ) |
Creates a separator which does not start a new group.
berry::Separator::Separator | ( | const QString & | groupName | ) |
Creates a new separator which also defines a new group having the given group name. The group name must not be null
or the empty string. The group name is also used as the item id.
groupName | the group name of the separator |
|
override |
|
override |
|
override |
The Separator
implementation of this IContributionItem
method returns true