A dialog used to build a grouping. More...
#include <GroupingDialog.h>
Public Member Functions | |
| void | setLayers (te::map::AbstractLayerPtr selectedLayer, std::vector< te::map::AbstractLayerPtr > allLayers) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| GroupingDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a basic fill dialog which is a child of parent, with widget flags set to f. More... | |
| ~GroupingDialog () | |
| Destructor. More... | |
Protected Slots | |
| void | onApplyClicked () |
| void | onPushButtonClicked () |
Protected Member Functions | |
| void | buildRasterGroupingInteface () |
| void | buildVectorialGroupingInteface () |
Private Attributes | |
| std::vector< te::map::AbstractLayerPtr > | m_allLayers |
| All Project Layers with Grouping. More... | |
| te::qt::widgets::ColorMapWidget * | m_colorMapWidget |
| Color Map Widget used to configure the grouping operation over a raster. More... | |
| te::qt::widgets::GroupingWidget * | m_groupingWidget |
| Grouping Widget used to configure the grouping operation. More... | |
| te::map::AbstractLayerPtr | m_layer |
| Layer ptr. More... | |
| std::unique_ptr< te::rst::Raster > | m_raster |
| te::se::RasterSymbolizer * | m_rasterSymb |
| std::unique_ptr< Ui::GroupingDialogForm > | m_ui |
| Dialog form. More... | |
A dialog used to build a grouping.
Definition at line 67 of file GroupingDialog.h.
| te::qt::widgets::GroupingDialog::GroupingDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructs a basic fill dialog which is a child of parent, with widget flags set to f.
Definition at line 43 of file GroupingDialog.cpp.
References m_ui, onPushButtonClicked(), and ~GroupingDialog().
|
default |
Destructor.
Referenced by GroupingDialog().
|
protected |
Definition at line 144 of file GroupingDialog.cpp.
References m_allLayers, m_colorMapWidget, m_layer, m_ui, onApplyClicked(), and te::qt::widgets::ColorMapWidget::setLayers().
Referenced by setLayers().
|
protected |
Definition at line 129 of file GroupingDialog.cpp.
References m_allLayers, m_groupingWidget, m_layer, m_ui, onApplyClicked(), and te::qt::widgets::GroupingWidget::setLayers().
Referenced by setLayers().
|
protectedslot |
Definition at line 204 of file GroupingDialog.cpp.
References m_ui.
Referenced by buildRasterGroupingInteface(), and buildVectorialGroupingInteface().
|
protectedslot |
Definition at line 159 of file GroupingDialog.cpp.
References band, te::se::RasterSymbolizer::getChannelSelection(), te::qt::widgets::ColorMapWidget::getColorMap(), te::qt::widgets::ColorMapWidget::getCurrentBand(), te::se::ChannelSelection::getGrayChannel(), te::qt::widgets::GroupingWidget::getGrouping(), te::se::GRAY_COMPOSITION, m_colorMapWidget, m_groupingWidget, m_layer, m_rasterSymb, te::se::ChannelSelection::setColorCompositionType(), te::se::RasterSymbolizer::setColorMap(), te::se::ChannelSelection::setGrayChannel(), te::se::SelectedChannel::setSourceChannelName(), and te::qt::widgets::GroupingWidget::updateStyle().
Referenced by GroupingDialog().
| void te::qt::widgets::GroupingDialog::setLayers | ( | te::map::AbstractLayerPtr | selectedLayer, |
| std::vector< te::map::AbstractLayerPtr > | allLayers | ||
| ) |
Definition at line 61 of file GroupingDialog.cpp.
References buildRasterGroupingInteface(), buildVectorialGroupingInteface(), ds, te::se::RasterSymbolizer::getColorMap(), te::da::GetFirstPropertyPos(), te::map::RasterLayer::getRaster(), te::se::GetRasterSymbolizer(), te::map::AbstractLayer::getStyle(), m_allLayers, m_colorMapWidget, m_layer, m_raster, m_rasterSymb, te::dt::RASTER_TYPE, te::qt::widgets::ColorMapWidget::setColorMap(), and te::qt::widgets::ColorMapWidget::setRaster().
Referenced by TerraView::onLayerGroupingTriggered().
|
private |
All Project Layers with Grouping.
Definition at line 112 of file GroupingDialog.h.
Referenced by buildRasterGroupingInteface(), buildVectorialGroupingInteface(), and setLayers().
|
private |
Color Map Widget used to configure the grouping operation over a raster.
Definition at line 106 of file GroupingDialog.h.
Referenced by buildRasterGroupingInteface(), onPushButtonClicked(), and setLayers().
|
private |
Grouping Widget used to configure the grouping operation.
Definition at line 105 of file GroupingDialog.h.
Referenced by buildVectorialGroupingInteface(), and onPushButtonClicked().
|
private |
Layer ptr.
Definition at line 108 of file GroupingDialog.h.
Referenced by buildRasterGroupingInteface(), buildVectorialGroupingInteface(), onPushButtonClicked(), and setLayers().
|
private |
Definition at line 109 of file GroupingDialog.h.
Referenced by setLayers().
|
private |
Definition at line 110 of file GroupingDialog.h.
Referenced by onPushButtonClicked(), and setLayers().
|
private |
Dialog form.
Definition at line 104 of file GroupingDialog.h.
Referenced by buildRasterGroupingInteface(), buildVectorialGroupingInteface(), GroupingDialog(), and onApplyClicked().