cginternals / libzeug

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

prefix and postfix in gui for number properties #69

Open kateyy opened 10 years ago

kateyy commented 10 years ago

This could be used to display a unit of measurement or a currency symbol.

scheibel commented 10 years ago

The placement of the currency symbol depends on the specific currency that should be displayed.

Is the currency a real requirement or just another example of prefixes and suffixes for number properties?

kateyy commented 10 years ago

It's just an example, currently I would need this feature a add a % to a float value. BTW QSpinBox supports this feature.

mjendruk commented 10 years ago

I will implement this as soon as the variantmap for options is integrated