The QgsCustomLayerOrderWidget class provides a list box where the user can define custom order for drawing of layers.
More...
#include <qgscustomlayerorderwidget.h>
Detailed Description
The QgsCustomLayerOrderWidget class provides a list box where the user can define custom order for drawing of layers.
It also features a checkbox for enabling or disabling the custom order. Any changes made by the user are automatically propagated to the assigned QgsLayerTreeMapCanvasBridge. Also, any updates to the layer tree cause refresh of the list.
- See Also
- QgsLayerTreeMapCanvasBridge
- Note
- added in 2.4
Constructor & Destructor Documentation
Member Function Documentation
void QgsCustomLayerOrderWidget::bridgeCustomLayerOrderChanged |
( |
const QStringList & |
order | ) |
|
|
protectedslot |
void QgsCustomLayerOrderWidget::bridgeHasCustomLayerOrderChanged |
( |
bool |
override | ) |
|
|
protectedslot |
void QgsCustomLayerOrderWidget::modelUpdated |
( |
| ) |
|
|
protectedslot |
void QgsCustomLayerOrderWidget::nodeVisibilityChanged |
( |
QgsLayerTreeNode * |
node, |
|
|
Qt::CheckState |
state |
|
) |
| |
|
protectedslot |
Member Data Documentation
QCheckBox* QgsCustomLayerOrderWidget::mChkOverride |
|
protected |
QListView* QgsCustomLayerOrderWidget::mView |
|
protected |
The documentation for this class was generated from the following files: