te::vp::qt::OutputDataAccessItemWidget Class Reference

Implements a widget used to return a Data Access object. More...

#include <OutputDataAccessItemWidget.h>

Inheritance diagram for te::vp::qt::OutputDataAccessItemWidget:

Public Member Functions

te::da::DataAccessPtr getDataAccess ()
 Get DataAccess given the user defined parameters in the interface. More...
 
Ui::OutputDataAccessItemWidgetForm * getForm () const
 Returns the internal widget. More...
 
te::da::DataSourcePtr getOutputDataSorce ()
 Used to get the output datasource given the user information. More...
 
 OutputDataAccessItemWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
void reset ()
 
 ~OutputDataAccessItemWidget ()
 Destructor. More...
 

Protected Slots

void onTargetDatasourceToolButtonPressed ()
 Slot for target datasource tool button pressed. More...
 
void onTargetFileToolButtonPressed ()
 Slot for target file tool button pressed. More...
 

Protected Member Functions

te::da::DataSourceInfoPtr registerFileDataSource (const std::string &filePath, const std::string &dataSetName)
 Function used to register the new datasource into terralib datasource manager. More...
 

Private Attributes

te::da::DataSourcePtr m_outputDatasource
 DataSource information. More...
 
te::da::DataSourceInfoPtr m_outputDatasourceInfo
 DataSource information metadata. More...
 
bool m_toFile
 The result is in a file. More...
 
std::unique_ptr< Ui::OutputDataAccessItemWidgetForm > m_ui
 Pointer to a internal Qt widget. More...
 

Detailed Description

Implements a widget used to return a Data Access object.

Implements a widget used to return a set of Data Access object.

Definition at line 59 of file OutputDataAccessItemWidget.h.

Constructor & Destructor Documentation

◆ OutputDataAccessItemWidget()

te::vp::qt::OutputDataAccessItemWidget::OutputDataAccessItemWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

◆ ~OutputDataAccessItemWidget()

te::vp::qt::OutputDataAccessItemWidget::~OutputDataAccessItemWidget ( )

Destructor.

Member Function Documentation

◆ getDataAccess()

te::da::DataAccessPtr te::vp::qt::OutputDataAccessItemWidget::getDataAccess ( )

Get DataAccess given the user defined parameters in the interface.

Returns
TerraLib DataAccess object Resets the widget to its default clear state

◆ getForm()

Ui::OutputDataAccessItemWidgetForm* te::vp::qt::OutputDataAccessItemWidget::getForm ( ) const

Returns the internal widget.

Returns
Pointer to Qt Widget OutputDataAccessItemWidget

◆ getOutputDataSorce()

te::da::DataSourcePtr te::vp::qt::OutputDataAccessItemWidget::getOutputDataSorce ( )

Used to get the output datasource given the user information.

Returns
Pointer to terraLib DataSource

◆ onTargetDatasourceToolButtonPressed

void te::vp::qt::OutputDataAccessItemWidget::onTargetDatasourceToolButtonPressed ( )
protectedslot

Slot for target datasource tool button pressed.

◆ onTargetFileToolButtonPressed

void te::vp::qt::OutputDataAccessItemWidget::onTargetFileToolButtonPressed ( )
protectedslot

Slot for target file tool button pressed.

◆ registerFileDataSource()

te::da::DataSourceInfoPtr te::vp::qt::OutputDataAccessItemWidget::registerFileDataSource ( const std::string &  filePath,
const std::string &  dataSetName 
)
protected

Function used to register the new datasource into terralib datasource manager.

Parameters
filePathpath of new file data source
dataSetNamedataset name for the new data to be created
Returns
Return the terralib object with datasource metadata

◆ reset()

void te::vp::qt::OutputDataAccessItemWidget::reset ( )

Member Data Documentation

◆ m_outputDatasource

te::da::DataSourcePtr te::vp::qt::OutputDataAccessItemWidget::m_outputDatasource
private

DataSource information.

Definition at line 133 of file OutputDataAccessItemWidget.h.

◆ m_outputDatasourceInfo

te::da::DataSourceInfoPtr te::vp::qt::OutputDataAccessItemWidget::m_outputDatasourceInfo
private

DataSource information metadata.

Definition at line 131 of file OutputDataAccessItemWidget.h.

◆ m_toFile

bool te::vp::qt::OutputDataAccessItemWidget::m_toFile
private

The result is in a file.

Definition at line 129 of file OutputDataAccessItemWidget.h.

◆ m_ui

std::unique_ptr<Ui::OutputDataAccessItemWidgetForm> te::vp::qt::OutputDataAccessItemWidget::m_ui
private

Pointer to a internal Qt widget.

Definition at line 127 of file OutputDataAccessItemWidget.h.


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