Skip to content

Commit

Permalink
Use QgsStyleModel in Style Manager dialog
Browse files Browse the repository at this point in the history
Fixes MANY symbol filtering issues in the dialog, and brings many
improvements (e.g. hidpi fixes, nicer tooltips, etc)
  • Loading branch information
nyalldawson committed Jan 14, 2019
1 parent ef250c4 commit b72e01f
Show file tree
Hide file tree
Showing 4 changed files with 432 additions and 370 deletions.
31 changes: 22 additions & 9 deletions python/gui/auto_generated/symbology/qgsstylemanagerdialog.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@




class QgsStyleManagerDialog : QDialog
{
%Docstring
Expand Down Expand Up @@ -75,7 +76,11 @@ Close the dialog
Open the associated help
%End

void itemChanged( QStandardItem *item );
void itemChanged( QStandardItem *item ) /Deprecated/;
%Docstring

.. deprecated:: in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
%End

void groupChanged( const QModelIndex & );
void groupRenamed( QStandardItem * );
Expand Down Expand Up @@ -153,28 +158,36 @@ Remove all tags from selected symbols

protected:

void populateTypes();
void populateTypes() /Deprecated/;
%Docstring
populate combo box with known style items (symbols, color ramps)
Populate combo box with known style items (symbols, color ramps).

.. deprecated:: in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
%End

void populateGroups();
%Docstring
populate the groups
%End
void setSymbolsChecked( const QStringList & );

void setSymbolsChecked( const QStringList & ) /Deprecated/;
%Docstring
to set symbols checked when in editing mode

.. deprecated:: in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
%End

void populateSymbols( const QStringList &symbolNames, bool checkable = false );
void populateSymbols( const QStringList &symbolNames, bool checkable = false ) /Deprecated/;
%Docstring
populate list view with symbols of the current type with the given names
Populates the list view with symbols of the current type with the given names.

.. deprecated:: No longer required in QGIS 3.6, as the model is updated live. Has no effect and will be removed in QGIS 4.0
%End

void populateColorRamps( const QStringList &colorRamps, bool checkable = false );
void populateColorRamps( const QStringList &colorRamps, bool checkable = false ) /Deprecated/;
%Docstring
populate list view with color ramps
Populates the list view with color ramps of the current type with the given names.

.. deprecated:: No longer required in QGIS 3.6, as the model is updated live. Has no effect and will be removed in QGIS 4.0
%End

int currentItemType();
Expand Down
Loading

0 comments on commit b72e01f

Please sign in to comment.