I have a group of layers that contain itself other groups (as shown in picture).
I need to hide one group by uncheking the checkbox in the legend.
is there any way to do it programatically using python?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
to set invisible :
to set visibe :
Qt::Unchecked 0 Qt::PartiallyChecked 1 (some children are checked and some are not) Qt::Checked 2