QMainWindow starting location?
General and Desktop
3
Posts
3
Posters
1.4k
Views
1
Watching
-
-
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.