OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Qt not passing mouse to callbacks


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
bclay
User


Joined: 28 Oct 2015
Posts: 21

PostPosted: Fri Feb 22, 2019 3:04 pm    Post subject:
Qt not passing mouse to callbacks
Reply with quote

Hi,

I am using Qt 5.11 with OSG 3.6.2 and osgEarth 2.10 Dev on windows 7 and 10.

When I use the generic OSG window operations everything works fine but when I use Qt in a frameless mode I have to use the osgViewer::GrahicsHanleWin32 to mode to put OSG in the frameless window. When I do this the mouse and keyboard event have to be handled separately. I intercept the QT events and pass them on to to OSG using the osgGa::EventQueue. This works ok for most direct operations but callbacks do not seem to get the mouse inputs they need such as drawing a bounding box or using the picker.

Is there a separate step required to pass the mouse events into callbacks so they can operate as they should

Thank you!

Cheers,
Bruce
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts How to hide mouse cursor? Ligvest General 1 Thu Mar 28, 2019 1:40 pm View latest post
No new posts Mouse Events are impossible to work with Steal General 0 Fri Mar 15, 2019 4:02 pm View latest post
No new posts show mouse cursor in embedded osg Meldryt General 1 Thu Feb 28, 2019 5:13 pm View latest post
No new posts How do I continuously read the mouse ... kornerr General 9 Wed Feb 06, 2019 2:02 pm View latest post
No new posts [customizing manipulator] problem wit... mp3butcher General 1 Tue Apr 24, 2018 3:19 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP