Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, November 2006
qdockwidget toggleViewAction bug?


Message 1 in thread

I am trying to use the toggleViewAction in the DockWidget for a
Checkable menu item in my application. But i noticed that the dock
window closing/hiding is not completely synchronised with its action.
When a dock window is closed/hidden, the action still remains checked.
You will need to uncheck, and check it again to make the dock window
visible again.

I noticed that this occurs in the mainwindows->dockWidgets example as
well. Is this a bug or am i using the action incorrectly?

I am using Qt 4.1.0 on a WinXP machine using the default style.

Message 2 in thread

On 01.11.06 13:56:24, gisfans gisfans wrote:
> Checkable menu item in my application. But i noticed that the dock
> window closing/hiding is not completely synchronised with its action.
> When a dock window is closed/hidden, the action still remains checked.
> You will need to uncheck, and check it again to make the dock window
> visible again.

This sounds like a bug, but....

> I am using Qt 4.1.0 on a WinXP machine using the default style.

This version is quite old. Try out Qt4.1.4 or 4.2.1 and see if it still
happens for you. If so, report it as bug to TT.

Andreas

-- 
 [ signature omitted ]