Results 1 to 2 of 2

Thread: Two monitors, two forms

  1. #1
    Join Date
    Mar 2013
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Two monitors, two forms

    Hello, everybody!
    I built program with 2 widgets (two forms), the second form is linked to button click on the first, i.e. I pressed the button on 1st widget and 2nd widget is created. But I need some special thing: I need to open 2nd widget on the second monitor of the computer. Is the a standart solution for that task?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Two monitors, two forms

    Take a look at QDesktopWidget. I've never tried it, but I imagine you can look up the available geometry of the "other" screen and QWidget::move()/QWidget::resize() your new widget to place and fit it.

Similar Threads

  1. qt with multiple monitors
    By denizlitr in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 15th May 2013, 09:48
  2. Large desktop for Multiple Display Monitors
    By yxtx1984 in forum Qt Programming
    Replies: 5
    Last Post: 23rd December 2011, 10:37
  3. Multiple Forms and vertical layout in forms
    By eva2002 in forum Qt Programming
    Replies: 0
    Last Post: 13th January 2010, 05:05
  4. QGLWidget with multiple monitors
    By Rayven in forum Qt Programming
    Replies: 3
    Last Post: 4th August 2006, 10:28
  5. Solaris/SPARC with Multi-Monitors
    By Rayven in forum Qt Programming
    Replies: 2
    Last Post: 27th July 2006, 03:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.