A dialog used to build a grouping. More...
#include <GroupingDialog.h>
Public Member Functions | |
void | setLayer (te::map::AbstractLayerPtr layer) |
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 | |
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::auto_ptr< te::rst::Raster > | m_raster |
te::se::RasterSymbolizer * | m_rasterSymb |
std::auto_ptr < Ui::GroupingDialogForm > | m_ui |
Dialog form. More... | |
A dialog used to build a grouping.
Definition at line 65 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, and onPushButtonClicked().
te::qt::widgets::GroupingDialog::~GroupingDialog | ( | ) |
Destructor.
Definition at line 59 of file GroupingDialog.cpp.
|
protected |
Definition at line 143 of file GroupingDialog.cpp.
|
protected |
Definition at line 130 of file GroupingDialog.cpp.
|
protectedslot |
Definition at line 196 of file GroupingDialog.cpp.
|
protectedslot |
Definition at line 156 of file GroupingDialog.cpp.
References te::se::ChannelSelection::getGrayChannel(), te::se::GRAY_COMPOSITION, te::se::ChannelSelection::setColorCompositionType(), te::se::ChannelSelection::setGrayChannel(), and te::se::SelectedChannel::setSourceChannelName().
Referenced by GroupingDialog().
void te::qt::widgets::GroupingDialog::setLayer | ( | te::map::AbstractLayerPtr | layer | ) |
Definition at line 63 of file GroupingDialog.cpp.
References te::da::GetFirstPropertyPos(), te::map::RasterLayer::getRaster(), te::se::GetRasterSymbolizer(), te::map::AbstractLayer::getStyle(), te::dt::RASTER_TYPE, and te::se::RasterSymbolizer::setColorMap().
Referenced by te::qt::af::BaseApplication::onLayerGroupingTriggered().
|
private |
Color Map Widget used to configure the grouping operation over a raster.
Definition at line 104 of file GroupingDialog.h.
|
private |
Grouping Widget used to configure the grouping operation.
Definition at line 103 of file GroupingDialog.h.
|
private |
Layer ptr.
Definition at line 106 of file GroupingDialog.h.
|
private |
Definition at line 107 of file GroupingDialog.h.
|
private |
Definition at line 108 of file GroupingDialog.h.
|
private |