{"id":39272,"date":"2024-11-02T03:39:00","date_gmt":"2024-11-02T03:39:00","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39272"},"modified":"2024-11-26T06:41:57","modified_gmt":"2024-11-26T06:41:57","slug":"pyqt%ea%b0%9c%eb%b0%9c%ea%b0%95%ec%a2%8c-%eb%93%9c%eb%9e%98%ea%b7%b8-%ec%95%a4-%eb%93%9c%eb%a1%ad-%eb%b0%8f-%ed%81%b4%eb%a6%bd%eb%b3%b4%eb%93%9c-%ec%95%84%ec%9d%b4%ed%85%9c-%ea%b0%84-%eb%93%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39272\/","title":{"rendered":"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d"},"content":{"rendered":"<p><body><\/p>\n<p>PyQt\ub294 Python\uacfc Qt \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uacb0\ud569\ud558\uc5ec \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c GUI\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc0ac\uc6a9\ub418\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\uc5d0\uc11c \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5\uacfc \ud074\ub9bd\ubcf4\ub4dc\ub97c \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c \ub9e4\uc6b0 \uc9c1\uad00\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \ub370\uc774\ud130 \uc774\ub3d9\uc744 \uac00\ub2a5\ud558\uac8c \ud558\uc5ec \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<\/p>\n<h2>1. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc774\ub780?<\/h2>\n<p>\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub9c8\uc6b0\uc2a4\ub85c \uc544\uc774\ud15c\uc744 \uc120\ud0dd\ud558\uace0 \ub04c\uc5b4\ub2e4 \ub193\uc73c\uba74\uc11c \ub2e4\ub978 \uc704\uce58\ub85c \uc774\ub3d9\uc2dc\ud0a4\ub294 \uc778\ud130\ud398\uc774\uc2a4 \uba54\ucee4\ub2c8\uc998\uc785\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ud30c\uc77c \ud0d0\uc0c9\uae30, \ub514\uc790\uc778 \ub3c4\uad6c, \ud488\ubaa9 \ub9ac\uc2a4\ud2b8 \ub4f1\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<h2>2. PyQt\uc5d0\uc11c\uc758 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d<\/h2>\n<p>PyQt\uc5d0\uc11c\ub294 \uc704\uc82f \uac04\uc5d0 \uc544\uc774\ud15c\uc744 \ub4dc\ub798\uadf8 \ubc0f \ub4dc\ub86d\ud560 \uc218 \uc788\ub3c4\ub85d \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc704\uc82f\uc740 \ub370\uc774\ud130 \uc804\uc1a1\uc744 \uad00\ub9ac\ud558\uba70, \ub4dc\ub798\uadf8\uac00 \uc2dc\uc791\ub420 \ub54c\uc640 \ub4dc\ub86d\uc774 \uc774\ub8e8\uc5b4\uc9c8 \ub54c\uc758 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ub2e4\uc74c\uc758 \ub2e8\uacc4\uac00 \ud3ec\ud568\ub429\ub2c8\ub2e4:<\/p>\n<ol>\n<li>\ub4dc\ub798\uadf8 \uac00\ub2a5\ud55c \uac1d\uccb4 \ub9cc\ub4e4\uae30<\/li>\n<li>\ub4dc\ub798\uadf8 \uc2dc\uc791 \uc774\ubca4\ud2b8 \ucc98\ub9ac<\/li>\n<li>\ub4dc\ub798\uadf8 \uc885\ub8cc \ubc0f \ub4dc\ub86d \uc774\ubca4\ud2b8 \ucc98\ub9ac<\/li>\n<\/ol>\n<h3>\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc758 \uae30\ubcf8 \uc124\uc815<\/h3>\n<p>\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 \uc704\uc82f\uc758 \ub4dc\ub798\uadf8 \uac00\ub2a5 \uc5ec\ubd80 \ubc0f \ub4dc\ub86d \uac00\ub2a5 \uc5ec\ubd80\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, QListWidget\uc744 \uc0ac\uc6a9\ud560 \ub54c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc744 \ud65c\uc131\ud654\ud558\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>self.list_widget.setDragEnabled(True)\nself.list_widget.setAcceptDrops(True)<\/code><\/pre>\n<h2>3. \uc608\uc81c \ucf54\ub4dc: \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d<\/h2>\n<p>\uc774\uc81c \uac04\ub2e8\ud55c PyQt \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \ub450 \uac1c\uc758 QListWidget\uc744 \ud3ec\ud568\ud558\uace0, \uc544\uc774\ud15c\uc744 \ud55c \ub9ac\uc2a4\ud2b8\uc5d0\uc11c \ub2e4\ub978 \ub9ac\uc2a4\ud2b8\ub85c \ub4dc\ub798\uadf8 \ubc0f \ub4dc\ub86d\ud560 \uc218 \uc788\ub3c4\ub85d \ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QListWidget, QLabel\n\nclass DragAndDropExample(QWidget):\n    def __init__(self):\n        super().__init__()\n\n        self.setWindowTitle(\"\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uc608\uc81c\")\n        self.setGeometry(100, 100, 400, 300)\n\n        layout = QVBoxLayout()\n\n        self.label = QLabel(\"\ub9ac\uc2a4\ud2b8\uc5d0\uc11c \uc544\uc774\ud15c\uc744 \ub4dc\ub798\uadf8\ud558\uc5ec \ub2e4\ub978 \ub9ac\uc2a4\ud2b8\uc5d0 \ub193\uc73c\uc138\uc694.\")\n        layout.addWidget(self.label)\n\n        # \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc774 \uac00\ub2a5\ud55c QListWidget \uc0dd\uc131\n        self.listWidget1 = QListWidget()\n        self.listWidget1.addItems([\"item 1\", \"item 2\", \"item 3\"])\n        self.listWidget1.setDragEnabled(True)  # \ub4dc\ub798\uadf8 \uac00\ub2a5 \uc124\uc815\n        layout.addWidget(self.listWidget1)\n\n        self.listWidget2 = QListWidget()\n        self.listWidget2.addItems([\"item A\", \"item B\", \"item C\"])\n        self.listWidget2.setAcceptDrops(True)  # \ub4dc\ub86d \uac00\ub2a5 \uc124\uc815\n        layout.addWidget(self.listWidget2)\n\n        self.setLayout(layout)\n\n        # \ub4dc\ub86d \uc774\ubca4\ud2b8 \ucc98\ub9ac\n        self.listWidget2.setDragEnabled(True)  # \ub4dc\ub798\uadf8 \uac00\ub2a5 \uc124\uc815\n\n        # \ub4dc\ub86d \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\ub294 \uba54\uc11c\ub4dc \uc5f0\uacb0\n        self.listWidget2.dragEnterEvent = self.dragEnterEvent\n        self.listWidget2.dropEvent = self.dropEvent\n\n    def dragEnterEvent(self, event):\n        if event.mimeData().hasFormat(\"text\/plain\"):\n            event.accept()\n        else:\n            event.ignore()\n\n    def dropEvent(self, event):\n        if event.mimeData().hasFormat(\"text\/plain\"):\n            item = event.mimeData().text()\n            self.listWidget2.addItem(item)  # \ub4dc\ub86d\ub41c \uc544\uc774\ud15c \ucd94\uac00\n            event.accept()\n        else:\n            event.ignore()\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    window = DragAndDropExample()\n    window.show()\n    sys.exit(app.exec_())<\/code><\/pre>\n<h3>\ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \uac04\ub2e8\ud55c \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc744 \uad6c\ud604\ud55c PyQt \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc785\ub2c8\ub2e4. \uc8fc\uc11d\uc744 \ucc38\uace0\ud558\uc5ec \uac01 \ubd80\ubd84\uc758 \uae30\ub2a5\uc744 \uc774\ud574\ud558\uc138\uc694.<\/p>\n<ol>\n<li>QListWidget \uc704\uc82f\uc744 \uc0dd\uc131\ud558\uace0 \uae30\ubcf8 \uc544\uc774\ud15c\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub4dc\ub798\uadf8 \ubc0f \ub4dc\ub86d\uc744 \ud5c8\uc6a9\ud558\uae30 \uc704\ud574 setDragEnabled(\uc9c4\ud589) \ubc0f setAcceptDrops(\ud5c8\uc6a9)\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4.<\/li>\n<li>dragEnterEvent \uba54\uc11c\ub4dc\ub294 \ub4dc\ub798\uadf8\ub41c \ub370\uc774\ud130\uc758 \ud615\uc2dd\uc744 \uac80\uc0ac\ud558\uace0, \uc801\uc808\ud55c \uacbd\uc6b0 \ub4dc\ub86d \uc774\ubca4\ud2b8\ub97c \uc218\uc6a9\ud569\ub2c8\ub2e4.<\/li>\n<li>dropEvent \uba54\uc11c\ub4dc\uc5d0\uc11c\ub294 \ub4dc\ub798\uadf8\ub41c \uc544\uc774\ud15c\uc744 \uc0c8\ub85c\uc6b4 \ub9ac\uc2a4\ud2b8\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>4. \ud074\ub9bd\ubcf4\ub4dc\uc640 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d<\/h2>\n<p>\ud074\ub9bd\ubcf4\ub4dc\ub294 \uc6b4\uc601 \uccb4\uc81c\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \uc784\uc2dc \uc800\uc7a5 \uacf5\uac04\uc73c\ub85c, \uc0ac\uc6a9\uc790\ub098 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc774 \ub370\uc774\ud130\ub97c \ubcf5\uc0ac\ud558\uac70\ub098 \ubd99\uc5ec\ub123\uc744 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4. PyQt\uc5d0\uc11c\ub294 <code>QClipboard<\/code> \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud074\ub9bd\ubcf4\ub4dc\ub97c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud074\ub9bd\ubcf4\ub4dc\uc640 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc744 \ud568\uaed8 \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub354 \ub098\uc740 \uacbd\ud5d8\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uc608\uc81c: \ud074\ub9bd\ubcf4\ub4dc\ub97c \uc774\uc6a9\ud55c \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d<\/h3>\n<p>\ub2e4\uc74c \uc608\uc81c\ub294 \ud074\ub9bd\ubcf4\ub4dc \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uc5ec \uc0ac\uc6a9\uc790\uac00 \uc544\uc774\ud15c\uc744 \ubcf5\uc0ac\ud558\uac70\ub098 \uc774\ub3d9\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from PyQt5.QtGui import QClipboard\n\nclass ClipboardDragAndDropExample(QWidget):\n    def __init__(self):\n        super().__init__()\n\n        self.setWindowTitle(\"\ud074\ub9bd\ubcf4\ub4dc \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uc608\uc81c\")\n        self.setGeometry(100, 100, 400, 300)\n\n        layout = QVBoxLayout()\n\n        self.label = QLabel(\"\ub9ac\uc2a4\ud2b8\uc5d0\uc11c \uc544\uc774\ud15c\uc744 \ub4dc\ub798\uadf8\ud558\uc5ec \ub2e4\ub978 \ub9ac\uc2a4\ud2b8\uc5d0 \ub193\uac70\ub098, \ubcf5\uc0ac \ud6c4 \ubd99\uc5ec\ub123\uc73c\uc138\uc694.\")\n        layout.addWidget(self.label)\n\n        self.listWidget1 = QListWidget()\n        self.listWidget1.addItems([\"item 1\", \"item 2\", \"item 3\"])\n        self.listWidget1.setDragEnabled(True)\n        layout.addWidget(self.listWidget1)\n\n        self.listWidget2 = QListWidget()\n        self.listWidget2.setAcceptDrops(True)\n        layout.addWidget(self.listWidget2)\n\n        self.setLayout(layout)\n\n        # \ud074\ub9bd\ubcf4\ub4dc \ucd08\uae30\ud654\n        self.clipboard = QApplication.clipboard()\n\n        self.listWidget1.mouseReleaseEvent = self.mouseReleaseEvent\n\n        # \ub4dc\ub86d \uc774\ubca4\ud2b8 \ucc98\ub9ac\n        self.listWidget2.dragEnterEvent = self.dragEnterEvent\n        self.listWidget2.dropEvent = self.dropEvent\n\n    def mouseReleaseEvent(self, event):\n        selected_item = self.listWidget1.currentItem()\n        if selected_item and event.button() == 2:  # \uc624\ub978\ucabd \ud074\ub9ad\n            self.clipboard.setText(selected_item.text())  # \ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\n            print(f\"{selected_item.text()}\ub97c \ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\ud558\uc600\uc2b5\ub2c8\ub2e4.\")\n\n    def dragEnterEvent(self, event):\n        if event.mimeData().hasFormat(\"text\/plain\"):\n            event.accept()\n        else:\n            event.ignore()\n\n    def dropEvent(self, event):\n        if event.mimeData().hasFormat(\"text\/plain\"):\n            item = event.mimeData().text()\n            self.listWidget2.addItem(item)\n            event.accept()\n        else:\n            event.ignore()\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    window = ClipboardDragAndDropExample()\n    window.show()\n    sys.exit(app.exec_())<\/code><\/pre>\n<h3>\ucf54\ub4dc \uc124\uba85<\/h3>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \ud074\ub9bd\ubcf4\ub4dc \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uc5ec \uc0ac\uc6a9\uc790\uac00 \ub9ac\uc2a4\ud2b8\uc758 \uc544\uc774\ud15c\uc744 \uc624\ub978\ucabd \ud074\ub9ad\ud558\uc5ec \ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\ud560 \uc218 \uc788\ub294 \uc608\uc2dc\uc785\ub2c8\ub2e4. \ucf54\ub4dc\ub97c \ubd84\uc11d\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<ol>\n<li>mouseReleaseEvent \uba54\uc11c\ub4dc\uc5d0\uc11c \uc624\ub978\ucabd \ud074\ub9ad\uc774 \uac10\uc9c0\ub418\uba74 \uc120\ud0dd\ub41c \uc544\uc774\ud15c\uc744 \ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5\uc740 \uc774\uc804 \uc608\uc81c\uc640 \ub3d9\uc77c\ud558\uac8c \uc720\uc9c0\ub429\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\uc774\ub807\uac8c \uad6c\ud604\ub41c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \uc544\uc774\ud15c\uc744 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\ud560 \uc218 \uc788\uc744 \ubfd0 \uc544\ub2c8\ub77c, \ud074\ub9bd\ubcf4\ub4dc\ub97c \ud1b5\ud574 \uc544\uc774\ud15c\uc744 \uc27d\uac8c \ubcf5\uc0ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>5. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc758 \uace0\uae09 \uae30\ub2a5<\/h2>\n<p>\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5\uc744 \ub354\uc6b1 \ud655\uc7a5\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uba87 \uac00\uc9c0 \uace0\uae09 \uae30\ub2a5\uc785\ub2c8\ub2e4:<\/p>\n<ol>\n<li><strong>\ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd \uc9c0\uc6d0:<\/strong> \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uc2dc \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd\uc744 \uc9c0\uc6d0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc774\ubbf8\uc9c0, \ud14d\uc2a4\ud2b8, \ud30c\uc77c \uacbd\ub85c \ub4f1\uc744 \uc9c0\uc6d0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc2dc\uac01\uc801 \ud53c\ub4dc\ubc31 \uc81c\uacf5:<\/strong> \ub4dc\ub798\uadf8 \uc911 \uc544\uc774\ud15c\uc758 \ubbf8\ub9ac\ubcf4\uae30\ub97c \uc81c\uacf5\ud558\uc5ec \uc0ac\uc6a9\uc790\uac00 \ub4dc\ub86d\ud560 \uc704\uce58\ub97c \uc27d\uac8c \ud30c\uc545\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ub4dc\ub86d \uac00\ub2a5\ud55c \uc601\uc5ed \uc9c0\uc815:<\/strong> \ub4dc\ub798\uadf8\ud55c \uc544\uc774\ud15c\uc774 \ud2b9\uc815 \uc601\uc5ed\uc5d0\ub9cc \ub4dc\ub86d \uac00\ub2a5\ud558\ub3c4\ub85d \uc81c\ud55c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>\uc608\uc81c: \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd \uc9c0\uc6d0<\/h3>\n<p>\ub2e4\uc74c \uc608\uc81c\uc5d0\uc11c\ub294 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc73c\ub85c \uc774\ubbf8\uc9c0 \ud30c\uc77c\uc744 \ub9ac\uc2a4\ud2b8\uc5d0 \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>from PyQt5.QtGui import QDrag, QPixmap\n\nclass ImageDragAndDropExample(QWidget):\n    def __init__(self):\n        super().__init__()\n\n        self.setWindowTitle(\"\uc774\ubbf8\uc9c0 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uc608\uc81c\")\n        self.setGeometry(100, 100, 400, 300)\n\n        layout = QVBoxLayout()\n\n        self.label = QLabel(\"\uc11c\ubc84\ub85c\ubd80\ud130 \uc774\ubbf8\uc9c0\ub97c \ub4dc\ub798\uadf8\ud558\uc5ec \ub9ac\uc2a4\ud2b8\uc5d0 \ub193\uc73c\uc138\uc694.\")\n        layout.addWidget(self.label)\n\n        self.listWidget = QListWidget()\n        self.listWidget.setAcceptDrops(True)\n        layout.addWidget(self.listWidget)\n\n        self.setLayout(layout)\n\n    def dragEnterEvent(self, event):\n        if event.mimeData().hasImage():\n            event.accept()\n        else:\n            event.ignore()\n\n    def dropEvent(self, event):\n        if event.mimeData().hasImage():\n            image = event.mimeData().imageData()\n            pixmap = QPixmap.fromImage(image)\n            item = QListWidgetItem(pixmap, \"\uc774\ubbf8\uc9c0\")\n            self.listWidget.addItem(item)\n            event.accept()\n        else:\n            event.ignore()\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    window = ImageDragAndDropExample()\n    window.show()\n    sys.exit(app.exec_())<\/code><\/pre>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5 \ubc0f \ud074\ub9bd\ubcf4\ub4dc \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \uc911\uc694\ud55c \uc694\uc18c\uc774\uba70, PyQt\uc5d0\uc11c\ub294 \uc774\ub97c \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\ub294 \ub9ce\uc740 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc704\uc758 \uc608\uc81c\ub4e4\uc744 \ud1b5\ud574 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc744 \uad6c\ud604\ud558\ub294 \uae30\ucd08\uc801\uc778 \uc774\ud574\ub97c \ub113\uc774\uace0, \ud074\ub9bd\ubcf4\ub4dc\uc640\uc758 \uacb0\ud569\uc73c\ub85c \ub354\uc6b1 \ud5a5\uc0c1\ub41c \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uc81c\uacf5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc55e\uc73c\ub85c\ub3c4 PyQt\ub85c \ub2e4\uc591\ud55c GUI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud558\uba74\uc11c \uc2b5\ub4dd\ud55c \uae30\uc220\uc744 \ud65c\uc6a9\ud560 \uc218 \uc788\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \uc5ec\ub7ec\ubd84\uc758 \uac1c\ubc1c \uc5ec\uc815\uc5d0 \ub9ce\uc740 \ub3c4\uc6c0\uc774 \ub418\uae30\ub97c \uae30\uc6d0\ud569\ub2c8\ub2e4!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PyQt\ub294 Python\uacfc Qt \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uacb0\ud569\ud558\uc5ec \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c GUI\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc0ac\uc6a9\ub418\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\uc5d0\uc11c \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5\uacfc \ud074\ub9bd\ubcf4\ub4dc\ub97c \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c \ub9e4\uc6b0 \uc9c1\uad00\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \ub370\uc774\ud130 \uc774\ub3d9\uc744 \uac00\ub2a5\ud558\uac8c \ud558\uc5ec \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. 1. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc774\ub780? \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub9c8\uc6b0\uc2a4\ub85c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39272\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d&#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-39272","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, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d - \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\/39272\/\" \/>\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, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"PyQt\ub294 Python\uacfc Qt \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uacb0\ud569\ud558\uc5ec \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c GUI\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc0ac\uc6a9\ub418\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\uc5d0\uc11c \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5\uacfc \ud074\ub9bd\ubcf4\ub4dc\ub97c \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c \ub9e4\uc6b0 \uc9c1\uad00\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \ub370\uc774\ud130 \uc774\ub3d9\uc744 \uac00\ub2a5\ud558\uac8c \ud558\uc5ec \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. 1. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc774\ub780? \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub9c8\uc6b0\uc2a4\ub85c &hellip; \ub354 \ubcf4\uae30 &quot;PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39272\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T03:39:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:41:57+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/39272\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39272\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\",\"datePublished\":\"2024-11-02T03:39:00+00:00\",\"dateModified\":\"2024-11-26T06:41:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39272\/\"},\"wordCount\":23,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"PyQt\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39272\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39272\/\",\"name\":\"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T03:39:00+00:00\",\"dateModified\":\"2024-11-26T06:41:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39272\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39272\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39272\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\"}]},{\"@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, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d - \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\/39272\/","og_locale":"ko_KR","og_type":"article","og_title":"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"PyQt\ub294 Python\uacfc Qt \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uacb0\ud569\ud558\uc5ec \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c GUI\ub97c \uc27d\uac8c \ub9cc\ub4dc\ub294 \ub370 \uc0ac\uc6a9\ub418\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\uc5d0\uc11c \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \uae30\ub2a5\uacfc \ud074\ub9bd\ubcf4\ub4dc\ub97c \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc5d0\uc11c \ub9e4\uc6b0 \uc9c1\uad00\uc801\uc778 \ubc29\ubc95\uc73c\ub85c \ub370\uc774\ud130 \uc774\ub3d9\uc744 \uac00\ub2a5\ud558\uac8c \ud558\uc5ec \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. 1. \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc774\ub780? \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\uc740 \uc0ac\uc6a9\uc790\uac00 \ub9c8\uc6b0\uc2a4\ub85c &hellip; \ub354 \ubcf4\uae30 \"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d\"","og_url":"https:\/\/atmokpo.com\/w\/39272\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T03:39:00+00:00","article_modified_time":"2024-11-26T06:41:57+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/39272\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39272\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d","datePublished":"2024-11-02T03:39:00+00:00","dateModified":"2024-11-26T06:41:57+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39272\/"},"wordCount":23,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["PyQt"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39272\/","url":"https:\/\/atmokpo.com\/w\/39272\/","name":"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T03:39:00+00:00","dateModified":"2024-11-26T06:41:57+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39272\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39272\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39272\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"PyQt\uac1c\ubc1c\uac15\uc88c, \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d \ubc0f \ud074\ub9bd\ubcf4\ub4dc, \uc544\uc774\ud15c \uac04 \ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d"}]},{"@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":[{"id":39939,"url":"https:\/\/atmokpo.com\/w\/39939\/","url_meta":{"origin":39272,"position":0},"title":"\ud654\uba74 \uc124\uacc4\uc5d0 \ud544\uc694\ud55c \uae30\ubcf8 \ud234\uacfc \uae30\ub2a5, \ud654\uba74 \uc124\uacc4 \uc2dc \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \uae30\ub2a5 \uc18c\uac1c (\ub4dc\ub798\uadf8 \uc564 \ub4dc\ub86d, \ub808\uc774\uc5b4, \ucef4\ud3ec\ub10c\ud2b8 \ub4f1)","author":"root","date":"2024\ub144 11\uc6d4 02\uc77c","format":false,"excerpt":"\ud604\ub300\uc758 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \ud654\uba74 \uc124\uacc4\ub294 \ub9e4\uc6b0 \uc911\uc694\ud55c \ub2e8\uacc4\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(UI)\uc640 \uc0ac\uc6a9\uc790 \uacbd\ud5d8(UX)\uc744 \uace0\ub824\ud55c \uc124\uacc4\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc131\uacf5 \uc5ec\ubd80\ub97c \uc88c\uc6b0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \ud654\uba74 \uc124\uacc4\uc5d0 \ud544\uc218\uc801\uc778 \uae30\ubcf8 \ud234\uacfc \uae30\ub2a5\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uace0, \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \uae30\ub2a5\ub4e4\uc5d0 \ub300\ud574\uc11c\ub3c4 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. \ud654\uba74 \uc124\uacc4 \ud234\uc758 \uc911\uc694\uc131 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(UI)\ub97c \uc124\uacc4\ud558\ub294 \ub2e8\uacc4\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c \ud504\ub85c\uc138\uc2a4\uc5d0\uc11c \ube60\uc9d0\uc5c6\uc774 \ud3ec\ud568\ub418\uc5b4\uc57c\u2026","rel":"","context":"&quot;\ud654\uba74\uc124\uacc4&quot;\uc5d0\uc11c","block_context":{"text":"\ud654\uba74\uc124\uacc4","link":"https:\/\/atmokpo.com\/w\/category\/%ed%99%94%eb%a9%b4%ec%84%a4%ea%b3%84\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25730,"url":"https:\/\/atmokpo.com\/w\/25730\/","url_meta":{"origin":39272,"position":1},"title":"\uc2a4\uc704\ud504\ud2b8\ub85c UIKIT\ubc29\uc2dd, \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c, \uba40\ud2f0\ubbf8\ub514\uc5b4 \ud65c\uc6a9\ud558\uae30","author":"root","date":"2024\ub144 10\uc6d4 27\uc77c","format":false,"excerpt":"\uc800\uc790: \uc870\uad11\ud615 \ub0a0\uc9dc: [\ub0a0\uc9dc] 1. \uc11c\ub860 \ucd5c\uadfc \uc2a4\ub9c8\ud2b8\ud3f0\uacfc \ubaa8\ubc14\uc77c \uae30\uae30\uc758 \ubc1c\uc804\uc740 \uc6b0\ub9ac \uc0dd\ud65c\uc758 \ub9ce\uc740 \ubd80\ubd84\uc744 \ubcc0\ud654\uc2dc\ucf30\uc2b5\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \uc544\uc774\ud3f0\uacfc iOS \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc0ac\uc6a9\uc790\uc758 \ud3b8\ub9ac\ud568\uc744 \uadf9\ub300\ud654\ud558\uba70 \ub9ce\uc740 \uc778\uae30\ub97c \ub04c\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\uc704\ud504\ud2b8(Swift) \uc5b8\uc5b4\ub97c \uc0ac\uc6a9\ud55c \uc544\uc774\ud3f0 \uc571 \uac1c\ubc1c\uc5d0\uc11c UIKit \ud504\ub808\uc784\uc6cc\ud06c\ub97c \ud65c\uc6a9\ud55c \uba40\ud2f0\ubbf8\ub514\uc5b4 \ucf58\ud150\uce20\uc758 \uc801\uc6a9 \ubc29\ubc95\uc744 \uc0c1\uc138\ud788 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 2. \uc2a4\uc704\ud504\ud2b8\uc640 iOS \uac1c\ubc1c \ud658\uacbd\u2026","rel":"","context":"&quot;\uc2a4\uc704\ud504\ud2b8 \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c (UIKit)&quot;\uc5d0\uc11c","block_context":{"text":"\uc2a4\uc704\ud504\ud2b8 \uc544\uc774\ud3f0\uc571 \uac1c\ubc1c (UIKit)","link":"https:\/\/atmokpo.com\/w\/category\/%ec%8a%a4%ec%9c%84%ed%94%84%ed%8a%b8-%ec%95%84%ec%9d%b4%ed%8f%b0%ec%95%b1-%ea%b0%9c%eb%b0%9c-uikit\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25076,"url":"https:\/\/atmokpo.com\/w\/25076\/","url_meta":{"origin":39272,"position":2},"title":"\uc720\ub2c8\ud2f0 \uae30\ucd08 \uac15\uc88c: \uc0ac\uc6b4\ub4dc \ubc0f \uc0ac\uc6b4\ub4dc \uc0bd\uc785","author":"root","date":"2024\ub144 10\uc6d4 26\uc77c","format":false,"excerpt":"\uc720\ub2c8\ud2f0\ub294 \ud604\ub300 \uac8c\uc784 \uac1c\ubc1c\uc5d0\uc11c \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ud50c\ub7ab\ud3fc \uc911 \ud558\ub098\ub85c, 2D \ubc0f 3D \uac8c\uc784\uc744 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \ub9ce\uc740 \ub3c4\uad6c\uc640 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \uc0ac\uc6b4\ub4dc\ub294 \uac8c\uc784\uc758 \ubab0\uc785\uac10\uc744 \ub192\uc5ec\uc8fc\uace0, \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud48d\ubd80\ud558\uac8c \ub9cc\ub4dc\ub294 \ub370 \ub9e4\uc6b0 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc720\ub2c8\ud2f0\uc5d0\uc11c \uc0ac\uc6b4\ub4dc\ub97c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\uace0, \uc0bd\uc785\ud558\ub294\uc9c0\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. \uc0ac\uc6b4\ub4dc\uc758 \uc911\uc694\uc131 \uc0ac\uc6b4\ub4dc\ub294\u2026","rel":"","context":"&quot;\uc720\ub2c8\ud2f0\uae30\ucd08&quot;\uc5d0\uc11c","block_context":{"text":"\uc720\ub2c8\ud2f0\uae30\ucd08","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9c%a0%eb%8b%88%ed%8b%b0%ea%b8%b0%ec%b4%88\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":39987,"url":"https:\/\/atmokpo.com\/w\/39987\/","url_meta":{"origin":39272,"position":3},"title":"\uc778\uacf5\uc9c0\ub2a5 \ud65c\uc6a9, AWS SageMaker, Google AI Platform, Azure Machine Learning","author":"root","date":"2024\ub144 11\uc6d4 02\uc77c","format":false,"excerpt":"\uc11c\ub860 \uc778\uacf5\uc9c0\ub2a5(AI) \uae30\uc220\uc740 \ud604\ub300 \uc0ac\ud68c\uc5d0\uc11c \ud601\uc2e0\uc758 \uc911\uc694\ud55c \uc6d0\ub3d9\ub825\uc774 \ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uae30\uc5c5\uacfc \uae30\uad00\ub4e4\uc740 \ub370\uc774\ud130 \uae30\ubc18\uc758 \uc758\uc0ac\uacb0\uc815\uc744 \ud1b5\ud574 \ud6a8\uc728\uc131\uc744 \uadf9\ub300\ud654\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ud074\ub77c\uc6b0\ub4dc \uae30\ubc18\uc758 AI \ud50c\ub7ab\ud3fc\uc740 \uc774\ub7ec\ud55c \ubcc0\ud654\ub97c \ub354\uc6b1 \uac00\uc18d\ud654\ud558\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 AWS SageMaker, Google AI Platform, Azure Machine Learning\uacfc \uac19\uc740 \uc8fc\uc694 \ud50c\ub7ab\ud3fc\uc758 \uae30\ub2a5\uacfc \uc774\uc810, \uadf8\ub9ac\uace0 \uc774\ub4e4 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \ud65c\uc6a9\ud560\u2026","rel":"","context":"&quot;\uc778\uacf5\uc9c0\ub2a5\ud65c\uc6a9&quot;\uc5d0\uc11c","block_context":{"text":"\uc778\uacf5\uc9c0\ub2a5\ud65c\uc6a9","link":"https:\/\/atmokpo.com\/w\/category\/%ec%9d%b8%ea%b3%b5%ec%a7%80%eb%8a%a5%ed%99%9c%ec%9a%a9\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":39284,"url":"https:\/\/atmokpo.com\/w\/39284\/","url_meta":{"origin":39272,"position":4},"title":"PyQt\uac1c\ubc1c\uac15\uc88c, MacOS Spotlight \uac19\uc740 \uae30\ub2a5 \uad6c\ud604, \ud14d\uc2a4\ud2b8\uc640 \ub9c1\ud06c \ub4f1\uc744 \ud3ec\ud568\ud55c \uc815\ubcf4 \ub808\uc774\uc5b4 \ucd94\uac00","author":"root","date":"2024\ub144 11\uc6d4 02\uc77c","format":false,"excerpt":"\uc791\uc131\uc790: \uc870\uad11\ud615 \uc791\uc131\uc77c: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 PyQt\ub294 Python \ud504\ub85c\uadf8\ub798\uba38\ub4e4\uc774 Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \ud65c\uc6a9\ud558\uc5ec \uac15\ub825\ud558\uace0 \uc9c1\uad00\uc801\uc778 GUI(Graphical User Interface) \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4 \uc218 \uc788\ub3c4\ub85d \uc9c0\uc6d0\ud558\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 MacOS\uc758 Spotlight\uc640 \uc720\uc0ac\ud55c \uae30\ub2a5\uc744 \uad6c\ud604\ud574\ubcfc \uac83\uc785\ub2c8\ub2e4. Spotlight\ub294 \uc0ac\uc6a9\uc790\uac00 \ud544\uc694\ub85c \ud558\ub294 \uc815\ubcf4\ub97c \ube60\ub974\uac8c \ucc3e\uc744 \uc218 \uc788\ub3c4\ub85d \ub3d5\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc6b0\ub9ac\ub294 \uc774\uc640 \uc720\uc0ac\ud55c \uac80\uc0c9 \uae30\ub2a5\uc744\u2026","rel":"","context":"&quot;PyQt&quot;\uc5d0\uc11c","block_context":{"text":"PyQt","link":"https:\/\/atmokpo.com\/w\/category\/pyqt\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":30444,"url":"https:\/\/atmokpo.com\/w\/30444\/","url_meta":{"origin":39272,"position":5},"title":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \ubdf0 \uc774\ubca4\ud2b8","author":"root","date":"2024\ub144 10\uc6d4 28\uc77c","format":false,"excerpt":"\uc548\ub155\ud558\uc138\uc694! \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571 \uac1c\ubc1c\uc5d0 \uc788\uc5b4 \ubdf0 \uc774\ubca4\ud2b8 \ucc98\ub9ac\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc571 \uac1c\ubc1c\uc5d0\uc11c \ubdf0\ub294 \uc0ac\uc6a9\uc790\uc640\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ub2f4\ub2f9\ud558\ub294 \ubaa8\ub4e0 UI \uc694\uc18c\ub97c \uc758\ubbf8\ud569\ub2c8\ub2e4. \uc720\uc800\uac00 \ubc84\ud2bc\uc744 \ud074\ub9ad\ud558\uac70\ub098, \ud14d\uc2a4\ud2b8\ub97c \uc785\ub825\ud558\ub294 \ub4f1\uc758 \uc561\uc158\uc744 \ud1b5\ud574 \uc571\uacfc \uc18c\ud1b5\ud560 \ub54c \ubc1c\uc0dd\ud558\ub294 \uc774\ubca4\ud2b8\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \ucc98\ub9ac\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ucf54\ud2c0\ub9b0\uc5d0\uc11c\ub294 \ubdf0 \uc774\ubca4\ud2b8\ub97c \uac04\ud3b8\ud558\uac8c \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uacfc \ub3c4\uad6c\ub97c\u2026","rel":"","context":"&quot;\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c&quot;\uc5d0\uc11c","block_context":{"text":"\ucf54\ud2c0\ub9b0 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c","link":"https:\/\/atmokpo.com\/w\/category\/%ec%bd%94%ed%8b%80%eb%a6%b0-%ec%95%88%eb%93%9c%eb%a1%9c%ec%9d%b4%eb%93%9c%ec%95%b1-%ea%b0%9c%eb%b0%9c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39272","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=39272"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39272\/revisions"}],"predecessor-version":[{"id":39273,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39272\/revisions\/39273"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}