[Qt-interest] QActions don't appear in QMenu

Oszkar Ambrus oszkar.ambrus at deri.org
Thu Jul 15 12:36:14 CEST 2010


On 15/07/10 05:16, David Boosalis wrote:
> Was curious as to why your not using KAction instead of QAction since
> your using KIcon.  There is even a KStandardAction::Find

I was trying out different things to see which one worked.
At that stage I had QAction, but will replace it with a KAction.

Regards,
Oszkar

>
> On Wed, Jul 14, 2010 at 12:39 PM, Oszkar Ambrus <oszkar.ambrus at deri.org
> <mailto:oszkar.ambrus at deri.org>> wrote:
>
>     On 14/07/10 20:33, Constantin Makshin wrote:
>      > That's strange.
>      >
>      > I've made a "quick and dirty" test application (see the
>     attachment) and everything works as expected.
>
>     Wow, cool, thanks! :)
>     I think it has to do with parenting. Weird... I have to see what I
>     can do.
>
>      > By the way, your connect() call looks a bit weird, too — the
>     signal has a parameter, but the slot does not.
>
>     The signal is that way, because the parameterless one is not emitted (I
>     checked the source code), but I don't need the parameter.
>
>     Regards,
>     Oszkar
>
>     _______________________________________________
>     Qt-interest mailing list
>     Qt-interest at trolltech.com <mailto:Qt-interest at trolltech.com>
>     http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>





More information about the Qt-interest-old mailing list