Skip to content

Commit

Permalink
Add a read only mode to QgsStyleManagerDialog
Browse files Browse the repository at this point in the history
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 ec8b299
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 108 deletions.
Expand Up @@ -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``.

Expand Down

0 comments on commit ec8b299

Please sign in to comment.