[Qt-jambi-interest] QActionGroup and QActions
Eskil Abrahamsen Blomfeldt
eblomfel at trolltech.com
Wed Apr 2 17:15:45 CEST 2008
Dawid Sip wrote:
> public void mm(){
> gr = new QActionGroup(this);
>
> mono_stereoGroup.addAction(ui.action_Stereo);
> mono_stereoGroup.addAction(ui.action_Mono);
>
> //ui.toolBar.addActions(gr.actions());
> }
> "
> where as you can see I create a group and add the two actions that I
> created in with the Designer and which declarations are in Ui_blahblah.java.
>
> The problem now is that the behavior is not what you'd expect from a
> group, when one is checked the other is also checked sometimes, ore none
> is chcecked, or in some constelation it is even right.. Does someone
> know what could be causing this chaotic behaviour?
>
Hi, Dawid.
I'm not able to reproduce your problem on Windows with either the Qt
Jambi 4.4.0_01 preview or Qt Jambi 4.3.4_01. Attached to this mail are
the files I used for testing.
Could you check if these files illustrate the problem on your end, and
if not, alter them to show the problem?
If the issue is indeed present in this example as well, could you please
let me know what platform, version of Java and version of Qt Jambi you
are using?
-- Eskil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyMainWindow.java
Type: text/java
Size: 557 bytes
Desc: not available
Url : http://lists.trolltech.com/pipermail/qt-jambi-interest/attachments/20080402/654a0008/attachment.bin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: myMainWindow.jui
Url: http://lists.trolltech.com/pipermail/qt-jambi-interest/attachments/20080402/654a0008/attachment.pl
More information about the Qt-jambi-interest
mailing list