SHAPER  9.12.0
ModuleBase_FilterItem Class Reference

A widget which reperesents a one filter item in filters list Also it includes filter GUI if it exists. More...

Inheritance diagram for ModuleBase_FilterItem:
Inheritance graph

Signals

void deleteItem (ModuleBase_FilterItem *theItem)
 The seignal is sent on deletion of the item. More...
 
void reversedItem (ModuleBase_FilterItem *theItem)
 The seignal is sent on reversing of the item. More...
 

Public Member Functions

 ModuleBase_FilterItem (const std::string &theFilter, ModuleBase_WidgetSelectionFilter *theParent)
 Constructor. More...
 
std::string filter () const
 Returns filter Id. More...
 
QList< ModuleBase_ModelWidget * > widgets () const
 Returns list of widgets which reperesent the current filter GUI. More...
 

Detailed Description

A widget which reperesents a one filter item in filters list Also it includes filter GUI if it exists.

Constructor & Destructor Documentation

◆ ModuleBase_FilterItem()

ModuleBase_FilterItem::ModuleBase_FilterItem ( const std::string &  theFilter,
ModuleBase_WidgetSelectionFilter theParent 
)

Constructor.

Parameters
theFilterthe filter ID
theParenta parent widget of ModuleBase_WidgetSelectionFilter class

Member Function Documentation

◆ filter()

std::string ModuleBase_FilterItem::filter ( ) const
inline

Returns filter Id.

◆ widgets()

QList<ModuleBase_ModelWidget*> ModuleBase_FilterItem::widgets ( ) const
inline

Returns list of widgets which reperesent the current filter GUI.

◆ deleteItem

void ModuleBase_FilterItem::deleteItem ( ModuleBase_FilterItem theItem)
signal

The seignal is sent on deletion of the item.

◆ reversedItem

void ModuleBase_FilterItem::reversedItem ( ModuleBase_FilterItem theItem)
signal

The seignal is sent on reversing of the item.