Hi, I insert this QWidget in main.cpp and I move it beside myMainForm (). I'd like, when I move with mouse the windows application, that mw2 moving automatically (and take it beside mainForm); now when I move windows app, the position of mw2 don't change (it is fixed). Is it possible? Are you understand? thanks
myMainForm w;
a.setMainWidget(&w);
w.show();
mw2.setGeometry(0,0,200,400);
mw2.
move(w.
mapToGlobal(QPoint(w.
width(),
50)));
myMainForm w;
a.setMainWidget(&w);
w.show();
QWidget mw2;
mw2.setGeometry(0,0,200,400);
mw2.move(w.mapToGlobal(QPoint(w.width(),50)));
To copy to clipboard, switch view to plain text mode
Bookmarks