# This file contains metadata for your plugin.

# This file should be included when you package your plugin.# Mandatory items:

[general]
name=Multifilter
qgisMinimumVersion=3.0
description=Filter multiple layers
version=1.0
author=Morten Sickel
email=morten@sickel.net

about=Set the same filter on mulitple selected layers in a project
    
	<b>Usage</b>
    Select the layers to be filtered in the dropdown list and press the + button. Type in a filter expression in the text box and press "Filter". The same filter will be set on all layers, any existing filter will be removed.
    
    Select a layer and press the '-' button to remove the layer from the list, this will not change the filter status for the layer.
    
    Press 'Clear' to remove the filter on all listed layers, this will leave the layers unfiltered and not restore any earlier filter.
    
    Press the 'C'-button to add the filter from the selected layer into the filter box. If there is any filter description in the box when this is done, the resulting filter will probably be invalid, as they should be chained together with an 'and', 'or' or similar if both parts are to be used.
    
	Press 'Q' to run the query editor on the selected layer. That layer will be filtered and the filter expression copied to the filter edit box. Press 'Filter' to apply that filter to all selected layers.
    
    The settings in the dialog will be stored in the active project.

    The plugin is not checking the filter in any way. At least for a layer from Postgis or temporary scratch layers, there will be an error message if a wrong field name is given, for some other types of layers, it will fail quietly and not return any data. Tip: Set the filter on one of the layers using the normal filtering dialog and copy the filter. A layer that has no items left when filtere will be marked in orange. Any layers on which the filter is detected to fail will be marked in red.
    
    The list is just the names of the layers as when they are added. If the layer name is changed later on, this will not be reflected. To update this, remove and re-add the layer or close and reopen the project. The filtering is based on the layer id and will work with the original layer.
     
    If a layer is not found when filtering, it will get marked with a gray background
    
	
tracker=http://github.com/sickel/multi_filter
repository=http://github.com/sickel/multi_filter
# End of mandatory metadata

# Recommended items:

hasProcessingProvider=no
# Uncomment the following line and add your changelog:
changelog=v1.0 Can use the Query Builder on a selected layer, more marking of layers that have or may have issues after filtering.
     v0.91 Marking layers with no items after filtering
     v0.9 Storing settings in project. Can copy filter from layer. 
     v0.5 Released

# Tags are comma separated with spaces allowed
tags=filter,vector

homepage=http://github.com/sickel/multi_filter
category=Vector 
icon=icon.png
# experimental flag
experimental=False

# deprecated flag (applies to the whole plugin, not just a single version)
deprecated=False

# Since QGIS 3.8, a comma separated list of plugins to be installed
# (or upgraded) can be specified.
# Check the documentation for more information.
# plugin_dependencies=

Category of the plugin: Raster, Vector, Database or Web
# category=

# If the plugin can run on QGIS Server.
server=False

