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