c++ - Nesting QMainWindows in Qt -
i'm making game in qt. game displayed qgraphicsview/qdockwidget in qmainwindow. i'm trying make menu it, thought make qmainwindow qpushbuttons. want integrated in 1 qmainwindow. when click "new game" in menu, game(qgraphicsview/qdockwidget) (and in same window) displayed, without first shutting down menu-window , showing game-window.
it easier have 1 qmainwindow game , menu qwidgets, impossible because i'm using qdockwidgets, have make seperate qmainwindow display game.
any solutions?
best regards
you switch qml (qt declarative) easy use state menus shown , 1 displaying game without menus.
Comments
Post a Comment