Go to the documentation of this file. 1 #ifndef FILTERMANAGER_HPP
2 #define FILTERMANAGER_HPP
7 #include <QGraphicsView>
57 void addFilter(
const std::string& label,
bool enable);
116 QWidget *mpCheckBoxGrid;
130 #endif // FILTERMANAGER_HPP
unsigned int filter_index_t
datatype for the filters index counter
Definition: FilterItem.hpp:34
unsigned int createFilter(const std::string &label)
creates a new filter item with the given 'label' as text regex and its corresponding checkbox
Definition: FilterManager.cpp:103
void renameFilter()
listener for the filter renaming button in the property dialog
Definition: FilterManager.cpp:333
widget to manage all graphical custom regexp filter items in a common scene under behavioral restrict...
Definition: FilterManager.hpp:21
void refreshView(bool updatesStatusBar=true)
orders the layers view to refresh; when updatesStatusBar is unset, this takes place silently (the sta...
Definition: FilterManager.cpp:86
void swapFilters()
listener for the filters swapping button in the property dialog
Definition: FilterManager.cpp:252
void updateToolTip(FilterItem::filter_index_t index, bool witness, bool refresh=true)
synchronizes the GUI toolTip-s with the current text regex information held at index 'index'
Definition: FilterManager.cpp:159
FilterItem * getSelectedItem(void)
getter method for the currently selected filter item (i.e. currently being hovered over)
Definition: FilterManager.hpp:45
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
void dieOnIndex(FilterItem::filter_index_t index, const std::string &caller=std::string())
error checking method: tests for the 'caller' whether the provided filter 'index' is out of bounds
Definition: FilterManager.cpp:169
void addFilter()
listener for the filter adding button in the property dialog
Definition: FilterManager.cpp:240
void showContextMenu(const QPoint &pos)
displays context menu (upon a right click in the scene)
Definition: FilterManager.cpp:45
bool getItemSelected(void)
getter method for the boolean item-selection witness; returns true when a filter item is being hover-...
Definition: FilterManager.hpp:40
void setItemSelected(bool itemSelected)
setter method for the boolean item-selection witness;
Definition: FilterManager.hpp:42
std::vector< FilterItem * > Filters
container datatype for an array of filter items
Definition: FilterManager.hpp:26
void renameSelectedFilter()
listener for the selected filter renaming action in the context menu
Definition: FilterManager.cpp:390
Filters getFilters(void)
getter method for the array of filters
Definition: FilterManager.hpp:91
std::vector< QCheckBox * > CheckBoxes
container datatype for an array of checkboxes handles
Definition: FilterManager.hpp:28
void removeFilters()
listener for the all-filters removing button in the property dialog
Definition: FilterManager.cpp:283
graphical custom regexp filter representation class; specific to FilterManager widget in the layers t...
Definition: FilterItem.hpp:26
void removeSelectedFilter()
listener for the selected filter removing action in the context menu
Definition: FilterManager.cpp:409
void removeFilter()
listener for the filter removing button in the property dialog
Definition: FilterManager.cpp:361
FilterManager(QWidget *checkBoxGrid, QWidget *parent=NULL)
constructor
Definition: FilterManager.cpp:22
std::map< QCheckBox *, FilterItem::filter_index_t > CheckBoxIndexMap
container datatype for mapping each registered check box to its registration index (i....
Definition: FilterManager.hpp:30
void refreshToolTip(FilterItem::filter_index_t index, bool refresh=false)
synchronizes the GUI toolTip-s with the current text regex information held at index 'index'
Definition: FilterManager.cpp:151
void setSelectedItem(FilterItem *selectedItem)
setter method for the currently selected filter item (i.e. currently being hovered over)
Definition: FilterManager.hpp:47
int filterCount()
returns the number of filters currently managed by the filter manager
Definition: FilterManager.hpp:50