tobby48 6 years ago
parent
commit
b32410afbd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/kr/co/swh/lecture/python/pyqt5/mainwindow3.py

+ 1
- 1
src/kr/co/swh/lecture/python/pyqt5/mainwindow3.py View File

@@ -3,7 +3,7 @@ from PyQt5.QtWidgets import *
3 3
 from PyQt5.QtGui import QIcon
4 4
 from PyQt5.QtCore import Qt
5 5
 
6
-class MyWindow(QWidget):
6
+class MyWindow(QMainWindow):
7 7
     def __init__(self):
8 8
         super().__init__()
9 9
         self.title = 'SWH Academy Window.'