QgsLayerTree
·
[Framework] - QGIS
root: QgsLayerTree = QgsProject().instance().layerTreeRoot()QgsLayerTree 클래스는 QgsLayerTreeNode클래스 기반이므로 child()와 parent() 메소드를 통해 부모, 자식 노드를 반환할 수 있다. 이는 계층형 UI의 model을 구현할 때 용이하다. """/*************************************************************************** begin : email : ***************************************************************************..