The QgsMapLayerComboBox class is a combo box which displays the list of layers.
More...
#include <qgsmaplayercombobox.h>
|
| QgsMapLayerProxyModel::Filters | filters |
| |
The QgsMapLayerComboBox class is a combo box which displays the list of layers.
- Note
- added in 2.3
Definition at line 30 of file qgsmaplayercombobox.h.
| QgsMapLayerComboBox::QgsMapLayerComboBox |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
| QgsMapLayer * QgsMapLayerComboBox::currentLayer |
( |
| ) |
const |
| QgsMapLayerProxyModel::Filters QgsMapLayerComboBox::filters |
( |
| ) |
const |
|
inline |
| void QgsMapLayerComboBox::indexChanged |
( |
int |
i | ) |
|
|
protectedslot |
| void QgsMapLayerComboBox::layerChanged |
( |
QgsMapLayer * |
layer | ) |
|
|
signal |
layerChanged this signal is emitted whenever the currently selected layer changes
| void QgsMapLayerComboBox::setFilters |
( |
QgsMapLayerProxyModel::Filters |
filters | ) |
|
setFilters allows fitering according to layer type and/or geometry type.
Definition at line 29 of file qgsmaplayercombobox.cpp.
| void QgsMapLayerComboBox::setLayer |
( |
QgsMapLayer * |
layer | ) |
|
|
slot |
| QgsMapLayerProxyModel::Filters QgsMapLayerComboBox::filters |
|
readwrite |
The documentation for this class was generated from the following files: