반응형

PyQt5 -- layout 관리 주의사항


환경 ; windows 10 64bit, anaconda 3 32bit, python 3.6, PyQt5.6.2


참고 : http://zetcode.com/gui/pyqt5/layout/

        http://stackoverflow.com/questions/24599186/qt-why-adding-layout-to-mainwindow-by-code-didnt-work-but-adding-as-centralw

        http://doc.qt.io/qt-5/qmainwindow.html#details






<< 주의 >>


QMainWindow 에서는 QHBoxLayout, QVBoxLayout 같은 layout 사용못함

  -- QMainWindow 자체의 layout 사용한다. 





<< 화면 결과 >>






<< 소스 >>



----








반응형
Posted by 자유프로그램
,