← All bug reports

FS#663(de-)select by property

Type
Feature Request
Status
Closed
Resolution
Implemented
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.0.0
Operating system
All
Reported
2012-08-02 by stefan
Closed
2013-12-05 by andrew

It would be nice if one could
- select
- deselect from the current selection
all entities with a specific property, for example:
- all entities which are texts
- all entities with angle === 180
- all entities with color !== red
The current property editor has the perfect gui for it. On a similar gui one could change a value there which changes the selection instead of the properties of the selected entities.

I think there would be no need for "and" or "or", if the current selection can be reduced or extended.

Comments (6)

stefan 2012-08-04

I tried it myself. :) Attached you find SelectWidget which is based on PropertyEditor, here one may reduce the current selection by or to matching elements.

All three files are located in qcad/scripts/MyTools/SelectWidget where "qcad/scripts" are the original folders and "MyTools" is an arbitrary name, "SelectWidget" is fixed.

stefan 2012-08-05

added "nearby" option to allow floating point comparison, switched off debug info

stefan 2012-08-16

added icon, fixed nearby comparison for negative values

Closure comment

This has been implemented in QCAD 3.4.4 with a new widget called 'Selection Filter'.