Medical Imaging Interaction Toolkit  2022.10.99-c744ead5
Medical Imaging Interaction Toolkit
berry::GroupMarker Class Reference

#include <berryGroupMarker.h>

Inheritance diagram for berry::GroupMarker:
Collaboration diagram for berry::GroupMarker:

Public Member Functions

 GroupMarker (const QString &groupName)
bool IsVisible () const override

Detailed Description

A group marker is a special kind of contribution item denoting the beginning of a group. These groups are used to structure the list of items. Unlike regular contribution items and separators, group markers have no visual representation. The name of the group is synonymous with the contribution item id.

This class may be instantiated; it is not intended to be subclassed outside the framework.

Definition at line 31 of file berryGroupMarker.h.

Constructor & Destructor Documentation

◆ GroupMarker()

berry::GroupMarker::GroupMarker ( const QString &  groupName)

Create a new group marker with the given name. The group name must not be null or the empty string. The group name is also used as the item id.

groupNamethe name of the group

Member Function Documentation

◆ IsVisible()

bool berry::GroupMarker::IsVisible ( ) const

The GroupMarker implementation of this method returns false since group markers are always invisible.

The documentation for this class was generated from the following file: