Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. some question about e mbed one application into another application.
Forum Updated to NodeBB v4.3 + New Features

some question about e mbed one application into another application.

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 408 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    waitianlou
    wrote on last edited by waitianlou
    #1

    I use a QX11EmbedContainer to embed a application: spicec(it based on X11). just like follows:

    QX11EmbedContainer spicec;
    spicec.embedClient(winId);
    spicec.setMouseTracking(true);
    spicec.show();

    I have some unresolved questions:

    1:I reimplemented mouseMoveEvent, but it does not work (the parent widget set setMouseTracking(true) too); So how can I get the mouse move event from QX11EmbedContainer? Or is there any way can get mouse move event, even the mouse is not in a Qt windows (global mouse move event)?

    2: Since the embeded windows have its own size, is there any way get the original size of the the embeded windows? Because I want adjust my qt application to show its full content.

    The environment is Ubuntu 14.04 and Qt 4.8.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved