QWidget
가장 기본이 되는 Window View 입니다.
사용 되는 곳
생성
# -*- coding: UTF-8 -*-
import sys
from PyQt5.QtWidgets import QApplication, QWidget
class App(QWidget):
def __init__(self):
super(App, self).__init__()
self.setWindowTitle('Window!!!')
if __name__ == '__main__':
app = QApplication(sys.argv)
window = App()
window.show()
sys.exit(app.exec_())크기 조절
위치 조절
위치와 크기를 같이 조절
배경 색 변경
Last updated