[Interest] Interesting problem with properties.

Igor Mironchik igor.mironchik at gmail.com
Wed May 27 23:23:43 CEST 2015


Hi,

27.05.2015 23:41, Koehne Kai пишет:
>>>> sendButton = new QtMWidgets::NavigationButton(
>>>>            QtMWidgets::NavigationButton::Right, QObject::tr( "Send" ), q );
>>>>
>>>> First setText() invokes with "Send" text from constructor of
>>>> NavigationButton, it's normal. But I have second invoke with "&Send".
>>>>
>>>> What is the problem can be?
>>> Interesting; something decided that your button should have an
>>> accelerator? What platform are you on? (If Linux, what DE?)
>> This problem appears on Linux Kubuntu 15.04. On Windows 7 I didn't see
>> this problem.
> This is most likely then the KDEPlatformTheme plugin messing with your texts.
>
> See e.g. https://bugs.kde.org/show_bug.cgi?id=337491 . It doesn't seem like KDE considers this a problem ...

Thank you. Now I can sleep peacefully :)

But that  KDE doesn't consider this a problem is a problem :)

It's seems that I have to implement more smart painting and hide this 
"&" sign...

Thank you again.




More information about the Interest mailing list