[Interest] Interesting problem with properties.
Matthew Woehlke
mw_triad at users.sourceforge.net
Wed May 27 21:07:15 CEST 2015
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?)
--
Matthew
More information about the Interest
mailing list