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

◆ CreateLayerWidget()

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

Default Constructor

◆ ~CreateLayerWidget()

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

Default Destructor

Member Function Documentation

◆ clear()

void te::qt::widgets::CreateLayerWidget::clear ( )

◆ createLayer()

bool te::qt::widgets::CreateLayerWidget::createLayer ( std::string &  errorMessage)

◆ getLayer()

te::map::AbstractLayerPtr te::qt::widgets::CreateLayerWidget::getLayer ( )

◆ listProperties()

void te::qt::widgets::CreateLayerWidget::listProperties ( )
protected

◆ onAddPushButtonClicked

void te::qt::widgets::CreateLayerWidget::onAddPushButtonClicked ( )
protectedslot

◆ onClearToolButtonTriggered

void te::qt::widgets::CreateLayerWidget::onClearToolButtonTriggered ( )
protectedslot

◆ onRefLayerComboBoxActivated

void te::qt::widgets::CreateLayerWidget::onRefLayerComboBoxActivated ( int  )
protectedslot

◆ onRemoveAttrExecuted

void te::qt::widgets::CreateLayerWidget::onRemoveAttrExecuted ( int  row)
protectedslot

◆ onTableWidgetCellChanged

void te::qt::widgets::CreateLayerWidget::onTableWidgetCellChanged ( int  row,
int  column 
)
protectedslot

◆ onTargetDatasourceToolButtonPressed

void te::qt::widgets::CreateLayerWidget::onTargetDatasourceToolButtonPressed ( )
protectedslot

◆ onTargetFileToolButtonPressed

void te::qt::widgets::CreateLayerWidget::onTargetFileToolButtonPressed ( )
protectedslot

◆ setDataSource()

void te::qt::widgets::CreateLayerWidget::setDataSource ( te::da::DataSourceInfoPtr  dsInfo)

◆ setReferenceLayers()

void te::qt::widgets::CreateLayerWidget::setReferenceLayers ( std::list< te::map::AbstractLayerPtr refLayers)

Member Data Documentation

◆ m_newPropWidget

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

Definition at line 109 of file CreateLayerWidget.h.

◆ m_outputDatasource

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

Definition at line 111 of file CreateLayerWidget.h.

◆ m_props

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

Definition at line 113 of file CreateLayerWidget.h.

◆ m_removeMapper

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.

◆ m_toFile

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

Definition at line 115 of file CreateLayerWidget.h.

◆ m_ui

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: