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
 from PyQt5.QtGui import QIcon
3
 from PyQt5.QtGui import QIcon
4
 from PyQt5.QtCore import Qt
4
 from PyQt5.QtCore import Qt
5
 
5
 
6
-class MyWindow(QWidget):
6
+class MyWindow(QMainWindow):
7
     def __init__(self):
7
     def __init__(self):
8
         super().__init__()
8
         super().__init__()
9
         self.title = 'SWH Academy Window.'
9
         self.title = 'SWH Academy Window.'