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)
 
 ~CreateLayerWidget ()
 

Protected Slots

void onAddPushButtonClicked ()
 
void onRemoveAttrExecuted (int row)
 
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::SimpleProperty * > m_props
 
QSignalMapper * m_removeMapper
 The mapper used to know which action was executed. More...
 
bool m_toFile
 
std::auto_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 59 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::onRemoveAttrExecuted ( int  row)
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)

Member Data Documentation

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

Definition at line 99 of file CreateLayerWidget.h.

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

Definition at line 101 of file CreateLayerWidget.h.

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

Definition at line 103 of file CreateLayerWidget.h.

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

The mapper used to know which action was executed.

Definition at line 107 of file CreateLayerWidget.h.

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

Definition at line 105 of file CreateLayerWidget.h.

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

Definition at line 97 of file CreateLayerWidget.h.


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