Qt designer
-
-
Let me see if I understand you correctly. You have a custom widget plugin for Qt Designer for your own widget, which has a property of type double. You'd like to enter the property value in the Qt property editor for this widget in scientific notation. Right?
-
I don't think it will be easy to do. Creator allows for a lot, but there are some blank areas on the map of what can be inserted. AFAIK, you can't provide non-standard editors for the property editor, especially not on a property-by-property basis for your plugin.
I think I'd either go for a special type where you separate the factor and the exponent into two fields (a double and an integer), or use a QString that you'd just verify on setting it.