te::mnt::VolumeDialog Class Reference

#include <VolumeDialog.h>

Inheritance diagram for te::mnt::VolumeDialog:
QDialog

Public Member Functions

te::map::AbstractLayerPtr getLayer ()
 
void release ()
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
 VolumeDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~VolumeDialog ()
 

Protected Slots

void onCancelPushButtonClicked ()
 
void onDummyLineEditEditingFinished ()
 
void onInputRasterToolButtonClicked ()
 
void onInputVectorToolButtonClicked ()
 
void onOkPushButtonClicked ()
 
void onRasterInputComboBoxChanged (int index)
 
void onVectorInputComboBoxChanged (int index)
 

Private Attributes

std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
te::map::AbstractLayerPtr m_rasterinputLayer
 Input layer. More...
 
std::unique_ptr< Ui::VolumeDialogForm > m_ui
 
te::map::AbstractLayerPtr m_vectorinputLayer
 Input layer. More...
 

Detailed Description

Definition at line 50 of file VolumeDialog.h.

Constructor & Destructor Documentation

te::mnt::VolumeDialog::~VolumeDialog ( )
default

Referenced by VolumeDialog().

Member Function Documentation

te::map::AbstractLayerPtr te::mnt::VolumeDialog::getLayer ( )
void te::mnt::VolumeDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 297 of file VolumeDialog.cpp.

Referenced by VolumeDialog().

void te::mnt::VolumeDialog::onDummyLineEditEditingFinished ( )
protectedslot

Definition at line 162 of file VolumeDialog.cpp.

Referenced by VolumeDialog().

void te::mnt::VolumeDialog::onInputRasterToolButtonClicked ( )
protectedslot
void te::mnt::VolumeDialog::onInputVectorToolButtonClicked ( )
protectedslot
void te::mnt::VolumeDialog::onOkPushButtonClicked ( )
protectedslot
void te::mnt::VolumeDialog::onRasterInputComboBoxChanged ( int  index)
protectedslot

Definition at line 136 of file VolumeDialog.cpp.

References te::map::GetRaster(), m_layers, m_rasterinputLayer, and m_ui.

Referenced by VolumeDialog().

void te::mnt::VolumeDialog::onVectorInputComboBoxChanged ( int  index)
protectedslot

Definition at line 183 of file VolumeDialog.cpp.

References m_layers, m_ui, and m_vectorinputLayer.

Referenced by VolumeDialog().

void te::mnt::VolumeDialog::release ( )
void te::mnt::VolumeDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 85 of file VolumeDialog.cpp.

References te::mnt::getMNTType(), te::mnt::GRID, m_layers, m_ui, and te::mnt::TIN.

Referenced by te::qt::plugins::mnt::VolumeAction::onActionActivated().

Member Data Documentation

std::list<te::map::AbstractLayerPtr> te::mnt::VolumeDialog::m_layers
private
te::map::AbstractLayerPtr te::mnt::VolumeDialog::m_rasterinputLayer
private

Input layer.

Definition at line 84 of file VolumeDialog.h.

Referenced by onOkPushButtonClicked(), and onRasterInputComboBoxChanged().

std::unique_ptr<Ui::VolumeDialogForm> te::mnt::VolumeDialog::m_ui
private
te::map::AbstractLayerPtr te::mnt::VolumeDialog::m_vectorinputLayer
private

Input layer.

Definition at line 85 of file VolumeDialog.h.

Referenced by onOkPushButtonClicked(), and onVectorInputComboBoxChanged().


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