13 #ifndef QmitkViewItem_h
14 #define QmitkViewItem_h
16 #include <QRegularExpression>
17 #include <QStandardItem>
18 #include <QStringList>
22 struct IViewDescriptor;
45 bool Match(
const QRegularExpression& re)
const;
48 void SetKeywords(
const QStringList& keywords);
void SetBoldFont(bool enable)
Enable or disable bold font for this item.
QStringList GetKeywords() const
Get view keywords as optionally specified in a corresponding plugin.xml file.
bool Match(const QRegularExpression &re) const
Match item against regular expression.
QmitkViewItem(const berry::IViewDescriptor *view)
static constexpr int KeywordsRole
~QmitkViewItem() override