Unsolved [Question] How to add proper geometry to window to support dual monitors
-
Hello, I'm trying to design a UI for displaying 8 graphs simultaneously. I have 8 instances of QCustomPlot and I want to have them 4 on one screen and 4 on another.
I have grid layout on my mainwindow and so the geometry editing options are disabled on Qt creator like this: https://i.postimg.cc/V6mb0mGY/Qt-Designer.pngThe current result I'm getting is like this but I would like to start the program like this instead.
Does anyone have an idea?
-
Hi,
From the top of my head I would try to use QDesktopWidget and QScreen to query the geometry of the whole desktop and set your widget to that.
Hope it helps