Results 1 to 1 of 1

Thread: Control widget positioning with multiple desktops with multiple screens

  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Control widget positioning with multiple desktops with multiple screens

    Hello,

    I'm developing an application in an environment with three screens with two GPU's.
    We have two separate desktops, the first desktop with two screens ( screen1 and screen2, atached to a single GPU) as a virtual desktop, and the second desktop with one single screen ( screen3 atached to the second GPU) .

    Qt Code:
    1. screen1 screen2 screen3
    2. .------------- ------------- -------------
    3. | | | | | |
    4. | | | | | |
    5. | | | | | |
    6. .------------- ------------- -------------
    7. desktop1 desktop2
    To copy to clipboard, switch view to plain text mode 

    I see QDesktopWidget gives only information about the screens and I need to have some control to put my widgets on the screen I want. For example, I can't find how to change the primary screen of the application ( at runtime, obviously ). Moving is not the solution because they are separate desktops so I can't move a widget from screen2 to screen3 for example. Another useful feature for me would be to attach the main window to a default desktop, independently from the desktop I'm invoking the application.

    I'm working on linux as the main platform, qt 4.2.2, but I would like to have the most portable solution to control where I put the widgets in the available screens
    Last edited by chus; 21st December 2006 at 13:01.

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.