Skip to content

Commit

Permalink
Merge pull request #7752 from 3nids/project_layers
Browse files Browse the repository at this point in the history
Legend tree in 'Identify Layers'
  • Loading branch information
3nids committed Sep 3, 2018
2 parents 3c58d09 + 0ef33d8 commit 3f85938
Show file tree
Hide file tree
Showing 10 changed files with 620 additions and 241 deletions.
19 changes: 19 additions & 0 deletions python/core/auto_generated/qgsvectorlayer.sip.in
Expand Up @@ -1496,6 +1496,18 @@ If you need only the count of committed features call this method on this layer'
Make layer read-only (editing disabled) or not

:return: false if the layer is in editing yet
%End

bool searchable() const;
%Docstring
Returns true if the provider is in read-only mode
%End

void setSearchable( bool searchable );
%Docstring
Make layer searchable or not

.. versionadded:: 3.4
%End

bool changeGeometry( QgsFeatureId fid, QgsGeometry &geometry, bool skipDefaultValue = false );
Expand Down Expand Up @@ -2581,6 +2593,13 @@ Emitted when the read only state of this layer is changed.
Only applies to manually set readonly state, not to the edit mode.

.. versionadded:: 3.0
%End

void searchableChanged();
%Docstring
Emitted when the search state of this layer is changed.

.. versionadded:: 3.4
%End

void symbolFeatureCountMapChanged();
Expand Down
2 changes: 2 additions & 0 deletions src/app/CMakeLists.txt
Expand Up @@ -54,6 +54,7 @@ SET(QGIS_APP_SRCS
qgslabelengineconfigdialog.cpp
qgslabelinggui.cpp
qgslabelingwidget.cpp
qgslayercapabilitiesmodel.cpp
qgslayertreeviewembeddedindicator.cpp
qgslayertreeviewfilterindicator.cpp
qgslayertreeviewmemoryindicator.cpp
Expand Down Expand Up @@ -275,6 +276,7 @@ SET (QGIS_APP_MOC_HDRS
qgslabelinggui.h
qgslabelingwidget.h
qgslabelpropertydialog.h
qgslayercapabilitiesmodel.h
qgslayertreeviewembeddedindicator.h
qgslayertreeviewmemoryindicator.h
qgslayertreeviewfilterindicator.h
Expand Down

1 comment on commit 3f85938

@andreasneumann
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @3nids

I tested the new Project --> Data sources dialogues with the new "Identify layers" section.

It seems like on KDE (Linux) only a small portion of the window is used (see screenshot below). I had similar behavior in other dialogs and it could be fixed. Maybe @nyalldawson still knows how to fix this?

image

Please sign in to comment.