QGIS API Documentation
2.8.2-Wien
|
The QgsCustomLayerOrderWidget class provides a list box where the user can define custom order for drawing of layers. More...
#include <qgscustomlayerorderwidget.h>
Public Member Functions | |
QgsCustomLayerOrderWidget (QgsLayerTreeMapCanvasBridge *bridge, QWidget *parent=0) |
Protected Slots | |
void | bridgeCustomLayerOrderChanged (const QStringList &order) |
void | bridgeHasCustomLayerOrderChanged (bool state) |
void | modelUpdated () |
void | nodeVisibilityChanged (QgsLayerTreeNode *node, Qt::CheckState state) |
Protected Attributes | |
QgsLayerTreeMapCanvasBridge * | mBridge |
QCheckBox * | mChkOverride |
CustomLayerOrderModel * | mModel |
QListView * | mView |
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.
Definition at line 38 of file qgscustomlayerorderwidget.h.
|
explicit |
Definition at line 176 of file qgscustomlayerorderwidget.cpp.
|
protectedslot |
Definition at line 217 of file qgscustomlayerorderwidget.cpp.
|
protectedslot |
Definition at line 210 of file qgscustomlayerorderwidget.cpp.
|
protectedslot |
Definition at line 232 of file qgscustomlayerorderwidget.cpp.
|
protectedslot |
Definition at line 223 of file qgscustomlayerorderwidget.cpp.
|
protected |
Definition at line 54 of file qgscustomlayerorderwidget.h.
|
protected |
Definition at line 56 of file qgscustomlayerorderwidget.h.
|
protected |
Definition at line 57 of file qgscustomlayerorderwidget.h.
|
protected |
Definition at line 58 of file qgscustomlayerorderwidget.h.