[Qgis-developer] QgsAttributeTableModel.setRequest in Python
matthias.kuhn at gmx.ch
Mon Jan 20 14:08:05 PST 2014
There is the QgsAttributeTableFilterModel which is a proxy model to be
applied in front of the QgsAttributeTableModel, which allows you to
dynamically apply filters, while the request set to the table model
itself is rather static. With this one you can set the filter mode to
ShowFilteredList and set a list of feature ids (setFilteredFeatures)
which are to be shown.
But the setting the request should become part of the public API as
On Mon 20 Jan 2014 22:38:09 CET, Radosław Pasiok wrote:
> Hello Devs!
> I am trying to populate QgsAttributeTableView with some features that
> meet a request in Python (QGIS-master).
> My first try was to use
> QgsAttributeTableModel.setRequest(QgsFeatureRequest) but it is not yet
> implemented in Python bindings as I see in .
> I would like to kindly ask if there are some plans for the
> implementation soon? Or is there an other way to filter features for
> QgsAttributeTableView ?
> Thank you for any information!
> Używam wolnego oprogramowania:
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
More information about the Qgis-developer