{"id":39160,"date":"2024-11-02T03:38:13","date_gmt":"2024-11-02T03:38:13","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39160"},"modified":"2024-11-26T06:42:16","modified_gmt":"2024-11-26T06:42:16","slug":"pyqt%ea%b0%9c%eb%b0%9c%ea%b0%95%ec%a2%8c-pyqt%eb%a1%9c-%ea%b0%84%eb%8b%a8%ed%95%9c-2d-%ea%b2%8c%ec%9e%84-%ec%a0%9c%ec%9e%91%ed%95%98%ea%b8%b0-%ed%82%a4%eb%b3%b4%eb%93%9c-%eb%b0%8f-%eb%a7%88%ec%9a%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39160\/","title":{"rendered":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791"},"content":{"rendered":"<p><!-- PyQt \uac1c\ubc1c \uac15\uc88c: PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30: \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 --><\/p>\n<h2>PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30<\/h2>\n<p>\ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\ub97c \ud65c\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c 2D \uac8c\uc784\uc744 \uc81c\uc791\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. PyQt\ub294 Python \uc5b8\uc5b4\ub97c \uc704\ud55c \uac15\ub825\ud55c GUI \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc27d\uac8c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ub9cc\ub4e4 \uc218 \uc788\uac8c \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ud2b9\ubcc4\ud788 \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\uc5ec \uac8c\uc784 \ub0b4 \uce90\ub9ad\ud130\ub97c \uc870\uc791\ud558\ub294 \ubc29\ubc95\uc5d0 \uc911\uc810\uc744 \ub450\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1. PyQt\uc640 \uac8c\uc784 \uac1c\ubc1c<\/h3>\n<p>PyQt\ub294 Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c Python\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, UI \uad6c\uc131 \uc694\uc18c\uac00 \ud48d\ubd80\ud558\uace0, \ud50c\ub7ab\ud3fc \uac04 \ud638\ud658\uc131\uc774 \ub6f0\uc5b4\ub09c \uc7a5\uc810\uc774 \uc788\uc2b5\ub2c8\ub2e4. PyQt\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac8c\uc784\uc744 \uac1c\ubc1c\ud560 \ub54c\ub294 \uc8fc\ub85c QGraphicsView \ubc0f QGraphicsScene\uc744 \uc0ac\uc6a9\ud574\uc11c 2D \uac8c\uc784\uc744 \uad00\ub9ac\ud558\ub294 \uac83\uc774 \uc77c\ubc18\uc801\uc785\ub2c8\ub2e4. \uc774 \uad6c\uc131 \uc694\uc18c\ub4e4\uc744 \uc0ac\uc6a9\ud558\uba74 \uac04\ud3b8\ud558\uac8c \uadf8\ub798\ud53d \uc694\uc18c\ub97c \ucd94\uac00\ud558\uace0, \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub97c \ud1b5\ud574 \uc0c1\ud638 \uc791\uc6a9\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2. \uac1c\ubc1c \ud658\uacbd \uc124\uc815<\/h3>\n<p>PyQt5\ub97c \uc124\uce58\ud558\ub824\uba74, Python\uacfc pip\uac00 \uc124\uce58\ub418\uc5b4 \uc788\uc5b4\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc758 \uba85\ub839\uc5b4\ub85c PyQt5\ub97c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>pip install PyQt5<\/code><\/pre>\n<h3>3. \uae30\ubcf8 \uac8c\uc784 \uad6c\uc870<\/h3>\n<p>\uc774\uc81c \uac04\ub2e8\ud55c \uac8c\uc784\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \ub9cc\ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc6b0\ub9ac\uc758 \uac8c\uc784\uc5d0\uc11c\ub294 \uce90\ub9ad\ud130\uac00 \ud654\uba74\uc5d0\uc11c \uc6c0\uc9c1\uc77c \uc218 \uc788\uac8c \ud558\ub294 \uae30\ubcf8\uc801\uc778 \uae30\ub2a5\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac8c\uc784\uc744 \uc704\ud55c \uae30\ubcf8 \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QMainWindow, QApplication, QGraphicsView, QGraphicsScene, QGraphicsEllipseItem\nfrom PyQt5.QtCore import Qt, QPointF\n\nclass GameWindow(QMainWindow):\n    def __init__(self):\n        super().__init__()\n\n        # QGraphicsView \ubc0f QGraphicsScene \uc124\uc815\n        self.setWindowTitle(\"Simple 2D Game\")\n        self.setGeometry(100, 100, 800, 600)\n\n        # Scene \uc0dd\uc131\n        self.scene = QGraphicsScene(self)\n        self.setCentralWidget(QGraphicsView(self.scene))\n        \n        # \uce90\ub9ad\ud130 \uac1d\uccb4 \uc0dd\uc131 \ubc0f \ucd94\uac00\n        self.character = QGraphicsEllipseItem(0, 0, 50, 50)  # \uae30\ubcf8\uc801\uc778 \uc6d0\ud615 \uce90\ub9ad\ud130\n        self.character.setBrush(Qt.blue)\n        self.character.setPos(375, 275)  # \ud654\uba74 \uc911\uc559\uc5d0 \ubc30\uce58\n        self.scene.addItem(self.character)\n        \n    def keyPressEvent(self, event):\n        if event.key() == Qt.Key_Up:\n            self.character.moveBy(0, -10)  # \uc704\ub85c \uc774\ub3d9\n        elif event.key() == Qt.Key_Down:\n            self.character.moveBy(0, 10)  # \uc544\ub798\ub85c \uc774\ub3d9\n        elif event.key() == Qt.Key_Left:\n            self.character.moveBy(-10, 0)  # \uc67c\ucabd\uc73c\ub85c \uc774\ub3d9\n        elif event.key() == Qt.Key_Right:\n            self.character.moveBy(10, 0)  # \uc624\ub978\ucabd\uc73c\ub85c \uc774\ub3d9\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    window = GameWindow()\n    window.show()\n    sys.exit(app.exec_())\n<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 \uae30\ubcf8\uc801\uc778 \uac8c\uc784 \ucc3d\uc744 \uc0dd\uc131\ud558\uace0, \uc6d0\ud615 \uce90\ub9ad\ud130\ub97c \ud654\uba74 \uc911\uc559\uc5d0 \ubc30\uce58\ud558\uc5ec \ud0a4\ubcf4\ub4dc\ub97c \ud1b5\ud574 \uce90\ub9ad\ud130\ub97c \uc870\uc791\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4.<\/p>\n<h3>4. \uc774\ubca4\ud2b8 \ucc98\ub9ac \uc0c1\uc138 \uc124\uba85<\/h3>\n<p>\uac8c\uc784\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc785\ub825\uc744 \ucc98\ub9ac\ud558\ub294 \uac83\uc740 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4. \uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c \uc0ac\uc6a9\ud55c <code>keyPressEvent<\/code> \uba54\uc11c\ub4dc\ub294 \ud0a4\ubcf4\ub4dc \uc774\ubca4\ud2b8\uac00 \ubc1c\uc0dd\ud560 \ub54c\ub9c8\ub2e4 \ud638\ucd9c\ub429\ub2c8\ub2e4. \uc774 \uba54\uc11c\ub4dc \ub0b4\ubd80\uc5d0\uc11c\ub294 \uc0ac\uc6a9\uc790\uac00 \uc5b4\ub5a4 \ud0a4\ub97c \ub20c\ub800\ub294\uc9c0 \ud655\uc778\ud558\uace0, \ud574\ub2f9\ud558\ub294 \ubc29\ud5a5\uc73c\ub85c \uce90\ub9ad\ud130\ub97c \uc774\ub3d9\uc2dc\ud0b5\ub2c8\ub2e4.<\/p>\n<p>\uce90\ub9ad\ud130\uc758 \uc774\ub3d9\uc740 <code>moveBy(dx, dy)<\/code> \uba54\uc11c\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uad6c\ud604\ub429\ub2c8\ub2e4. \uc774 \uba54\uc11c\ub4dc\ub294 \uce90\ub9ad\ud130\uc758 \ud604\uc7ac \uc704\uce58\uc5d0 (dx, dy)\uc758 \uac12\uc744 \ub354\ud558\uc5ec \uc774\ub3d9\ud558\uac8c \ub429\ub2c8\ub2e4. \uc774\ub85c \uc778\ud574 \uc0c1\ub2e8, \ud558\ub2e8, \uc67c\ucabd, \uc624\ub978\ucabd \ubc29\ud5a5\uc73c\ub85c \uce90\ub9ad\ud130\ub97c \uc790\uc720\ub86d\uac8c \uc774\ub3d9\ud560 \uc218 \uc788\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5. \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac<\/h3>\n<p>\uc774\uc81c \ud0a4\ubcf4\ub4dc \uc774\ubca4\ud2b8 \uc678\uc5d0\ub3c4 \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8\ub97c \ud1b5\ud574 \uce90\ub9ad\ud130\ub97c \uc870\uc791\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub9c8\uc6b0\uc2a4\ub97c \ud074\ub9ad\ud55c \uc704\uce58\ub85c \uce90\ub9ad\ud130\uac00 \uc774\ub3d9\ud558\ub3c4\ub85d \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc774\ub97c \uc801\uc6a9\ud55c \ucf54\ub4dc\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>class GameWindow(QMainWindow):\n    def __init__(self):\n        super().__init__()\n        # \uc774\uc804 \ucf54\ub4dc\uc640 \ub3d9\uc77c...\n        \n    def mousePressEvent(self, event):\n        if event.button() == Qt.LeftButton:\n            # \ud074\ub9ad\ud55c \uc704\uce58\ub85c \uce90\ub9ad\ud130 \uc774\ub3d9\n            target_pos = event.pos()  # \ub9c8\uc6b0\uc2a4 \uc704\uce58\n            self.character.setPos(target_pos.x() - 25, target_pos.y() - 25)  # \uce90\ub9ad\ud130 \uc704\uce58 \ub9de\ucda4\n\n# main \ubd80\ubd84 \ub3d9\uc77c\n<\/code><\/pre>\n<p>\uc704\uc758 <code>mousePressEvent<\/code> \uba54\uc11c\ub4dc\ub294 \uc0ac\uc6a9\uc790\uac00 \ub9c8\uc6b0\uc2a4\ub97c \ud074\ub9ad\ud560 \ub54c \ud638\ucd9c\ub429\ub2c8\ub2e4. \ud074\ub9ad\ud55c \uc704\uce58\uc758 \uc88c\ud45c\ub97c \uac00\uc838\uc640 \uce90\ub9ad\ud130\uc758 \uc704\uce58\ub97c \uc870\uc815\ud558\uc5ec, \ub9c8\uc6b0\uc2a4\ub97c \ud074\ub9ad\ud55c \uc9c0\uc810\uc73c\ub85c \uce90\ub9ad\ud130\uac00 \uc774\ub3d9\ud558\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<h3>6. \uc560\ub2c8\uba54\uc774\uc158 \ucd94\uac00<\/h3>\n<p>\uac8c\uc784\uc744 \ub354\uc6b1 \ub9e4\ub825\uc801\uc73c\ub85c \ub9cc\ub4e4\uae30 \uc704\ud574 \uc560\ub2c8\uba54\uc774\uc158\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. PyQt\uc5d0\uc11c\ub294 QTimer\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc560\ub2c8\uba54\uc774\uc158 \ubc0f \uc8fc\uae30\uc801\uc778 \uc5c5\ub370\uc774\ud2b8\ub97c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc560\ub2c8\uba54\uc774\uc158\uc744 \uac04\ub2e8\ud558\uac8c \ucd94\uac00\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>from PyQt5.QtCore import QTimer\n\nclass GameWindow(QMainWindow):\n    def __init__(self):\n        super().__init__()\n        # \ubaa8\ub4e0 \ucf54\ub4dc \ub3d9\uc77c...\n        \n        self.timer = QTimer(self)\n        self.timer.timeout.connect(self.updateGame)\n        self.timer.start(100)  # 100ms\ub9c8\ub2e4 \uc5c5\ub370\uc774\ud2b8\n\n    def updateGame(self):\n        # \uac8c\uc784 \uc0c1\ud0dc \uc5c5\ub370\uc774\ud2b8 \ub85c\uc9c1 (\uc608: \uce90\ub9ad\ud130 \uc560\ub2c8\uba54\uc774\uc158)\n        pass  # \uc5ec\uae30\uc11c \uce90\ub9ad\ud130 \uc560\ub2c8\uba54\uc774\uc158 \ub85c\uc9c1\uc744 \ucd94\uac00\n\n# main \ubd80\ubd84 \ub3d9\uc77c\n<\/code><\/pre>\n<p>\uc774 \uc608\uc81c\uc5d0\uc11c\ub294 QTimer\ub97c \uc0ac\uc6a9\ud558\uc5ec 100ms\ub9c8\ub2e4 <code>updateGame<\/code> \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud558\uc5ec \uac8c\uc784 \uc0c1\ud0dc\ub97c \uc5c5\ub370\uc774\ud2b8\ud560 \uc218 \uc788\uac8c \ub429\ub2c8\ub2e4. \uc560\ub2c8\uba54\uc774\uc158 \ub85c\uc9c1\uc744 \uc774\uacf3\uc5d0 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>7. \uacb0\uacfc \ubc0f \ub9c8\ubb34\ub9ac<\/h3>\n<p>\uc774 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c 2D \uac8c\uc784\uc744 \ub9cc\ub4dc\ub294 \ubc29\ubc95\uacfc \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6cc \ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc778 \uac8c\uc784 \uad6c\uc870\ub97c \uc774\ud574\ud558\uace0, \uc0ac\uc6a9\uc790 \uc785\ub825\uc744 \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc775\ud614\uc73c\ub2c8, \uc774\uc81c\ub294 \uc5ec\ub7ec\ubd84 \uc790\uc2e0\uc758 \uc544\uc774\ub514\uc5b4\ub85c \uac8c\uc784\uc744 \ubc1c\uc804\uc2dc\ucf1c \ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h3>\ub9c8\uce58\uba70<\/h3>\n<p>\uac8c\uc784 \uac1c\ubc1c\uc740 \uacc4\uc18d\ud574\uc11c \ubc30\uc6b0\uace0 \ub3c4\uc804\ud574\uc57c \ud560 \ud765\ubbf8\ub85c\uc6b4 \ubd84\uc57c\uc785\ub2c8\ub2e4. PyQt\ub97c \ud1b5\ud574 \uac04\ub2e8\ud55c \uac8c\uc784\uc744 \ub9cc\ub4e4\uba74\uc11c, \ub354\uc6b1 \ubcf5\uc7a1\ud55c \uac8c\uc784\uc73c\ub85c \ubc1c\uc804\uc2dc\ud0a4\ub294 \ubc1c\ud310\uc774 \ub418\uae38 \ubc14\ub78d\ub2c8\ub2e4. \uac10\uc0ac\ud569\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30 \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\ub97c \ud65c\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c 2D \uac8c\uc784\uc744 \uc81c\uc791\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. PyQt\ub294 Python \uc5b8\uc5b4\ub97c \uc704\ud55c \uac15\ub825\ud55c GUI \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc27d\uac8c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ub9cc\ub4e4 \uc218 \uc788\uac8c \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ud2b9\ubcc4\ud788 \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\uc5ec \uac8c\uc784 \ub0b4 \uce90\ub9ad\ud130\ub97c \uc870\uc791\ud558\ub294 \ubc29\ubc95\uc5d0 \uc911\uc810\uc744 \ub450\uaca0\uc2b5\ub2c8\ub2e4. 1. PyQt\uc640 \uac8c\uc784 \uac1c\ubc1c PyQt\ub294 Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c Python\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uac8c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39160\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[193],"tags":[],"class_list":["post-39160","post","type-post","status-publish","format-standard","hentry","category-pyqt"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/39160\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30 \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\ub97c \ud65c\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c 2D \uac8c\uc784\uc744 \uc81c\uc791\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. PyQt\ub294 Python \uc5b8\uc5b4\ub97c \uc704\ud55c \uac15\ub825\ud55c GUI \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc27d\uac8c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ub9cc\ub4e4 \uc218 \uc788\uac8c \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ud2b9\ubcc4\ud788 \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\uc5ec \uac8c\uc784 \ub0b4 \uce90\ub9ad\ud130\ub97c \uc870\uc791\ud558\ub294 \ubc29\ubc95\uc5d0 \uc911\uc810\uc744 \ub450\uaca0\uc2b5\ub2c8\ub2e4. 1. PyQt\uc640 \uac8c\uc784 \uac1c\ubc1c PyQt\ub294 Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c Python\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uac8c &hellip; \ub354 \ubcf4\uae30 &quot;PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39160\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T03:38:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:16+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/39160\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39160\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791\",\"datePublished\":\"2024-11-02T03:38:13+00:00\",\"dateModified\":\"2024-11-26T06:42:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39160\/\"},\"wordCount\":32,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"PyQt\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39160\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39160\/\",\"name\":\"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T03:38:13+00:00\",\"dateModified\":\"2024-11-26T06:42:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39160\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39160\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39160\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/39160\/","og_locale":"ko_KR","og_type":"article","og_title":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30 \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\ub97c \ud65c\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c 2D \uac8c\uc784\uc744 \uc81c\uc791\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. PyQt\ub294 Python \uc5b8\uc5b4\ub97c \uc704\ud55c \uac15\ub825\ud55c GUI \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \uc27d\uac8c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ub9cc\ub4e4 \uc218 \uc788\uac8c \ub3c4\uc640\uc90d\ub2c8\ub2e4. \ud2b9\ubcc4\ud788 \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\uc5ec \uac8c\uc784 \ub0b4 \uce90\ub9ad\ud130\ub97c \uc870\uc791\ud558\ub294 \ubc29\ubc95\uc5d0 \uc911\uc810\uc744 \ub450\uaca0\uc2b5\ub2c8\ub2e4. 1. PyQt\uc640 \uac8c\uc784 \uac1c\ubc1c PyQt\ub294 Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c Python\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uac8c &hellip; \ub354 \ubcf4\uae30 \"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791\"","og_url":"https:\/\/atmokpo.com\/w\/39160\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T03:38:13+00:00","article_modified_time":"2024-11-26T06:42:16+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/39160\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39160\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791","datePublished":"2024-11-02T03:38:13+00:00","dateModified":"2024-11-26T06:42:16+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39160\/"},"wordCount":32,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["PyQt"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39160\/","url":"https:\/\/atmokpo.com\/w\/39160\/","name":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T03:38:13+00:00","dateModified":"2024-11-26T06:42:16+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39160\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39160\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39160\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub85c \uac04\ub2e8\ud55c 2D \uac8c\uc784 \uc81c\uc791\ud558\uae30, \ud0a4\ubcf4\ub4dc \ubc0f \ub9c8\uc6b0\uc2a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub85c \uce90\ub9ad\ud130 \uc870\uc791"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=39160"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39160\/revisions"}],"predecessor-version":[{"id":39161,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39160\/revisions\/39161"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}