Details
-
Suggestion
-
Resolution: Out of scope
-
P2: Important
-
4.0.1
-
None
Description
Class property values of QString type, specified with the Q_PROPERTY macro, get marked for translation by uic when they are set via Designer (or other GUI builder). When the setter function of the property is called, the string is enclosed in the tr() function. Sometimes, however, it is desirable to prevent the value of a property from being translated.
It would be nice if the Q_PROPERTY macro had a way of preventing strings from being translated.