Custom widget used filter a dataset type, creating a DataSetTypeConverter. More...
#include <DataSetTypeFilter.h>
Public Member Functions | |
void | applyFilterToConverter (te::da::DataSetTypeConverter *converter) const |
Applies the selected attributes filter to the given Converter. More... | |
void | applyFilterToDataAccess (te::da::DataAccess *dataAccess) const |
Applies the selected attributes filter to the given DataAccess. More... | |
DataSetTypeFilter (QWidget *parent=0, Qt::WindowFlags f=0) | |
Default constructor. More... | |
te::da::DataSetTypeConverter * | getConverter (const te::da::DataSetType *dataSetType, const te::da::DataSourceCapabilities &capabilities, const std::string &resultDataSetName) const |
Creates a new converter and applies the selected attributes filter. More... | |
void | init (const te::da::DataSetType *dataSetType, bool selectAllAttrs=true) |
Inits the component based on the given dataSetType. More... | |
~DataSetTypeFilter () | |
Virtual destructor. More... | |
Private Attributes | |
std::unique_ptr< te::qt::widgets::DoubleListWidget > | m_doubleListWidget |
Custom widget used filter a dataset type, creating a DataSetTypeConverter.
Definition at line 66 of file DataSetTypeFilter.h.
te::qt::widgets::DataSetTypeFilter::DataSetTypeFilter | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Default constructor.
te::qt::widgets::DataSetTypeFilter::~DataSetTypeFilter | ( | ) |
Virtual destructor.
void te::qt::widgets::DataSetTypeFilter::applyFilterToConverter | ( | te::da::DataSetTypeConverter * | converter | ) | const |
Applies the selected attributes filter to the given Converter.
void te::qt::widgets::DataSetTypeFilter::applyFilterToDataAccess | ( | te::da::DataAccess * | dataAccess | ) | const |
Applies the selected attributes filter to the given DataAccess.
te::da::DataSetTypeConverter* te::qt::widgets::DataSetTypeFilter::getConverter | ( | const te::da::DataSetType * | dataSetType, |
const te::da::DataSourceCapabilities & | capabilities, | ||
const std::string & | resultDataSetName | ||
) | const |
Creates a new converter and applies the selected attributes filter.
void te::qt::widgets::DataSetTypeFilter::init | ( | const te::da::DataSetType * | dataSetType, |
bool | selectAllAttrs = true |
||
) |
Inits the component based on the given dataSetType.
dataSetType | A valid dataSetType. This class will not take the ownership of the pointer |
selectAllAttrs | A flag used to select all attributes from input dataset type to output converter |
|
private |
Definition at line 111 of file DataSetTypeFilter.h.