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