Re: [Interest] Can't get menu with QWidgetAction to close after click! (Mac OS 10.6.8, Qt 4.8.3)

2012-10-09 Thread Jim Prouty
On Oct 9, 2012, at 5:29 PM, Alex Malyushytskyy wrote: > By the way try to call QAction->trigger(); > in _onPushButton(bool b) > > If MAC implementation depends on this signal it definitely should > solve the problem. > By default QWidgetAction does not call it: > > "Note that it is up to the

Re: [Interest] Can't get menu with QWidgetAction to close after click! (Mac OS 10.6.8, Qt 4.8.3)

2012-10-09 Thread Alex Malyushytskyy
By the way try to call QAction->trigger(); in _onPushButton(bool b) If MAC implementation depends on this signal it definitely should solve the problem. By default QWidgetAction does not call it: "Note that it is up to the widget to activate the action, for example by reimplementing mouse event

Re: [Interest] Can't get menu with QWidgetAction to close after click! (Mac OS 10.6.8, Qt 4.8.3)

2012-10-09 Thread Alex Malyushytskyy
On Windows, QT 4.7 it works as as expected. I guess problem is specific to MAC Alex On Tue, Oct 9, 2012 at 3:39 PM, Jim Prouty wrote: > > On Oct 9, 2012, at 12:31 PM, Stephen Chu wrote: > >> Are you sure you want a push button or a text entry field in the menu >> from the menu bar? >> >> It's,

Re: [Interest] Can't get menu with QWidgetAction to close after click! (Mac OS 10.6.8, Qt 4.8.3)

2012-10-09 Thread Jim Prouty
On Oct 9, 2012, at 12:31 PM, Stephen Chu wrote: > Are you sure you want a push button or a text entry field in the menu > from the menu bar? > > It's, hmm, very different way of building an UI. Especially on a Mac. > That's only a test program; the real application has a color swatch in the w

Re: [Interest] Can't get menu with QWidgetAction to close after click! (Mac OS 10.6.8, Qt 4.8.3)

2012-10-09 Thread Stephen Chu
Are you sure you want a push button or a text entry field in the menu from the menu bar? It's, hmm, very different way of building an UI. Especially on a Mac. On 10/9/12 2:29 PM, Jim Prouty wrote: > In this test program (Qt 4.8.3 on Mac OS X 10.6.8), I've got one > QMenu added to the menubar, and

[Interest] Can't get menu with QWidgetAction to close after click! (Mac OS 10.6.8, Qt 4.8.3)

2012-10-09 Thread Jim Prouty
In this test program (Qt 4.8.3 on Mac OS X 10.6.8), I've got one QMenu added to the menubar, and the menu has several QWidgetActions, including one that has a Done QPushButton and a QSpinBox. Having connected the QPushButton to a slot, I'm trying to get the menu to close up after the button has

Re: [Interest] sequential animations on ListView Elements

2012-10-09 Thread Jana Aurindam
ViewTransitions are applied when data in the model changes. If thats not the case, then you need to animate each item separately. -- Aurindam Jana, Software Engineer - Digia, Qt Don't Panic! Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius

[Interest] Delegate editor background when editing

2012-10-09 Thread Pierre-Étienne Messier
Hi, To my surprise, when updateEditorGeometry() do not return the whole delegate area, the background color of the delegate is not painted with the paint() method, but is filled with solid color (black in my case, as it is the background color). Is there any way to paint the normal delegate and ov

Re: [Interest] Which Qt-graphics module to choose when dealing with implementing a Wayland compositor with Qt-Compositor module?

2012-10-09 Thread Samuel Rødal
On 10/08/2012 10:05 PM, Tim Bienias wrote: > Hello qt'ers, > > currently I'm developing a compositor with the QtWayland-module. > The compositor shall show Wayland-clients, but only one client at a > time. When you wipe over the surface the compositor switches to the next > client. > There shall al