336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
PyQt5 Simple Window (pythonspot.com)
Reference List
Python Code
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5.QtGui import QIcon
import sys
class App(QWidget):
def __init__(self):
super().__init__()
self.title = 'Simple window'
self.left = 10
self.top = 10
self.width = 640
self.height = 480
self.initUI()
def initUI(self):
self.setWindowTitle(self.title)
self.setGeometry(self.left, self.top, self.width, self.height)
self.show()
if __name__ == '__main__':
app = QApplication(sys.argv)
ex = App()
sys.exit(app.exec_())
'Programming' 카테고리의 다른 글
ZetCode (Python PyQt5) (0) | 2017.11.16 |
---|
댓글