c++ - When embed one application into Qt application, hwo to get the mouseMoveEvent and embed windows size -


i use qx11embedcontainer embed application: spicec(it based on x11). follows:

qx11embedcontainer spicec; spicec.embedclient(winid); spicec.setmousetracking(true); spicec.show(); 

i have unresolved questions:

  1. i reimplemented mousemoveevent, not work (the parent widget set setmousetracking(true) too); how can mouse move event qx11embedcontainer? or there way can mouse move event, mouse not in qt windows (global mouse move event)?

  2. since embeded windows have own size, there way original size of the embeded windows? because want adjust qt application show full content.

the environment ubuntu 14.04 , qt 4.8.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -