Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
QMainWindow starting location?
Zerby last edited by
I want every QMainWindow to start on top of the parent window. Is this possible? For example, I have two displays, and if I move my app to my second screen, every new QMainWindow spawns to my main display, not the one my application is actually on.
You could set the position of your new QMainWindow before showing to the same position as the reference window. Have a look at the QDesktopWidget for more information
Hope it helps
thEClaw last edited by
You know about the "move":http://qt-project.org/doc/qt-5.1/qtwidgets/qwidget.html#pos-prop function of QWidget (which QMainWindow is)?
Move your widget where you want to see it.