tobby48 6 years ago
parent
commit
ab4364a83b
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      src/kr/co/swh/lecture/python/pyqt5/label.py

+ 0
- 2
src/kr/co/swh/lecture/python/pyqt5/label.py View File

1
 import sys
1
 import sys
2
 from PyQt5.QtWidgets import *
2
 from PyQt5.QtWidgets import *
3
-from PyQt5.QtGui import QIcon
4
 from PyQt5.QtCore import *
3
 from PyQt5.QtCore import *
5
 
4
 
6
 class MyWindow(QMainWindow):
5
 class MyWindow(QMainWindow):
15
 
14
 
16
     def initUI(self):
15
     def initUI(self):
17
         self.setWindowTitle(self.title)
16
         self.setWindowTitle(self.title)
18
-        self.setWindowIcon(QIcon('favicon.ico'))
19
         self.setGeometry(self.left, self.top, self.width, self.height)
17
         self.setGeometry(self.left, self.top, self.width, self.height)
20
 
18
 
21
         self.label = QLabel("", self)
19
         self.label = QLabel("", self)