 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
37 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
47 class QListWidgetItem;
87 void setItems(
const QStringList& items);
void updateInternalList_()
A widget which shows a list of text items, which can be filtered.
Definition: FilterableList.h:68
QSet< QString > blacklist_
blacklisted items, which are never shown, even if in items_;
Definition: FilterableList.h:125
Ui::FilterableList * ui_
Definition: FilterableList.h:122
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
void filterEdited_(const QString &filter_text)
Definition: SwathWizardBase.h:62
void itemDoubleClicked(QListWidgetItem *item)
emitted when this item was double clicked
FilterableList(QWidget *parent)
C'tor.
void filterChanged(const QString &filter_text)
emitted when the user has edited the filter
void setBlacklistItems(const QStringList &blacklist_items)
void addBlackListItems(const QStringList &additional_blacklist_items)
QStringList items_
full list of items to show; when filtered only a subset is shown
Definition: FilterableList.h:123
QStringList items_wo_bl_
items from item_ with blacklisted items removed
Definition: FilterableList.h:126
void updateVisibleList_()
update shown items, based on current items_wo_bl_ and current filter
void setItems(const QStringList &items)
QStringList getAllVisibleItems() const
get all items which are visible (i.e. excludes the ones which are hidden by the filter)
void removeBlackListItems(const QStringList &outdated_blacklist_items)
QStringList getSelectedItems() const
get the currently selected items of all visible items, i.e. must pass the filter and be selected
OpenMS::Internal::FilterableList FilterableList
Definition: FilterableList.h:132