[QGIS-trac] [Quantum GIS] #3157: Load an editable layer as a readonly one

Quantum GIS qgis at qgis.org
Tue Oct 26 07:43:00 EDT 2010


#3157: Load an editable layer as a readonly one
------------------------------------------------+---------------------------
   Reporter:  brushtyler                        |              Owner:  nobody       
       Type:  enhancement                       |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  Map Legend                        |            Version:               
   Keywords:                                    |   Platform_version:               
   Platform:  Debian                            |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 Would be very useful for plugins developer the possibility to add a layer
 in canvas disabling its editing capabilities.

 A solution could be adding a pair of methods setReadOnly(bool) and
 isReadOnly() for the layers. If set as read only, editing would be
 disabled.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3157>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list