Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkViewItem Class Reference

#include <QmitkViewItem.h>

Inheritance diagram for QmitkViewItem:
Collaboration diagram for QmitkViewItem:

Public Member Functions

 QmitkViewItem (const berry::IViewDescriptor *view)
 
 ~QmitkViewItem () override
 
void SetBoldFont (bool enable)
 Enable or disable bold font for this item. More...
 
QStringList GetKeywords () const
 Get view keywords as optionally specified in a corresponding plugin.xml file. More...
 
bool Match (const QRegularExpression &re) const
 Match item against regular expression. More...
 

Static Public Attributes

static constexpr int KeywordsRole
 

Detailed Description

Definition at line 25 of file QmitkViewItem.h.

Constructor & Destructor Documentation

◆ QmitkViewItem()

QmitkViewItem::QmitkViewItem ( const berry::IViewDescriptor view)
explicit

◆ ~QmitkViewItem()

QmitkViewItem::~QmitkViewItem ( )
override

Member Function Documentation

◆ GetKeywords()

QStringList QmitkViewItem::GetKeywords ( ) const

Get view keywords as optionally specified in a corresponding plugin.xml file.

◆ Match()

bool QmitkViewItem::Match ( const QRegularExpression &  re) const

Match item against regular expression.

View name (text), description (tool tip), and keywords are considered.

◆ SetBoldFont()

void QmitkViewItem::SetBoldFont ( bool  enable)

Enable or disable bold font for this item.

Member Data Documentation

◆ KeywordsRole

constexpr int QmitkViewItem::KeywordsRole
staticconstexpr

Definition at line 28 of file QmitkViewItem.h.


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