QMainWindow starting location?
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
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.