te::qt::widgets::CreateLayerWidget Class Reference

This interface is used to create new layer operation. More...

#include <CreateLayerWidget.h>

Inheritance diagram for te::qt::widgets::CreateLayerWidget:

Public Member Functions

void clear ()
 
bool createLayer (std::string &errorMessage)
 
 CreateLayerWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
te::map::AbstractLayerPtr getLayer ()
 
void setDataSource (te::da::DataSourceInfoPtr dsInfo)
 
void setReferenceLayers (std::list< te::map::AbstractLayerPtr > refLayers)
 
 ~CreateLayerWidget ()
 

Protected Slots

void onAddPushButtonClicked ()
 
void onClearToolButtonTriggered ()
 
void onRefLayerComboBoxActivated (int)
 
void onRemoveAttrExecuted (int row)
 
void onTableWidgetCellChanged (int row, int column)
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Protected Member Functions

void listProperties ()
 

Private Attributes

te::qt::widgets::NewPropertyWidgetm_newPropWidget
 
te::da::DataSourceInfoPtr m_outputDatasource
 
std::vector< te::dt::Property * > m_props
 
QSignalMapper * m_removeMapper
 The mapper used to know which action was executed. More...
 
bool m_toFile
 
std::unique_ptr< Ui::CreateLayerWidgetForm > m_ui
 

Detailed Description

This interface is used to create new layer operation.

This interface is used to create a new layer based on a layer with selected objects.

Definition at line 61 of file CreateLayerWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::CreateLayerWidget::CreateLayerWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Default Constructor

te::qt::widgets::CreateLayerWidget::~CreateLayerWidget ( )

Default Destructor

Member Function Documentation

void te::qt::widgets::CreateLayerWidget::clear ( )
bool te::qt::widgets::CreateLayerWidget::createLayer ( std::string &  errorMessage)
te::map::AbstractLayerPtr te::qt::widgets::CreateLayerWidget::getLayer ( )
void te::qt::widgets::CreateLayerWidget::listProperties ( )
protected
void te::qt::widgets::CreateLayerWidget::onAddPushButtonClicked ( )
protectedslot
void te::qt::widgets::CreateLayerWidget::onClearToolButtonTriggered ( )
protectedslot
void te::qt::widgets::CreateLayerWidget::onRefLayerComboBoxActivated ( int  )
protectedslot
void te::qt::widgets::CreateLayerWidget::onRemoveAttrExecuted ( int  row)
protectedslot
void te::qt::widgets::CreateLayerWidget::onTableWidgetCellChanged ( int  row,
int  column 
)
protectedslot
void te::qt::widgets::CreateLayerWidget::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::qt::widgets::CreateLayerWidget::onTargetFileToolButtonPressed ( )
protectedslot
void te::qt::widgets::CreateLayerWidget::setDataSource ( te::da::DataSourceInfoPtr  dsInfo)
void te::qt::widgets::CreateLayerWidget::setReferenceLayers ( std::list< te::map::AbstractLayerPtr refLayers)

Member Data Documentation

te::qt::widgets::NewPropertyWidget* te::qt::widgets::CreateLayerWidget::m_newPropWidget
private

Definition at line 109 of file CreateLayerWidget.h.

te::da::DataSourceInfoPtr te::qt::widgets::CreateLayerWidget::m_outputDatasource
private

Definition at line 111 of file CreateLayerWidget.h.

std::vector<te::dt::Property*> te::qt::widgets::CreateLayerWidget::m_props
private

Definition at line 113 of file CreateLayerWidget.h.

QSignalMapper* te::qt::widgets::CreateLayerWidget::m_removeMapper
private

The mapper used to know which action was executed.

Definition at line 117 of file CreateLayerWidget.h.

bool te::qt::widgets::CreateLayerWidget::m_toFile
private

Definition at line 115 of file CreateLayerWidget.h.

std::unique_ptr<Ui::CreateLayerWidgetForm> te::qt::widgets::CreateLayerWidget::m_ui
private

Definition at line 107 of file CreateLayerWidget.h.


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