You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visual aspects of properties can be tuned by property delegates.
For example for Float property we have QtnPropertyDelegateFloat default delegate with min/max/step/suffix/multiplier/precision attributes which can be configured.
To modify these attributes you can use code like this:
auto p = qtnCreateProperty<QtnPropertyFloat>(parent);
p->setDelegateAttribute("min", -3);
Scientific/Regular notation is not supported now. I think it could be implemented in the existing delegate class or implemented as a separate delegate.
@kusharami It seems QtnPropertyDelegateFloat delegate was heavily refactored by you. What do you think about scientific notation support for Double/Float? Can we add such support to the existing delegate?
Hi!
I operate with small values which should be entered in scientific notation. For example 0.000000001 is more convenient when written as 1.0e-9.
Is it possible to set up display format for qtnCreateProperty?
The text was updated successfully, but these errors were encountered: