USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::CnetViz::FilterGroup Class Reference

This class provides an interface for a group of filters. More...

#include <FilterGroup.h>

Inheritance diagram for Isis::CnetViz::FilterGroup:
Inheritance graph
Collaboration diagram for Isis::CnetViz::FilterGroup:
Collaboration graph

Signals

void close (FilterGroup *)
 
void filterChanged ()
 
void sizeChanged (FilterGroup *)
 

Public Member Functions

 FilterGroup (QString type)
 
 FilterGroup (const FilterGroup &other)
 
template<typename T >
bool evaluate (const T *t, bool(AbstractFilter::*meth)() const) const
 
bool hasFilter (bool(AbstractFilter::*)() const =NULL) const
 
QString getDescription (bool(AbstractFilter::*)() const, QString(AbstractFilter::*)() const) const
 
bool filtersAreAndedTogether () const
 
FilterGroupoperator= (FilterGroup other)
 

Private Slots

void addSelector ()
 
void deleteSelector (AbstractFilterSelector *)
 
void sendClose ()
 
void sendSizeChanged ()
 
void changeFilterCombinationLogic (int)
 

Private Member Functions

bool hasSelectorWithCondition (bool(AbstractFilterSelector::*)() const) const
 
void nullify ()
 
void init ()
 
void addSelector (AbstractFilterSelector *newSelector)
 

Private Attributes

QButtonGroup * m_buttonGroup
 
QPushButton * m_closeButton
 
QPushButton * m_newSelectorButton
 
QVBoxLayout * m_groupBoxLayout
 
QWidgetm_logicWidget
 
QList< AbstractFilterSelector * > * m_selectors
 
bool m_andFiltersTogether
 
QString * m_filterType
 

Detailed Description

This class provides an interface for a group of filters.

Filters within a group are logically connected (AND/OR operations). An interface is provided for evaluating all of the filters in the group.

Author
????-??-?? Eric Hyer
History:
2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".

Definition at line 33 of file FilterGroup.h.


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