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. Copy MainWindow content and interact with it
QtWS25 Last Chance

Copy MainWindow content and interact with it

Scheduled Pinned Locked Moved Unsolved General and Desktop
mainwindowcopyresizeinterface
2 Posts 2 Posters 1.2k Views
  • 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.
  • E Offline
    E Offline
    eduardo_parra
    wrote on 27 Apr 2016, 07:36 last edited by
    #1

    Hi, i have created a video viewer application. It can display 4 videos in a layout and the user can resize each video with the mouse. Now i have to create a second window with the same content that the first one and i want that every resize made in each window is updated on the other window. So my question is, is there any function or way to duplicate my mainwindow so you can interacte in one of the copies??. Sorry for my english and thanks in advance!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Apr 2016, 07:48 last edited by
      #2

      Hi,

      No, it's something you'll have to implement yourself.

      You'll probably have to create an event filter that will re-send any relevant event to your other windows.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      1/2

      27 Apr 2016, 07:36

      • Login

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