Hi,

The main problem with the existing solution is that the MenuBar object:

   oMenuBar := QMenuBar():new( QT_PTROF( oWnd ) )

defined in demoqt isn't connected to the QMainWindow object. This fact can be 
easily checked by the QMainWindow resizing; the MenuBar doesn't follows this 
operation.
The proposed solution connects the MenuBar object to the QMainWindow object, 
correcting the QMainWindow behavior.

Regards,
István

-----Original Message-----
From: Pritpal Bedi [mailto:bediprit...@hotmail.com] 
Sent: Friday, April 17, 2009 6:55 PM
To: harbour@harbour-project.org
Subject: RE: [Harbour] SF.net SVN: harbour-project:[10881] trunk/harbour


Hi


Bisz István wrote:
> 
> Could you please replace in hbqtgen.prg the line 2278:
> 
>    aadd( txt_, '   oMenuBar:show()                                            
>                                                            
> ' )
> 
> with:
> 
>    aadd( txt_, '   oWnd:setMenuBar( QT_PTROF( oMenuBar ) )                    
>                                                            
> ' )
> 
> for a better menu bar functionality. This change has been tested on Vista.
> Thank you.
> 

Can you explain a bit what artifacts it corrects?
I will change this though.

Regards
Pritpal Bedi


-- 
View this message in context: 
http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10881--trunk-harbour-tp23099638p23101550.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.



_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to