cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Use property interfaces for all standard types #58

Closed sbusch42 closed 10 years ago

sbusch42 commented 10 years ago

As already implemented for integral and floating point types, create interface classes also for the other basic types, e.g., strings and colors. That way, one can implement a new property type, e.g., a QColor, using that interface, and the GUI will be able to show the already implemented color dialog. Currently, one would also have to subclass the editor factory and re-implement the color editor, because this only works with 'Color'. This change would make the property system much more flexible to work with classes that are not directly supported, but have similar functionality.

sbusch42 commented 10 years ago

Has been implemented for strings and colors so far. If more interfaces are needed, this issue should be reopened.