{"id":39176,"date":"2024-11-02T03:38:18","date_gmt":"2024-11-02T03:38:18","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=39176"},"modified":"2024-11-26T06:42:14","modified_gmt":"2024-11-26T06:42:14","slug":"pyqt%ea%b0%9c%eb%b0%9c%ea%b0%95%ec%a2%8c-pyqt%eb%9e%80-%eb%ac%b4%ec%97%87%ec%9d%b8%ea%b0%80","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/39176\/","title":{"rendered":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00"},"content":{"rendered":"<p><body><\/p>\n<p>PyQt\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc8fc\ub294 \ubc14\uc778\ub529 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. Qt\ub294 \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud234\ud0b7\uc73c\ub85c, C++ \uc5b8\uc5b4\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. PyQt\ub97c \uc0ac\uc6a9\ud558\uba74 \uc0ac\uc6a9\uc790\uac00 \uce5c\uc219\ud55c GUI (Graphical User Interface)\ub97c \uc190\uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub85c \uc0c1\uc6a9\ud654\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h2>1. PyQt\uc758 \uc5ed\uc0ac<\/h2>\n<p>PyQt\ub294 1998\ub144 Phil Thompson\uc5d0 \uc758\ud574 \ucd5c\ucd08\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\ud6c4\ub85c PyQt\ub294 \uc5ec\ub7ec \uac00\uc9c0 \ubc84\uc804\uc744 \uac70\uce58\uba74\uc11c \ubcc0\ud654\uc640 \ubc1c\uc804\uc744 \uac70\ub4ed\ud574\uc654\uc2b5\ub2c8\ub2e4. Qt\uc640\uc758 \ubc84\uc804 \ud638\ud658\uc131\uc744 \uc720\uc9c0\ud558\uba74\uc11c Python\uc758 \uac1d\uccb4 \uc9c0\ud5a5\uc801 \ud2b9\uc131\uc744 \uc0b4\ub9b0 \uc124\uacc4 \ub355\ubd84\uc5d0 \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 PyQt\ub97c \uc120\ud0dd\ud558\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>2. PyQt\uc758 \uc8fc\uc694 \ud2b9\uc9d5<\/h2>\n<ul>\n<li><strong>\ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc:<\/strong> PyQt\ub294 Windows, macOS, Linux \ub4f1 \ub2e4\uc591\ud55c \uc6b4\uc601\uccb4\uc81c\uc5d0\uc11c \uc2e4\ud589\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc2e0\ub8b0\uc131:<\/strong> Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud558\ubbc0\ub85c \ub192\uc740 \uc131\ub2a5\uacfc \uc548\uc815\uc131\uc744 \uac16\ucd98 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ud48d\ubd80\ud55c \uc704\uc82f:<\/strong> \ub2e4\uc591\ud55c GUI \uc704\uc82f\uacfc \uc694\uc18c\ub97c \uc81c\uacf5\ud558\uc5ec \ubcf5\uc7a1\ud55c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uac15\ub825\ud55c \ucee4\ubba4\ub2c8\ud2f0\uc640 \ubb38\uc11c\ud654:<\/strong> PyQt\ub294 \ud65c\ubc1c\ud55c \ucee4\ubba4\ub2c8\ud2f0\uc640 \ubc29\ub300\ud55c \ubb38\uc11c\ub97c \ubcf4\uc720\ud558\uace0 \uc788\uc5b4 \ud559\uc2b5\uacfc \ubb38\uc81c \ud574\uacb0\uc774 \uc6a9\uc774\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>3. PyQt \uc124\uce58\ud558\uae30<\/h2>\n<p>PyQt\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \uba3c\uc800 \uc124\uce58\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. Python\uc774 \uc124\uce58\ub418\uc5b4 \uc788\ub294\uc9c0 \ud655\uc778\ud55c \ud6c4, PyQt5 \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>pip install PyQt5<\/code><\/pre>\n<h2>4. Hello World \uc608\uc81c<\/h2>\n<p>\uc774\uc81c PyQt\ub97c \uc0ac\uc6a9\ud558\ub294 \uac00\uc7a5 \uac04\ub2e8\ud55c \uc608\uc81c\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798 \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \ucc3d\uc744 \ub744\uc6cc\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget\n\ndef main():\n    app = QApplication(sys.argv)\n    window = QWidget()\n    window.setWindowTitle(\"Hello World!\")\n    window.setGeometry(100, 100, 280, 80)\n    window.show()\n    sys.exit(app.exec_())\n\nif __name__ == \"__main__\":\n    main()<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 PyQt\uc758 \uae30\ubcf8 \uad6c\uc870\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. <code>QApplication<\/code> \uac1d\uccb4\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2dc\uc791\ud558\ub294 \uc5ed\ud560\uc744 \ud558\uba70, <code>QWidget<\/code> \uac1d\uccb4\ub294 \uae30\ubcf8 \ucc3d\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. \ucc3d\uc758 \uc81c\ubaa9\uc744 \uc124\uc815\ud558\uace0, \uc704\uce58\uc640 \ud06c\uae30\ub97c \uc9c0\uc815\ud55c \ud6c4\uc5d0 \ucc3d\uc744 \ubcf4\uc5ec\uc8fc\ub294 \ubc29\uc2dd\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4.<\/p>\n<h2>5. PyQt\uc758 \uc704\uc82f<\/h2>\n<p>PyQt\uc758 \uac00\uc7a5 \ud070 \uc7a5\uc810 \uc911 \ud558\ub098\ub294 \ub2e4\uc591\ud55c UI \uc704\uc82f\uc744 \uc81c\uacf5\ud55c\ub2e4\ub294 \uc810\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc704\uc82f\ub4e4\uc740 \uc0ac\uc6a9\uc790\uc640\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uac00\ub2a5\ud558\uac8c \ud574\uc8fc\uba70, \ub2e4\uc74c\uc740 PyQt\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \uc704\uc82f\ub4e4\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><code>QPushButton<\/code>: \ubc84\ud2bc\uc744 \uc0dd\uc131\ud558\ub294 \uc704\uc82f<\/li>\n<li><code>QLabel<\/code>: \ud14d\uc2a4\ud2b8 \ubc0f \uc774\ubbf8\uc9c0\ub97c \ud45c\uc2dc\ud558\ub294 \uc704\uc82f<\/li>\n<li><code>QLineEdit<\/code>: \ub2e8\uc77c \ud589 \ud14d\uc2a4\ud2b8 \uc785\ub825 \ud544\ub4dc<\/li>\n<li><code>QTextEdit<\/code>: \uc5ec\ub7ec \ud589 \ud14d\uc2a4\ud2b8 \uc785\ub825 \ubc0f \ud3b8\uc9d1 \ud544\ub4dc<\/li>\n<li><code>QComboBox<\/code>: \ub4dc\ub86d\ub2e4\uc6b4 \ubaa9\ub85d<\/li>\n<\/ul>\n<h3>5.1 \ubc84\ud2bc \ucd94\uac00 \uc608\uc81c<\/h3>\n<p>\ubc84\ud2bc\uc744 \ucd94\uac00\ud558\uc5ec \ud074\ub9ad\ud560 \ub54c\ub9c8\ub2e4 \uba54\uc2dc\uc9c0\ub97c \ucd9c\ub825\ud558\ub294 \uc608\uc81c\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798 \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud574 \ubcf4\uc138\uc694:<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QVBoxLayout, QLabel\n\ndef on_button_click():\n    label.setText(\"\ubc84\ud2bc\uc774 \ud074\ub9ad\ub418\uc5c8\uc2b5\ub2c8\ub2e4!\")\n\napp = QApplication(sys.argv)\nwindow = QWidget()\nwindow.setWindowTitle(\"\ubc84\ud2bc \ud074\ub9ad \uc608\uc81c\")\n\nlayout = QVBoxLayout()\n\nlabel = QLabel(\"\uc5ec\uae30\uc5d0 \ud074\ub9ad\ud558\uc138\uc694.\")\nbutton = QPushButton(\"\ud074\ub9ad\")\nbutton.clicked.connect(on_button_click)\n\nlayout.addWidget(label)\nlayout.addWidget(button)\nwindow.setLayout(layout)\n\nwindow.show()\nsys.exit(app.exec_())<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c\ub294 <code>QVBoxLayout<\/code>\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc218\uc9c1\uc73c\ub85c \uc704\uc82f\ub4e4\uc744 \ubc30\uce58\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uc608\uc81c\uc5d0\uc11c\ub294 \ubc84\ud2bc\uc774 \ud074\ub9ad\ub418\uba74 \ub808\uc774\ube14\uc758 \ud14d\uc2a4\ud2b8\uac00 \ubcc0\uacbd\ub418\ub3c4\ub85d \uc5f0\uacb0\ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>6. \ub808\uc774\uc544\uc6c3 \uad00\ub9ac<\/h2>\n<p>PyQt\uc5d0\uc11c \ub808\uc774\uc544\uc6c3\uc740 \uc704\uc82f\ub4e4\uc774 \ud654\uba74\uc5d0 \ud45c\ud604\ub418\ub294 \ubc29\uc2dd\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. PyQt\ub294 \uc5ec\ub7ec \ub808\uc774\uc544\uc6c3 \uad00\ub9ac\uc790\ub97c \uc81c\uacf5\ud558\uc5ec \ub2e4\uc591\ud55c \ubc29\uc2dd\uc73c\ub85c GUI\ub97c \uad6c\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uac00\uc7a5 \uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\ub418\ub294 \ub808\uc774\uc544\uc6c3 \uad00\ub9ac\uc790\ub4e4\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><code>QHBoxLayout<\/code>: \uc218\ud3c9 \ub808\uc774\uc544\uc6c3<\/li>\n<li><code>QVBoxLayout<\/code>: \uc218\uc9c1 \ub808\uc774\uc544\uc6c3<\/li>\n<li><code>QGridLayout<\/code>: \uadf8\ub9ac\ub4dc \ud615\uc2dd \ub808\uc774\uc544\uc6c3<\/li>\n<li><code>QFormLayout<\/code>: \ud3fc \ud615\uc2dd \ub808\uc774\uc544\uc6c3<\/li>\n<\/ul>\n<h3>6.1 \uadf8\ub9ac\ub4dc \ub808\uc774\uc544\uc6c3 \uc608\uc81c<\/h3>\n<p><code>QGridLayout<\/code>\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \uacc4\uc0b0\uae30 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc124\uacc4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac04\ub2e8\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget, QGridLayout, QPushButton, QLineEdit\n\nclass Calculator(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.init_ui()\n    \n    def init_ui(self):\n        self.setWindowTitle(\"\uac04\ub2e8 \uacc4\uc0b0\uae30\")\n        self.setGeometry(100, 100, 300, 400)\n\n        self.result = QLineEdit()\n        layout = QGridLayout()\n\n        buttons = [\n            ('7', 0, 0), ('8', 0, 1), ('9', 0, 2), ('\/', 0, 3),\n            ('4', 1, 0), ('5', 1, 1), ('6', 1, 2), ('*', 1, 3),\n            ('1', 2, 0), ('2', 2, 1), ('3', 2, 2), ('-', 2, 3),\n            ('0', 3, 0), ('=', 3, 1), ('+', 3, 2)\n        ]\n\n        layout.addWidget(self.result, 0, 0, 1, 4)\n\n        for (text, x, y) in buttons:\n            button = QPushButton(text)\n            layout.addWidget(button, x + 1, y)\n\n        self.setLayout(layout)\n\napp = QApplication(sys.argv)\ncalc = Calculator()\ncalc.show()\nsys.exit(app.exec_())<\/code><\/pre>\n<p>\uc774 \uc608\uc81c\ub294 \uc22b\uc790\uc640 \uc5f0\uc0b0\uc790\ub97c \ubc84\ud2bc\uc73c\ub85c \ubc30\uce58\ud558\uc5ec \uac04\ub2e8\ud55c \uacc4\uc0b0\uae30 UI\ub97c \ub9cc\ub4dc\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 \ubc84\ud2bc\uc744 \ud074\ub9ad\ud558\uc5ec \uc785\ub825\uc744 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>7. \uc774\ubca4\ud2b8 \ucc98\ub9ac<\/h2>\n<p>GUI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub294 \uc0ac\uc6a9\uc790\uc640\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uad00\ub9ac\ud558\ub294 \uc911\uc694\ud55c \ubd80\ubd84\uc785\ub2c8\ub2e4. PyQt\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \uc774\ubca4\ud2b8 \ubc29\ubc95\uc744 \uc9c0\uc6d0\ud558\uba70, \uc608\ub97c \ub4e4\uc5b4 \ubc84\ud2bc \ud074\ub9ad, \ud0a4\ubcf4\ub4dc \uc785\ub825, \ub9c8\uc6b0\uc2a4 \uc774\ub3d9 \ub4f1\uc758 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc704\uc5d0\uc11c \ub9cc\ub4e0 \ubc84\ud2bc \ud074\ub9ad \uc608\uc81c\ub97c \ud1b5\ud574 \uac04\ub2e8\ud55c \uc774\ubca4\ud2b8 \ucc98\ub9ac\ub97c \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>7.1 \ud0a4 \uc774\ubca4\ud2b8 \ucc98\ub9ac \uc608\uc81c<\/h3>\n<p>\uc544\ub798 \uc608\uc81c\ub97c \ud1b5\ud574 \ud0a4\ubcf4\ub4dc \uc785\ub825\uc744 \ubc1b\uc544 \ucc98\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget, QLabel\n\nclass KeyPressExample(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.label = QLabel(\"Press any key\", self)\n        self.setGeometry(100, 100, 300, 100)\n        self.setWindowTitle(\"\ud0a4 \uc774\ubca4\ud2b8 \uc608\uc81c\")\n\n    def keyPressEvent(self, event):\n        self.label.setText(f\"Pressed: {event.key()}\")\n\napp = QApplication(sys.argv)\nwindow = KeyPressExample()\nwindow.show()\nsys.exit(app.exec_())<\/code><\/pre>\n<p>\uc774 \ucf54\ub4dc\uc5d0\uc11c <code>keyPressEvent<\/code> \uba54\uc18c\ub4dc\ub97c \uc624\ubc84\ub77c\uc774\ub4dc\ud558\uc5ec \ud0a4\ubcf4\ub4dc\uc758 \uc5b4\ub5a4 \ud0a4\uac00 \ub20c\ub838\ub294\uc9c0 \ub808\uc774\ube14\uc5d0 \ud45c\uc2dc\ud558\ub3c4\ub85d \ud558\uc600\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>8. PyQt\uc758 \uc2a4\ud0c0\uc77c\ub9c1<\/h2>\n<p>\uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ub354\uc6b1 \ub9e4\ub825\uc801\uc73c\ub85c \ubcf4\uc774\uac8c \ud558\uae30 \uc704\ud574 PyQt\uc5d0\uc11c\ub294 \uc2a4\ud0c0\uc77c\uc2dc\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc704\uc82f\uc758 \uc2a4\ud0c0\uc77c\uc744 \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. CSS\uc640 \uc720\uc0ac\ud55c \ubc29\uc2dd\uc73c\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ub97c \ud1b5\ud574 \uc0c9\uc0c1, \ud06c\uae30, \ud14c\ub450\ub9ac \ub4f1\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>8.1 \uc2a4\ud0c0\uc77c \uc608\uc81c<\/h3>\n<p>\uc544\ub798 \ucf54\ub4dc\ub294 \ubc84\ud2bc\uc758 \uc2a4\ud0c0\uc77c\uc744 \ubcc0\uacbd\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget, QPushButton\n\napp = QApplication(sys.argv)\nwindow = QWidget()\nwindow.setWindowTitle(\"\uc2a4\ud0c0\uc77c \uc608\uc81c\")\n\nbutton = QPushButton(\"Click Me\", window)\nbutton.setStyleSheet(\"background-color: blue; color: white; font-size: 20px;\")\nbutton.setGeometry(50, 50, 200, 50)\n\nwindow.setGeometry(100, 100, 300, 150)\nwindow.show()\nsys.exit(app.exec_())<\/code><\/pre>\n<p>\uc5ec\uae30\uc11c\ub294 \ubc84\ud2bc\uc758 \ubc30\uacbd \uc0c9\uc0c1\uacfc \ud14d\uc2a4\ud2b8 \uc0c9\uc0c1, \uae00\uc790 \ud06c\uae30\ub97c \uc124\uc815\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc2a4\ud0c0\uc77c\uc2dc\ud2b8\ub97c \ud1b5\ud574 GUI\uc758 \ubbf8\uc801\uc778 \uc694\uc18c\ub97c \uac15\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>9. PyQt\uc640 \ub370\uc774\ud130\ubca0\uc774\uc2a4<\/h2>\n<p>PyQt\ub294 SQLite\uc640 \uac19\uc740 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc5f0\ub3d9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uace0 \ubd88\ub7ec\uc624\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ubd80\uac00\uc801\uc778 \ub370\uc774\ud130 \uad00\ub9ac \uae30\ub2a5\uc744 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\uacb0\uc740 <code>QSqlDatabase<\/code> \ud074\ub798\uc2a4\ub97c \ud1b5\ud574 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>9.1 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\uacb0 \uc608\uc81c<\/h3>\n<p>\uc544\ub798 \ucf54\ub4dc\ub294 SQLite \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc5f0\uacb0\ud558\uace0 \ub370\uc774\ud130\ub97c \ucd94\uac00\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>import sys\nfrom PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QPushButton, QLabel\nfrom PyQt5.QtSql import QSqlDatabase, QSqlQuery\n\nclass DatabaseExample(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.init_db()\n        self.init_ui()\n\n    def init_db(self):\n        self.db = QSqlDatabase.addDatabase(\"QSQLITE\")\n        self.db.setDatabaseName(\"example.db\")\n        self.db.open()\n        query = QSqlQuery()\n        query.exec_(\"CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT)\")\n\n    def init_ui(self):\n        layout = QVBoxLayout()\n        self.label = QLabel(\"\ub370\uc774\ud130 \ucd94\uac00\")\n        button = QPushButton(\"Add User\")\n        button.clicked.connect(self.add_user)\n\n        layout.addWidget(self.label)\n        layout.addWidget(button)\n        self.setLayout(layout)\n\n    def add_user(self):\n        query = QSqlQuery()\n        query.exec_(\"INSERT INTO users (name) VALUES ('Alice')\")\n        self.label.setText(\"User added!\")\n\napp = QApplication(sys.argv)\nwindow = DatabaseExample()\nwindow.setWindowTitle(\"\ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc608\uc81c\")\nwindow.show()\nsys.exit(app.exec_())<\/code><\/pre>\n<p>\uc704 \uc608\uc81c\uc5d0\uc11c\ub294 SQLite \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc5f0\uacb0\ud558\uace0 \uc0ac\uc6a9\uc790\ub97c \ucd94\uac00\ud558\ub294 \uc791\uc5c5\uc744 \uc218\ud589\ud569\ub2c8\ub2e4. <code>QSqlQuery<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec SQL \ucffc\ub9ac\ub97c \uc2e4\ud589\ud558\uace0 \uacb0\uacfc\ub97c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>10. \ub9c8\uce58\uba70<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 PyQt\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \ub2e4\uc591\ud55c \uae30\ub2a5\ub4e4, \uc704\uc82f, \uc2a4\ud0c0\uc77c\ub9c1, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\uacb0 \ub4f1\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. PyQt\ub294 GUI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud558\ub294 \ub370\uc5d0 \ub9ce\uc740 \uac00\ub2a5\uc131\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ucd08\ub97c \ubc14\ud0d5\uc73c\ub85c \uc5ec\ub7ec\ubd84\uc740 \ub354\uc6b1 \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4. PyQt\uc5d0 \ub300\ud55c \ub354 \ub9ce\uc740 \uc815\ubcf4\uc640 \uc608\uc81c\ub294 \uacf5\uc2dd \ubb38\uc11c\ub97c \ucc38\uace0\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4. \ub610\ud55c, \ud504\ub85c\uc81d\ud2b8\ub97c \uc9c4\ud589\ud558\uba74\uc11c \ubc1c\uc0dd\ud560 \uc218 \uc788\ub294 \ubb38\uc81c\uc5d0 \ub300\ud574\uc11c\ub294 \ucee4\ubba4\ub2c8\ud2f0\uc5d0\uc11c \ub3c4\uc6c0\uc744 \ubc1b\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>PyQt\ub97c \ud1b5\ud574 \uac1c\ubc1c\ud558\uc138\uc694!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PyQt\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc8fc\ub294 \ubc14\uc778\ub529 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. Qt\ub294 \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud234\ud0b7\uc73c\ub85c, C++ \uc5b8\uc5b4\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. PyQt\ub97c \uc0ac\uc6a9\ud558\uba74 \uc0ac\uc6a9\uc790\uac00 \uce5c\uc219\ud55c GUI (Graphical User Interface)\ub97c \uc190\uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub85c \uc0c1\uc6a9\ud654\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. PyQt\uc758 \uc5ed\uc0ac PyQt\ub294 1998\ub144 Phil Thompson\uc5d0 \uc758\ud574 \ucd5c\ucd08\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\ud6c4\ub85c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/39176\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00&#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-39176","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\ub780 \ubb34\uc5c7\uc778\uac00 - \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\/39176\/\" \/>\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\ub780 \ubb34\uc5c7\uc778\uac00 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"PyQt\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc8fc\ub294 \ubc14\uc778\ub529 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. Qt\ub294 \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud234\ud0b7\uc73c\ub85c, C++ \uc5b8\uc5b4\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. PyQt\ub97c \uc0ac\uc6a9\ud558\uba74 \uc0ac\uc6a9\uc790\uac00 \uce5c\uc219\ud55c GUI (Graphical User Interface)\ub97c \uc190\uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub85c \uc0c1\uc6a9\ud654\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. PyQt\uc758 \uc5ed\uc0ac PyQt\ub294 1998\ub144 Phil Thompson\uc5d0 \uc758\ud574 \ucd5c\ucd08\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\ud6c4\ub85c &hellip; \ub354 \ubcf4\uae30 &quot;PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/39176\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-02T03:38:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:42:14+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\/39176\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39176\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00\",\"datePublished\":\"2024-11-02T03:38:18+00:00\",\"dateModified\":\"2024-11-26T06:42:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39176\/\"},\"wordCount\":61,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"PyQt\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/39176\/\",\"url\":\"https:\/\/atmokpo.com\/w\/39176\/\",\"name\":\"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-02T03:38:18+00:00\",\"dateModified\":\"2024-11-26T06:42:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/39176\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/39176\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/39176\/#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\ub780 \ubb34\uc5c7\uc778\uac00\"}]},{\"@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\ub780 \ubb34\uc5c7\uc778\uac00 - \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\/39176\/","og_locale":"ko_KR","og_type":"article","og_title":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"PyQt\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc8fc\ub294 \ubc14\uc778\ub529 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. Qt\ub294 \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub110\ub9ac \uc0ac\uc6a9\ub418\ub294 \ud234\ud0b7\uc73c\ub85c, C++ \uc5b8\uc5b4\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. PyQt\ub97c \uc0ac\uc6a9\ud558\uba74 \uc0ac\uc6a9\uc790\uac00 \uce5c\uc219\ud55c GUI (Graphical User Interface)\ub97c \uc190\uc27d\uac8c \ub9cc\ub4e4 \uc218 \uc788\uc73c\uba70, \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc18c\ud504\ud2b8\uc6e8\uc5b4\ub85c \uc0c1\uc6a9\ud654\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. 1. PyQt\uc758 \uc5ed\uc0ac PyQt\ub294 1998\ub144 Phil Thompson\uc5d0 \uc758\ud574 \ucd5c\ucd08\ub85c \uac1c\ubc1c\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc774\ud6c4\ub85c &hellip; \ub354 \ubcf4\uae30 \"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00\"","og_url":"https:\/\/atmokpo.com\/w\/39176\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-02T03:38:18+00:00","article_modified_time":"2024-11-26T06:42:14+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\/39176\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/39176\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00","datePublished":"2024-11-02T03:38:18+00:00","dateModified":"2024-11-26T06:42:14+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/39176\/"},"wordCount":61,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["PyQt"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/39176\/","url":"https:\/\/atmokpo.com\/w\/39176\/","name":"PyQt\uac1c\ubc1c\uac15\uc88c, PyQt\ub780 \ubb34\uc5c7\uc778\uac00 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-02T03:38:18+00:00","dateModified":"2024-11-26T06:42:14+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/39176\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/39176\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/39176\/#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\ub780 \ubb34\uc5c7\uc778\uac00"}]},{"@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":39284,"url":"https:\/\/atmokpo.com\/w\/39284\/","url_meta":{"origin":39176,"position":0},"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":39132,"url":"https:\/\/atmokpo.com\/w\/39132\/","url_meta":{"origin":39176,"position":1},"title":"PyQt\uac1c\ubc1c\uac15\uc88c, QSequentialAnimationGroup\uacfc QParallelAnimationGroup","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 \uc11c\ub860 PyQt\ub294 Python\uc5d0\uc11c Qt \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uac00\ub2a5\ud558\uac8c \ud558\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. PyQt\ub97c \ud65c\uc6a9\ud558\uba74 \ubcf5\uc7a1\ud55c GUI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uc81c\uc791\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8 \uc911\uc5d0\uc11c\ub3c4 \uc560\ub2c8\uba54\uc774\uc158\uc740 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ubcf4\ub2e4 \uc9c1\uad00\uc801\uc774\uace0 \ub9e4\ub825\uc801\uc73c\ub85c \ub9cc\ub4dc\ub294 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. QSequentialAnimationGroup\uacfc QParallelAnimationGroup\uc740 PyQt\uc5d0\uc11c \uc560\ub2c8\uba54\uc774\uc158\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uad00\ub9ac\ud558\uae30 \uc704\ud55c \ub450 \uac00\uc9c0 \uc911\uc694\ud55c\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":43685,"url":"https:\/\/atmokpo.com\/w\/43685\/","url_meta":{"origin":39176,"position":2},"title":"\ub178\ub4dc \uadf8\ub798\ud504 \uc5d0\ub514\ud130 C# WPF \ubc84\uc804","author":"root","date":"2025\ub144 06\uc6d4 01\uc77c","format":false,"excerpt":"GUI\ub098 \ud654\uba74 \uc2dc\uac01\ud654 \ucabd\uc740 \ud655\uc2e4\ud788 WPF \uac00 \uc88b\uc740\uac70 \uac19\uc544\uc11c \uae30\uc874\uc5d0 PyQT \ub85c \ub9cc\ub4e4\uc5c8\ub358 \ub178\ub4dc \uadf8\ub798\ud504 \uc5d0\ub514\ud130 \ud504\ub85c\uadf8\ub7a8\uc744 C# WPF \ud504\ub85c\uadf8\ub7a8\uc73c\ub85c \uc804\ud658. AI \ud798\uc744 \ube4c\ub824\uc11c \uc774\ud2c0\ub9cc\uc5d0 \uc804\ud658.","rel":"","context":"&quot;\ud68c\uc0ac\uad00\ub828&quot;\uc5d0\uc11c","block_context":{"text":"\ud68c\uc0ac\uad00\ub828","link":"https:\/\/atmokpo.com\/w\/category\/%ed%9a%8c%ec%82%ac%ea%b4%80%eb%a0%a8\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2025\/06\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2025\/06\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2025\/06\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2025\/06\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2025\/06\/image.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2025\/06\/image.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":43007,"url":"https:\/\/atmokpo.com\/w\/43007\/","url_meta":{"origin":39176,"position":3},"title":"Desktop App\uc5d0\uc11c \uc6f9\ubdf0 \ube44\uad50","author":"root","date":"2024\ub144 11\uc6d4 24\uc77c","format":false,"excerpt":"\uc708\ub3c4\uc6b0\ub098 \ub9e5\uc5d0\uc11c \uc2e4\ud589\ub418\ub294 \ub370\uc2a4\ud06c\ud1b1\uc6a9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\ub418\ub294 WebView \uc5d4\uc9c4\ub4e4\uc744 \ube44\uad50\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 \uac1c\ubc1c \uc5b8\uc5b4\ubcc4\ub85c \uc5b4\ub5a4 WebView\ub97c \uc0ac\uc6a9\ud558\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uace0, \uac01 \ud504\ub808\uc784\uc6cc\ud06c\uc758 \ud2b9\uc131\uacfc \uc7a5\ub2e8\uc810\uc744 \uc790\uc138\ud788 \uc124\uba85\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ud504\ub808\uc784\uc6cc\ud06c\ubcc4 WebView \uc5d4\uc9c4 \ube44\uad50 \ud504\ub808\uc784\uc6cc\ud06c\uc6f9\ubdf0 \uc5d4\uc9c4\ud2b9\uc9d5ElectronChromium\ub3c5\ub9bd\uc801\uc778 \ucd5c\uc2e0 Chromium \uc5d4\uc9c4, \ud06c\ub85c\uc2a4\ud50c\ub7ab\ud3fc \uc9c0\uc6d0TauriNative WebView\uac00\ubcbc\uc6c0, \ud50c\ub7ab\ud3fc \uae30\ubcf8 \uc6f9\ubdf0 (Edge WebView2, WKWebView) \uc0ac\uc6a9FlutterNative WebView\ubaa8\ubc14\uc77c \ubc0f \ub370\uc2a4\ud06c\ud1b1 \ub124\uc774\ud2f0\ube0c \uc6f9\ubdf0, \uc720\uc5f0\ud55c\u2026","rel":"","context":"&quot;WPF \uac1c\ubc1c&quot;\uc5d0\uc11c","block_context":{"text":"WPF \uac1c\ubc1c","link":"https:\/\/atmokpo.com\/w\/category\/wpf-%ea%b0%9c%eb%b0%9c\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/WPF.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/WPF.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/WPF.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/WPF.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/WPF.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/WPF.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":43473,"url":"https:\/\/atmokpo.com\/w\/43473\/","url_meta":{"origin":39176,"position":4},"title":"[Dart \uc5b8\uc5b4\uac15\uc88c]  002. Dart \uc5b8\uc5b4\ub780 , Dart\uc758 \uc8fc\uc694 \ud2b9\uc9d5 \ubc0f \uc7a5\uc810","author":"root","date":"2024\ub144 11\uc6d4 28\uc77c","format":false,"excerpt":"Dart\ub294 \uad6c\uae00\uc774 \uac1c\ubc1c\ud55c \uc624\ud508 \uc18c\uc2a4 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub85c, \uc8fc\ub85c \uc6f9 \ubc0f \ubaa8\ubc14\uc77c \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. 2011\ub144 \uacf5\uac1c\ub41c Dart\ub294 JavaScript\uc640 \uc720\uc0ac\ud55c \ubb38\ubc95\uacfc \uac15\ub825\ud55c \uc815\uc801 \ud0c0\uc785 \uc2dc\uc2a4\ud15c\uc744 \uac00\uc9c0\uace0 \uc788\uc73c\uba70, \uc774\ub7ec\ud55c \ud2b9\uc131 \ub355\ubd84\uc5d0 \uac1c\ubc1c\uc790\ub4e4\uc774 \ub354 \uc27d\uace0 \uc548\uc804\ud558\uac8c \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ub3d5\uc2b5\ub2c8\ub2e4. Dart\ub294 \ud2b9\ud788 Flutter \ud504\ub808\uc784\uc6cc\ud06c\uc640 \ud568\uaed8 \uc0ac\uc6a9\ub418\uba70, \uc774\ub97c \ud1b5\ud574 \ud06c\ub85c\uc2a4 \ud50c\ub7ab\ud3fc \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc190\uc27d\uac8c\u2026","rel":"","context":"&quot;\ud50c\ub7ec\ud130 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud50c\ub7ec\ud130 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%94%8c%eb%9f%ac%ed%84%b0-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":43519,"url":"https:\/\/atmokpo.com\/w\/43519\/","url_meta":{"origin":39176,"position":5},"title":"[Dart \uc5b8\uc5b4\uac15\uc88c]  026. Dart\uc640 \ud1b5\ud569\ub41c \ud604\ub300\uc801 \uac1c\ubc1c \ud2b8\ub80c\ub4dc, Dart\uc640 DevOps, CI CD \ud30c\uc774\ud504\ub77c\uc778","author":"root","date":"2024\ub144 11\uc6d4 28\uc77c","format":false,"excerpt":"\uc9c0\ub09c \uba87 \ub144\uac04 Dart\ub77c\ub294 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uac00 \uc778\uae30\ub97c \ub04c\uba74\uc11c, \ub9ce\uc740 \uac1c\ubc1c\uc790\ub4e4\uc774 \ubaa8\ubc14\uc77c \ubc0f \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4e4\uae30 \uc704\ud574 \uc774 \uc5b8\uc5b4\ub97c \uc120\ud0dd\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. Dart\ub294 Google\uc5d0 \uc758\ud574 \uac1c\ubc1c\ub418\uc5c8\uc73c\uba70, \ud2b9\ud788 Flutter \ud504\ub808\uc784\uc6cc\ud06c\uc640 \ubc00\uc811\ud558\uac8c \uc5f0\uad00\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4. Flutter\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub9e4\ub825\uc801\uc774\uace0 performant\ud55c UI\ub97c \uad6c\ucd95\ud558\ub294 \uac83\uc774 \uac00\ub2a5\ud558\uc9c0\ub9cc, Dart\uc758 \uc7a5\uc810\uc740 UI \uadf8 \uc774\uc0c1\uc785\ub2c8\ub2e4. \uc774\ubc88 \ube14\ub85c\uadf8 \uae00\uc5d0\uc11c\ub294 Dart\uc640 \ud604\ub300\uc801\uc778 \uac1c\ubc1c \ud2b8\ub80c\ub4dc,\u2026","rel":"","context":"&quot;\ud50c\ub7ec\ud130 \uac15\uc88c&quot;\uc5d0\uc11c","block_context":{"text":"\ud50c\ub7ec\ud130 \uac15\uc88c","link":"https:\/\/atmokpo.com\/w\/category\/%ed%94%8c%eb%9f%ac%ed%84%b0-%ea%b0%95%ec%a2%8c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39176","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=39176"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39176\/revisions"}],"predecessor-version":[{"id":39177,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/39176\/revisions\/39177"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=39176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=39176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=39176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}