[Interest] Interesting problem with properties.

Igor Mironchik igor.mironchik at gmail.com
Wed May 27 22:29:11 CEST 2015


Hi,

27.05.2015 22:07, Matthew Woehlke пишет:
> On 2015-05-23 07:00, Igor Mironchik wrote:
>> I have class NavigationButton that derived from QAbstractButton.
>> NavigationButton redefines property QString: text.
>>
>> In my application I have one such button and initialize it with the
>> following code:
>>
>> 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.




More information about the Interest mailing list