I now have a QWidget, clicking a button in this widget would call another window(A Q3MainWindow).
I have set the show() and setActiveWindow() to the new window, however I found that the new window don't have the control, it just appears as showing the ui, there's no response with any event of the new window(like clicking buttons).
Meanwhile I found that the original window still gain the control(which I don't expect it to do so)
Can anyone tell me what's going on? Or what should I do?
(NewWin inherits Q3MainWindow)Qt Code:
NewWin *newWin = new NewWin(); newWin->show(); newWin->setActiveWindow();To copy to clipboard, switch view to plain text mode
Thanks
Bookmarks