#include <omglayerselector.h>
Inheritance diagram for OmgLayerSelector:
Definition at line 33 of file omglayerselector.h.
Public Slots | |
void | on_toolDirectorySelector_clicked () |
void | on_toolRefresh_clicked () |
void | accept () |
void | reject () |
QStringList | getSelectedLayers () |
QString | getBaseDir () |
void | setSelectionMode (QAbstractItemView::SelectionMode theMode) |
void | refresh () |
Public Member Functions | |
OmgLayerSelector (QString theBaseDir, QWidget *parent=0, Qt::WFlags fl=0) | |
~OmgLayerSelector () | |
Private Member Functions | |
void | resizeEvent (QResizeEvent *event) |
void | updateFileList () |
void | buildTree (const QString &dirname, QTreeWidgetItem *theListViewItem, bool theForceScanFlag=false) |
void | parseLayerGroup (const QDomElement &theElement, QTreeWidgetItem *theParentItem) |
void | showInfo () |
QTreeWidgetItem * | createItem (const QDomElement &theElement, QTreeWidgetItem *thepParentItem) |
Private Attributes | |
QTreeWidgetItem * | mpListParent |
QString | mBaseDirName |
QStringList | mSelectedLayersList |
QIcon | mFolderIcon |
QIcon | mProjectionOkIcon |
QIcon | mProjectionErrorIcon |
|
Definition at line 46 of file omglayerselector.cpp. References buildTree(), mBaseDirName, mFolderIcon, mpListParent, mProjectionErrorIcon, mProjectionOkIcon, on_toolDirectorySelector_clicked(), and showInfo(). |
Here is the call graph for this function:
|
Definition at line 108 of file omglayerselector.cpp. |
|
Definition at line 166 of file omglayerselector.cpp. References updateFileList(). |
|
Definition at line 196 of file omglayerselector.cpp. References Omgui::createTextFile(), Omgui::fileSelectorCachePath(), OmgModellerPluginInterface::getLayers(), OmgModellerPluginInterface::getMessenger(), OmgModellerPluginRegistry::instance(), parseLayerGroup(), and refresh(). Referenced by OmgLayerSelector(), on_toolDirectorySelector_clicked(), and on_toolRefresh_clicked(). |
Here is the call graph for this function:
|
Definition at line 327 of file omglayerselector.cpp. Referenced by parseLayerGroup(). |
|
Definition at line 186 of file omglayerselector.cpp. References mBaseDirName. Referenced by OmgGdalRasterContour::on_pbnSelectFile_clicked(), OmgGdalConverter::on_pbnSelectFile_clicked(), OmgLayerSetManager::on_toolAddLayers_clicked(), OmgExperimentDesigner::on_toolFormatLayer_clicked(), and OmgLayerSetManager::on_toolNewMaskLayer_clicked(). |
|
Definition at line 181 of file omglayerselector.cpp. References mSelectedLayersList. Referenced by OmgGdalRasterContour::on_pbnSelectFile_clicked(), OmgGdalConverter::on_pbnSelectFile_clicked(), OmgLayerSetManager::on_toolAddLayers_clicked(), OmgExperimentDesigner::on_toolFormatLayer_clicked(), and OmgLayerSetManager::on_toolNewMaskLayer_clicked(). |
|
Definition at line 117 of file omglayerselector.cpp. References buildTree(), mBaseDirName, and mpListParent. Referenced by OmgLayerSelector(). |
|
Definition at line 141 of file omglayerselector.cpp. References buildTree(), mBaseDirName, and mpListParent. |
|
Definition at line 279 of file omglayerselector.cpp. References createItem(), mFolderIcon, mProjectionErrorIcon, and mProjectionOkIcon. Referenced by buildTree(). |
Here is the call graph for this function:
|
Let plugins scanning directories send regular progress updates Definition at line 339 of file omglayerselector.cpp. Referenced by buildTree(). |
|
Definition at line 174 of file omglayerselector.cpp. References mSelectedLayersList. |
|
Definition at line 113 of file omglayerselector.cpp. |
|
Set the select mode for the layer selector. Typically you will want to use either QAbstractItemView::ExtendedSelection or QAbstractItemView::SingleSelection
Definition at line 191 of file omglayerselector.cpp. Referenced by OmgExperimentDesigner::on_toolFormatLayer_clicked(), and OmgLayerSetManager::on_toolNewMaskLayer_clicked(). |
|
Definition at line 344 of file omglayerselector.cpp. References Omgui::defaultStyleSheet(). Referenced by OmgLayerSelector(). |
Here is the call graph for this function:
|
Definition at line 152 of file omglayerselector.cpp. References mSelectedLayersList. Referenced by accept(). |
|
Definition at line 59 of file omglayerselector.h. Referenced by getBaseDir(), OmgLayerSelector(), on_toolDirectorySelector_clicked(), and on_toolRefresh_clicked(). |
|
Definition at line 66 of file omglayerselector.h. Referenced by OmgLayerSelector(), and parseLayerGroup(). |
|
Definition at line 58 of file omglayerselector.h. Referenced by OmgLayerSelector(), on_toolDirectorySelector_clicked(), and on_toolRefresh_clicked(). |
|
Definition at line 68 of file omglayerselector.h. Referenced by OmgLayerSelector(), and parseLayerGroup(). |
|
Definition at line 67 of file omglayerselector.h. Referenced by OmgLayerSelector(), and parseLayerGroup(). |
|
Definition at line 60 of file omglayerselector.h. Referenced by getSelectedLayers(), reject(), and updateFileList(). |