Skip to content
Permalink
Browse files

Add a read only mode to QgsStyleManagerDialog

Allows the dialog to browse an existing style, but prevents users
from making any edits to the style.
  • Loading branch information
nyalldawson committed Jan 16, 2019
1 parent 97fef53 commit ec8b299b9b27ad088a2b18741ded5c54be79efd6
@@ -23,7 +23,8 @@ A dialog allowing users to customize and populate a QgsStyle.
%End
public:

QgsStyleManagerDialog( QgsStyle *style, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags() );
QgsStyleManagerDialog( QgsStyle *style, QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags(),
bool readOnly = false );
%Docstring
Constructor for QgsStyleManagerDialog, with the specified ``parent`` widget and window ``flags``.

0 comments on commit ec8b299

Please sign in to comment.
You can’t perform that action at this time.