.... More...
#include <PostGISDataSetSelectorDialog.h>
Public Member Functions | |
| void | getSelecteds (PostGISRasterInfoVec &vec) |
| PostGISDataSetSelectorDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | set (const te::da::DataSourceInfoPtr &ds) |
| ~PostGISDataSetSelectorDialog () | |
Protected Slots | |
| void | onItemPressed (QTreeWidgetItem *item, int column) |
| void | onMapPreviewToggled (bool on) |
| void | onResizeTimeout () |
Protected Member Functions | |
| void | buildDataSetInfoProperties (te::rst::Raster *raster) |
| void | drawDataSet (std::string dataSetName, std::string schema) |
| void | getDataSetInfo (std::string dataSetName, std::string schema) |
| std::string | getGDALURI (std::string dataSetName, std::string schema) |
| void | listDataSets () |
| void | resizeEvent (QResizeEvent *e) |
Private Types | |
| enum | ItemType { ROOT_ITEM, TABLE_ITEM } |
Private Attributes | |
| te::da::DataSourceInfoPtr | m_datasource |
| std::unique_ptr< te::qt::widgets::DataSetDisplay > | m_mapPreview |
| QtTreePropertyBrowser * | m_propertyBrowser |
| QGridLayout * | m_propertyLayout |
| RasterPropertiesInfo * | m_rasterPropertyInfo |
| QTreeWidgetItem * | m_rootItem |
| QTimer * | m_timer |
| Timer to execute redraw on resize action. More... | |
| std::unique_ptr< Ui::PostGISDataSetSelectorDialogForm > | m_ui |
....
Definition at line 75 of file PostGISDataSetSelectorDialog.h.
| Enumerator | |
|---|---|
| ROOT_ITEM | |
| TABLE_ITEM | |
Definition at line 79 of file PostGISDataSetSelectorDialog.h.
| te::qt::plugins::pgisRaster::PostGISDataSetSelectorDialog::PostGISDataSetSelectorDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 41 of file PostGISDataSetSelectorDialog.cpp.
References m_mapPreview, m_propertyLayout, m_timer, m_ui, onItemPressed(), onMapPreviewToggled(), and onResizeTimeout().
| te::qt::plugins::pgisRaster::PostGISDataSetSelectorDialog::~PostGISDataSetSelectorDialog | ( | ) |
Definition at line 73 of file PostGISDataSetSelectorDialog.cpp.
References m_propertyBrowser, and m_rasterPropertyInfo.
|
protected |
Definition at line 237 of file PostGISDataSetSelectorDialog.cpp.
References m_propertyBrowser, m_propertyLayout, and m_rasterPropertyInfo.
Referenced by getDataSetInfo().
|
protected |
Definition at line 187 of file PostGISDataSetSelectorDialog.cpp.
References ds, getGDALURI(), m_mapPreview, m_ui, and te::da::DataSourceFactory::make().
Referenced by onItemPressed().
|
protected |
Definition at line 214 of file PostGISDataSetSelectorDialog.cpp.
References buildDataSetInfoProperties(), ds, te::da::GetFirstPropertyPos(), getGDALURI(), te::da::DataSourceFactory::make(), and te::dt::RASTER_TYPE.
Referenced by onItemPressed().
|
protected |
Definition at line 261 of file PostGISDataSetSelectorDialog.cpp.
References m_datasource.
Referenced by drawDataSet(), getDataSetInfo(), and getSelecteds().
| void te::qt::plugins::pgisRaster::PostGISDataSetSelectorDialog::getSelecteds | ( | PostGISRasterInfoVec & | vec | ) |
|
protected |
Definition at line 125 of file PostGISDataSetSelectorDialog.cpp.
References ds, te::common::Singleton< DataSourceManager >::getInstance(), m_datasource, m_rootItem, m_ui, ROOT_ITEM, and TABLE_ITEM.
Referenced by set().
|
protectedslot |
Definition at line 303 of file PostGISDataSetSelectorDialog.cpp.
References drawDataSet(), getDataSetInfo(), and ROOT_ITEM.
Referenced by onMapPreviewToggled(), and PostGISDataSetSelectorDialog().
|
protectedslot |
Definition at line 284 of file PostGISDataSetSelectorDialog.cpp.
References m_mapPreview, m_ui, and onItemPressed().
Referenced by onResizeTimeout(), and PostGISDataSetSelectorDialog().
|
protectedslot |
Definition at line 317 of file PostGISDataSetSelectorDialog.cpp.
References m_ui, and onMapPreviewToggled().
Referenced by PostGISDataSetSelectorDialog().
|
protected |
Definition at line 254 of file PostGISDataSetSelectorDialog.cpp.
References m_timer.
| void te::qt::plugins::pgisRaster::PostGISDataSetSelectorDialog::set | ( | const te::da::DataSourceInfoPtr & | ds | ) |
Definition at line 79 of file PostGISDataSetSelectorDialog.cpp.
References ds, te::common::Singleton< DataSourceTypeManager >::getInstance(), te::qt::widgets::DataSourceType::getTitle(), listDataSets(), m_datasource, and m_ui.
|
private |
Definition at line 122 of file PostGISDataSetSelectorDialog.h.
Referenced by getGDALURI(), listDataSets(), and set().
|
private |
Definition at line 120 of file PostGISDataSetSelectorDialog.h.
Referenced by drawDataSet(), onMapPreviewToggled(), and PostGISDataSetSelectorDialog().
|
private |
Definition at line 126 of file PostGISDataSetSelectorDialog.h.
Referenced by buildDataSetInfoProperties(), and ~PostGISDataSetSelectorDialog().
|
private |
Definition at line 128 of file PostGISDataSetSelectorDialog.h.
Referenced by buildDataSetInfoProperties(), and PostGISDataSetSelectorDialog().
|
private |
Definition at line 127 of file PostGISDataSetSelectorDialog.h.
Referenced by buildDataSetInfoProperties(), and ~PostGISDataSetSelectorDialog().
|
private |
Definition at line 124 of file PostGISDataSetSelectorDialog.h.
Referenced by getSelecteds(), and listDataSets().
|
private |
Timer to execute redraw on resize action.
Definition at line 130 of file PostGISDataSetSelectorDialog.h.
Referenced by PostGISDataSetSelectorDialog(), and resizeEvent().
|
private |
Definition at line 119 of file PostGISDataSetSelectorDialog.h.
Referenced by drawDataSet(), listDataSets(), onMapPreviewToggled(), onResizeTimeout(), PostGISDataSetSelectorDialog(), and set().