[bt-devel] Icons and buttons
Gary Holmlund
gary.holmlund at gmail.com
Fri Apr 10 19:26:19 MST 2009
Eeli Kaikkonen wrote:
> Gary Holmlund wrote:
>
>> I agree that the helper makes sense. I was not trying to say otherwise.
>> I just wanted to point out that we could use QDialogButtonBox and still
>> use our own text.
>>
>> I will look into changing these.
>
>
> The new helper function looks fine. I just fine-tuned some strings -
> you seem to like Title Case too much :) I'm not sure about the OK
> button. I changed it to OK from Ok to obey the KDE standard. Is it OK?
> ( :) )
You are right that I did not get some of them right, but I am not sure
that you did either. Perhaps it depends upon what the standard is. If
you believe that Qt is correct on their standard buttons it would be:
OK
Restore Defaults
Yes to All
No to All
>
> I also added translator comments. They don't seem to work in Qt 4.4
> but they are mentioned in 4.5 QObject::tr() documentation. Comments
> are more proper way to give this kind of hint about the meaning. The
> tr() char* argument is meant to disambiguate between similar strings
> in the same context.
I was not aware of the new comment form in Qt 4.5. Thanks.
Gary
More information about the bt-devel
mailing list