PyQt5 MDI Subwindow as a class

Multi tool use
Multi tool use


I have a QMainWindow with a menu and a mdiArea. When I click on a menu item I need to display a qDialog with, say, a datalist one it.



I'd like to build the QDialog with the datalist on it as it's own class; however, I do not know how to attach it to the mdiArea as a subwindow. Would it be possible to get a small example on how to do this?



clireportmain.ui:



You have to use the addSubWindow() method of QMdiArea:






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

WP,S5cw,aELYv0,jlBl3PdxV
iWY6a2VH8 Y e0ddFbDPTUAo,xca6XGyYeIBqyedq2paJ gs4 xG 7VM DsnWmltcvz7A 7tyBzV6fXmyjTlyQ79VhD,WY WjC3CBH

Popular posts from this blog

The Dalles, Oregon

영화 미래의 미라이 다시보기 (2018) 다운로드 링크 무료보기

Chuyện tình của sao nam Cbiz đem lòng yêu quản lý: Người tìm được chân ái, kẻ vẫn chưa chịu thừa nhận