Results 1 to 2 of 2

Thread: Newbie question about Qt multiscreen application

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Newbie question about Qt multiscreen application

    Hi, I'm beginning Qt programming and I'm wondering what would be the proper way for my application to setup multiple fullscreen windows on multiple screens. I'm not looking for someone to give me step by step directions, I'm just a bit confused by the varying answers I found on the web and I'd like to get a few tips to start my application design "the proper way" instead of cobbling it any way I can and having to redo everything later). I'm an ok C programmer ; I just dont have my head wrapped completely around Qt yet.



    Basically, my app is destined to open one window per screen on a multi-screen workstation, each one being full screen and serving as a base canvas on which the user can click to add widgets (the user sets his interface as he wishes, this is for a lighting control program). All the UI elements will be drawn by the app, so no titlebar/menus, I need to cover every inch of the screen (It will eventually run as a X11 app without any window manager like an embedded system but on standard computer hardware so no memory/resource constraints)


    What I'm not sure about is :

    How can I find out how many screens are connected on the workstation and open a fullscreen base window on each screen and how should I derive my app classes so that I dont muck around the program structure, signal/slotmessaging system or other important features.


    All the rest I'm reasonably sure I can figure out while I'm doing it and any screwups will be localized to widgets/ui elements ; it's the main program structure I'm worried about mucking up and having to redo completely down the road.


    Any tips would be greatly appreciated.


    Cordially,
    Remy

  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: Newbie question about Qt multiscreen application

    You should look to QDesktopWidget for information on multi-head systems.

Similar Threads

  1. REAL Newbie question -- where to go from here?
    By scott_hollen in forum Newbie
    Replies: 4
    Last Post: 21st January 2011, 08:35
  2. Newbie Designer question
    By JariV in forum Qt Tools
    Replies: 0
    Last Post: 15th February 2009, 22:24
  3. QAbstractItemModel newbie question
    By okellogg in forum Qt Programming
    Replies: 14
    Last Post: 18th February 2008, 12:30
  4. Newbie threading question
    By deepayan in forum Qt Programming
    Replies: 17
    Last Post: 16th April 2007, 00:25
  5. Tipical newbie question
    By Dark_Tower in forum Newbie
    Replies: 2
    Last Post: 24th March 2006, 06:24

Tags for this Thread

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.