#include <TimeViewerDockWidget.h>
Signals | |
| void | triggered (te::qt::af::evt::Event *e) |
Public Member Functions | |
| TimeViewerDockWidget (QWidget *parent=nullptr) | |
| ~TimeViewerDockWidget () | |
Protected Slots | |
| void | onAccumulateButtonClicked () |
| void | onAccumulateOkClicked () |
| void | onAccumulateSelect () |
| void | onApplicationTriggered (te::qt::af::evt::Event *e) |
| void | onApplyButtonClicked () |
| void | onBackButtonClicked () |
| void | onEditLegendApplyClicked () |
| void | onLayerCBoxSelected (int index) |
| void | onLegendButtoClicked () |
| void | onPassButtonClicked () |
| void | onPauseButtonClicked () |
| void | onPlayButtonClicked () |
| void | onSliderChanged () |
| void | onStopButtonClicked () |
Private Member Functions | |
| void | buildSymbolizer (std::string date) |
| void | drawLayer () |
| void | getDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues) |
| void | setupLayer () |
| void | setupLayerCombo () |
| void | setupLayerInt () |
| void | setupPlayer () |
| void | setupSlider () |
Private Attributes | |
| QString | m_accumColor = "#dddddd" |
| bool | m_accumulate |
| te::qt::af::BaseApplication * | m_app |
| std::string | m_class |
| std::string | m_datasetName |
| std::vector< std::string > | m_dates |
| std::atomic< bool > | m_drawing |
| QEventLoop * | m_drawingLoop |
| std::string | m_dsId |
| te::da::DataSourcePtr | m_dsPtr |
| std::unique_ptr< te::qt::plugins::tv::TimeViewerEditAccumulateDialog > | m_editAccumulateDialog |
| std::unique_ptr< te::qt::plugins::tv::TimeViewerEditLegendDialog > | m_editLegendDialog |
| std::string | m_end |
| QFuture< void > | m_future |
| std::string | m_label |
| te::map::QueryLayerPtr | m_layer |
| std::list< te::map::AbstractLayerPtr > | m_layerList |
| QWidget * | m_mainWidget |
| std::vector< te::se::Rule * > | m_rules |
| bool | m_sliderThr |
| std::string | m_start |
| Ui::TimeViewerWidget * | m_ui |
| std::vector< std::string > | vec |
Definition at line 100 of file TimeViewerDockWidget.h.
| te::qt::plugins::tv::TimeViewerDockWidget::TimeViewerDockWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 105 of file TimeViewerDockWidget.cpp.
References te::qt::af::BOTH, te::common::Singleton< ApplicationController >::getInstance(), m_app, m_editAccumulateDialog, m_editLegendDialog, m_mainWidget, m_ui, onAccumulateButtonClicked(), onAccumulateOkClicked(), onAccumulateSelect(), onApplyButtonClicked(), onBackButtonClicked(), onEditLegendApplyClicked(), onLegendButtoClicked(), onPassButtonClicked(), onPauseButtonClicked(), onPlayButtonClicked(), onStopButtonClicked(), setupLayerCombo(), and setupSlider().
| te::qt::plugins::tv::TimeViewerDockWidget::~TimeViewerDockWidget | ( | ) |
Definition at line 174 of file TimeViewerDockWidget.cpp.
References te::qt::widgets::LayerItemView::getAllLayers(), te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::BaseApplication::getLayerExplorer(), te::qt::af::BaseApplication::getMapDisplay(), m_app, m_layer, m_ui, te::map::MapDisplay::setLayerList(), and te::qt::widgets::LayerItemView::setLayers().
|
private |
|
private |
Definition at line 643 of file TimeViewerDockWidget.cpp.
References te::qt::af::BaseApplication::getMapDisplay(), m_app, m_drawing, m_layer, te::qt::widgets::MapDisplay::setSRID(), and triggered().
Referenced by onSliderChanged().
|
private |
|
protectedslot |
Definition at line 380 of file TimeViewerDockWidget.cpp.
References m_accumColor, and m_editAccumulateDialog.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 665 of file TimeViewerDockWidget.cpp.
References m_accumColor, and m_editAccumulateDialog.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 669 of file TimeViewerDockWidget.cpp.
References m_ui.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 674 of file TimeViewerDockWidget.cpp.
References te::qt::af::evt::DRAWING_FINISHED, m_drawing, and te::qt::af::evt::Event::m_id.
|
protectedslot |
Definition at line 403 of file TimeViewerDockWidget.cpp.
References te::qt::widgets::LayerItemView::getAllLayers(), te::qt::af::BaseApplication::getLayerExplorer(), te::qt::af::BaseApplication::getMapDisplay(), m_app, m_datasetName, m_dates, m_dsPtr, m_end, m_layer, m_start, m_ui, onSliderChanged(), te::map::MapDisplay::setLayerList(), te::qt::widgets::LayerItemView::setLayers(), and setupLayerInt().
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 294 of file TimeViewerDockWidget.cpp.
References m_ui.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 660 of file TimeViewerDockWidget.cpp.
References m_editLegendDialog, and m_rules.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 209 of file TimeViewerDockWidget.cpp.
References te::common::Singleton< DataSourceManager >::getInstance(), m_datasetName, m_dsId, m_dsPtr, and m_ui.
Referenced by setupLayerCombo().
|
protectedslot |
Definition at line 386 of file TimeViewerDockWidget.cpp.
References m_datasetName, m_editLegendDialog, m_layer, and setupLayerInt().
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 285 of file TimeViewerDockWidget.cpp.
References m_ui.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 270 of file TimeViewerDockWidget.cpp.
References m_sliderThr, and m_ui.
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 303 of file TimeViewerDockWidget.cpp.
References m_future, and setupPlayer().
Referenced by TimeViewerDockWidget().
|
protectedslot |
Definition at line 476 of file TimeViewerDockWidget.cpp.
References te::fe::AbstractOp::clone(), te::se::Style::clone(), te::fe::CreateFilterByUniqueValue(), te::se::CreateSymbolizer(), drawLayer(), Filter(), te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::dt::Property::getName(), te::fe::Filter::getOp(), m_accumColor, m_datasetName, m_dates, m_dsPtr, m_end, m_layer, m_rules, m_start, m_ui, te::se::Style::push_back(), te::se::Style::removeRules(), te::da::Select::setFields(), te::se::Rule::setFilter(), te::da::Select::setFrom(), te::fe::Filter::setOp(), te::se::Rule::setSymbolizers(), te::da::Select::setWhere(), te::fe::Globals::sm_and, te::fe::Globals::sm_propertyIsEqualTo, te::fe::Globals::sm_propertyIsLessThan, and te::da::SQLVisitor::visit().
Referenced by onApplyButtonClicked(), and setupSlider().
|
protectedslot |
Definition at line 276 of file TimeViewerDockWidget.cpp.
References m_sliderThr, and m_ui.
Referenced by TimeViewerDockWidget().
|
private |
Definition at line 247 of file TimeViewerDockWidget.cpp.
References te::se::CreateFeatureTypeStyle(), generateId(), te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::dt::Property::getName(), te::gm::GeometryProperty::getSRID(), m_datasetName, m_dsId, m_dsPtr, m_layer, and te::map::VISIBLE.
Referenced by setupLayerInt().
|
private |
Definition at line 194 of file TimeViewerDockWidget.cpp.
References te::qt::af::evt::GetAvailableLayers::m_layers, m_ui, onLayerCBoxSelected(), and triggered().
Referenced by TimeViewerDockWidget().
|
private |
Definition at line 340 of file TimeViewerDockWidget.cpp.
References te::da::GetFirstGeomProperty(), te::dt::Property::getName(), m_datasetName, m_dsPtr, m_layer, te::da::Select::setFields(), te::da::Select::setFrom(), setupLayer(), and te::da::SQLVisitor::visit().
Referenced by onApplyButtonClicked(), and onLegendButtoClicked().
|
private |
Definition at line 307 of file TimeViewerDockWidget.cpp.
References m_drawing, m_sliderThr, and m_ui.
Referenced by onPlayButtonClicked().
|
private |
Definition at line 165 of file TimeViewerDockWidget.cpp.
References m_ui, and onSliderChanged().
Referenced by TimeViewerDockWidget().
|
signal |
Referenced by drawLayer(), and setupLayerCombo().
|
private |
Definition at line 150 of file TimeViewerDockWidget.h.
Referenced by onAccumulateButtonClicked(), onAccumulateOkClicked(), and onSliderChanged().
|
private |
Definition at line 152 of file TimeViewerDockWidget.h.
|
private |
Definition at line 169 of file TimeViewerDockWidget.h.
Referenced by drawLayer(), onApplyButtonClicked(), TimeViewerDockWidget(), and ~TimeViewerDockWidget().
|
private |
Definition at line 148 of file TimeViewerDockWidget.h.
|
private |
Definition at line 147 of file TimeViewerDockWidget.h.
Referenced by onApplyButtonClicked(), onLayerCBoxSelected(), onLegendButtoClicked(), onSliderChanged(), setupLayer(), and setupLayerInt().
|
private |
Definition at line 170 of file TimeViewerDockWidget.h.
Referenced by onApplyButtonClicked(), and onSliderChanged().
|
private |
Definition at line 158 of file TimeViewerDockWidget.h.
Referenced by drawLayer(), onApplicationTriggered(), and setupPlayer().
|
private |
Definition at line 157 of file TimeViewerDockWidget.h.
|
private |
Definition at line 144 of file TimeViewerDockWidget.h.
Referenced by onLayerCBoxSelected(), and setupLayer().
|
private |
Definition at line 160 of file TimeViewerDockWidget.h.
Referenced by onApplyButtonClicked(), onLayerCBoxSelected(), onSliderChanged(), setupLayer(), and setupLayerInt().
|
private |
Definition at line 167 of file TimeViewerDockWidget.h.
Referenced by onAccumulateButtonClicked(), onAccumulateOkClicked(), and TimeViewerDockWidget().
|
private |
Definition at line 166 of file TimeViewerDockWidget.h.
Referenced by onEditLegendApplyClicked(), onLegendButtoClicked(), and TimeViewerDockWidget().
|
private |
Definition at line 146 of file TimeViewerDockWidget.h.
Referenced by onApplyButtonClicked(), and onSliderChanged().
|
private |
Definition at line 155 of file TimeViewerDockWidget.h.
Referenced by onPlayButtonClicked().
|
private |
Definition at line 149 of file TimeViewerDockWidget.h.
|
private |
Definition at line 162 of file TimeViewerDockWidget.h.
Referenced by drawLayer(), onApplyButtonClicked(), onLegendButtoClicked(), onSliderChanged(), setupLayer(), setupLayerInt(), and ~TimeViewerDockWidget().
|
private |
Definition at line 161 of file TimeViewerDockWidget.h.
|
private |
Definition at line 172 of file TimeViewerDockWidget.h.
Referenced by TimeViewerDockWidget().
|
private |
Definition at line 164 of file TimeViewerDockWidget.h.
Referenced by onEditLegendApplyClicked(), and onSliderChanged().
|
private |
Definition at line 153 of file TimeViewerDockWidget.h.
Referenced by onPauseButtonClicked(), onStopButtonClicked(), and setupPlayer().
|
private |
Definition at line 145 of file TimeViewerDockWidget.h.
Referenced by onApplyButtonClicked(), and onSliderChanged().
|
private |
Definition at line 142 of file TimeViewerDockWidget.h.
Referenced by onAccumulateSelect(), onApplyButtonClicked(), onBackButtonClicked(), onLayerCBoxSelected(), onPassButtonClicked(), onPauseButtonClicked(), onSliderChanged(), onStopButtonClicked(), setupLayerCombo(), setupPlayer(), setupSlider(), TimeViewerDockWidget(), and ~TimeViewerDockWidget().
|
private |
Definition at line 171 of file TimeViewerDockWidget.h.