{"id":30837,"date":"2024-10-28T06:04:08","date_gmt":"2024-10-28T06:04:08","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=30837"},"modified":"2024-11-26T06:47:15","modified_gmt":"2024-11-26T06:47:15","slug":"%ed%8c%8c%ec%9d%b4%ec%8d%ac-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4-%ea%b0%9c%eb%b0%9c-pyqt-qtablewidget","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/30837\/","title":{"rendered":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget"},"content":{"rendered":"<p><body><\/p>\n<p>\ud30c\uc774\uc36c\uc744 \ud65c\uc6a9\ud55c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uac1c\ubc1c\uc740 \uae08\uc735 \ud2b8\ub808\uc774\ub529\uc758 \uc790\ub3d9\ud654\ub97c \ud1b5\ud574 \ud22c\uc790 \ud6a8\uc728\uc131\uc744 \uadf9\ub300\ud654\ud558\ub294 \ud6cc\ub96d\ud55c \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 PyQt\uc758 QTableWidget\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ubc0f \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(Ui) \uad6c\uc131 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub610\ud55c, QTableWidget\uc744 \ud1b5\ud574 \uc2e4\uc2dc\uac04\uc73c\ub85c \uc8fc\uc2dd \ub370\uc774\ud130\ub97c \ubaa8\ub2c8\ud130\ub9c1\ud558\uba70, \uc774\ub97c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uacc4\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>1. \ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc758 \uac1c\uc694<\/h2>\n<p>\uc790\ub3d9\ub9e4\ub9e4 \uc54c\uace0\ub9ac\uc998\uc740 \uc0ac\uc6a9\uc790\uc758 \uc804\ub7b5\uc774 \uc9c4\ud589\ub420 \uc218 \uc788\ub3c4\ub85d \ud2b8\ub808\uc774\ub529 \ud504\ub85c\uadf8\ub7a8\uc774 \uc0ac\ub78c \ub300\uc2e0 \uacb0\uc815\uc744 \ub0b4\ub9ac\ub294 \uac83\uc744 \ub9d0\ud569\ub2c8\ub2e4. \ud30c\uc774\uc36c\uc740 \uadf8 \uc190\uc26c\uc6b4 \ubb38\ubc95\uacfc \uac15\ub825\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac \ub355\ubd84\uc5d0 \ub370\uc774\ud130 \ubd84\uc11d\uacfc \uae30\uacc4 \ud559\uc2b5 \ubd84\uc57c\uc5d0\uc11c \uc778\uae30\uac00 \ub192\uc544\uc838 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1.1 \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc758 \ud544\uc694\uc131<\/h3>\n<p>\uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uba87 \uac00\uc9c0 \uc8fc\uc694 \uc774\uc810\uc744 \uacb8\ube44\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>24\uc2dc\uac04 \ubaa8\ub2c8\ud130\ub9c1: \uc778\uac04\uc740 \uc26c\uac70\ub098 \ud53c\ub85c\ud574\uc9c8 \uc218 \uc788\uc9c0\ub9cc, \ud504\ub85c\uadf8\ub7a8\uc740 \uc9c0\uc18d\uc801\uc73c\ub85c \uc2dc\uc7a5\uc744 \uad00\ucc30\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc815\ud655\uc131: \ud504\ub85c\uadf8\ub7a8 \uc9c0\uc815\ub41c \uc54c\uace0\ub9ac\uc998\uc5d0 \ub530\ub77c \ub9e4\ub9e4\ub97c \uc2e4\ud589\ud558\uc5ec \uac10\uc815\uc758 \uc601\ud5a5\uc744 \ubc30\uc81c\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc18d\ub3c4: \uc790\ub3d9\ub9e4\ub9e4\ub294 \uc218 \ubc00\ub9ac\ucd08 \ub0b4\uc5d0 \uc8fc\ubb38\uc744 \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. PyQt \ubc0f QTableWidget \uc18c\uac1c<\/h2>\n<p>PyQt\ub294 Python \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\ub85c \uc791\uc131\ub41c GUI \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc704\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\uc774\uba70, Qt \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uae30\ubc18\uc73c\ub85c \ud569\ub2c8\ub2e4. PyQt\ub294 \ub2e4\uc591\ud55c \uc704\uc82f\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uadf8 \uc911 QTableWidget\uc740 \ub370\uc774\ud130\ub97c \ud45c \ud615\uc2dd\uc73c\ub85c \ubcf4\uc5ec\uc8fc\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud55c \uc704\uc82f\uc785\ub2c8\ub2e4.<\/p>\n<h3>2.1 QTableWidget\uc758 \uc8fc\uc694 \uae30\ub2a5<\/h3>\n<ul>\n<li>\uc140 \uae30\ubc18\uc758 \ub370\uc774\ud130 \uc785\ub825 \ubc0f \ud45c\uc2dc \uc9c0\uc6d0<\/li>\n<li>\uac01 \uc140\uc5d0 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud0c0\uc785\uc744 \uc800\uc7a5 \uac00\ub2a5<\/li>\n<li>\uc815\ub82c \ubc0f \uac80\uc0c9 \uae30\ub2a5 \uc81c\uacf5<\/li>\n<li>\uc0ac\uc6a9\uc790 \uc815\uc758 \uc2a4\ud0c0\uc77c\ub9c1 \uc9c0\uc6d0<\/li>\n<\/ul>\n<h3>2.2 QTableWidget \ud65c\uc6a9\ud558\uae30<\/h3>\n<p>QTableWidget\uc744 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc608\uc81c \ucf54\ub4dc\ub97c \ud1b5\ud574 \uad6c\uccb4\uc801\uc73c\ub85c \uc785\ubb38\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.3 \uae30\ubcf8 QTableWidget \uc608\uc81c<\/h3>\n<pre><code>\nimport sys\nfrom PyQt5.QtWidgets import QApplication, QTableWidget, QTableWidgetItem, QVBoxLayout, QWidget\n\nclass TableWidgetExample(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.setWindowTitle(\"QTableWidget \uc608\uc81c\")\n        self.resize(600, 400)\n\n        self.tableWidget = QTableWidget(self)\n        self.tableWidget.setRowCount(5)\n        self.tableWidget.setColumnCount(3)\n\n        self.tableWidget.setHorizontalHeaderLabels([\"\ucf54\ub4dc\", \"\uc885\ubaa9\uba85\", \"\ud604\uc7ac\uac00\"])\n        \n        # \ub370\uc774\ud130 \uc0bd\uc785\n        self.tableWidget.setItem(0, 0, QTableWidgetItem(\"005930\"))\n        self.tableWidget.setItem(0, 1, QTableWidgetItem(\"\uc0bc\uc131\uc804\uc790\"))\n        self.tableWidget.setItem(0, 2, QTableWidgetItem(\"90000\"))\n\n        layout = QVBoxLayout()\n        layout.addWidget(self.tableWidget)\n        self.setLayout(layout)\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    mainWin = TableWidgetExample()\n    mainWin.show()\n    sys.exit(app.exec_())\n    <\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \uae30\ubcf8\uc801\uc778 QTableWidget\uc744 \uc0dd\uc131\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4. 5\uac1c\uc758 \ud589\uacfc 3\uac1c\uc758 \uc5f4\uc744 \uc124\uc815\ud558\uc600\uc73c\uba70, \uccab \ubc88\uc9f8 \ud589\uc5d0 \uc0bc\uc131\uc804\uc790\uc758 \ub370\uc774\ud130\ub97c \uc785\ub825\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc774\uc81c \uc774 \uc704\uc82f\uc744 \ud655\uc7a5\ud558\uc5ec \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uae30\ubcf8 \uad6c\uc870<\/h2>\n<p>\uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc744 \uad6c\uc131\ud558\ub294 \uae30\ubcf8 \uc694\uc18c\ub294 \ub370\uc774\ud130 \ud53c\ub4dc, \uc804\ub7b5 \ub85c\uc9c1, \uc8fc\ubb38 \uc2e4\ud589, \uadf8\ub9ac\uace0 \ub9ac\ud3ec\ud305\uc785\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc694\uc18c\ub4e4\uc744 PyQt \ubc0f QTableWidget\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uc2dc\uac04\uc73c\ub85c \uc2dc\uac01\ud654\ud558\ub294 \ubc29\ubc95\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 \uc2e4\uc2dc\uac04 \ub370\uc774\ud130 \ud53c\ub4dc<\/h3>\n<p>\uc8fc\uc2dd \ub370\uc774\ud130 API\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2e4\uc2dc\uac04 \ub370\uc774\ud130\ub97c \ubc1b\uc544\uc62c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, <code>yfinance<\/code> \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud574 \uc560\ud50c \uc8fc\uc2dd\uc758 \ub370\uc774\ud130\ub97c \uac00\uc838\uc624\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\ub4dc\ub9ac\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\nimport yfinance as yf\n\ndef get_real_time_data():\n    ticker = 'AAPL'\n    data = yf.download(ticker, period='1d', interval='1m')\n    return data\n    <\/code><\/pre>\n<h3>3.2 \uc790\ub3d9\ub9e4\ub9e4 \uc804\ub7b5 \ub85c\uc9c1<\/h3>\n<p>\uac04\ub2e8\ud55c \ub9e4\ub9e4 \uc804\ub7b5\uc73c\ub85c\ub294 \uc774\ub3d9 \ud3c9\uade0 \uad50\ucc28 \uc804\ub7b5\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc8fc\uac00\uc758 \ub2e8\uae30 \uc774\ub3d9 \ud3c9\uade0\uc774 \uc7a5\uae30 \uc774\ub3d9 \ud3c9\uade0\uc744 \ucd08\uacfc\ud560 \ub54c \ub9e4\uc218\ud558\uace0, \ubc18\ub300\uc758 \uacbd\uc6b0 \ub9e4\ub3c4\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc774\ub97c \ucf54\ub4dc\ub85c \uad6c\ud604\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\ndef moving_average_strategy(data):\n    short_window = 5\n    long_window = 20\n    \n    signals = pd.DataFrame(index=data.index)\n    signals['price'] = data['Close']\n    signals['short_mavg'] = data['Close'].rolling(window=short_window, min_periods=1).mean()\n    signals['long_mavg'] = data['Close'].rolling(window=long_window, min_periods=1).mean()\n\n    signals['signal'] = 0.0\n    signals['signal'][short_window:] = np.where(signals['short_mavg'][short_window:] &gt; signals['long_mavg'][short_window:], 1.0, 0.0)    \n    signals['positions'] = signals['signal'].diff()\n\n    return signals\n    <\/code><\/pre>\n<h3>3.3 QTableWidget\uacfc \ud1b5\ud569<\/h3>\n<p>\uc704\uc5d0\uc11c \uc0dd\uc131\ud55c QTableWidget\uc5d0 \uc2e4\uc2dc\uac04 \ub370\uc774\ud130\uc640 \uacc4\uc0b0\ub41c \uc2e0\ud638\ub97c \uc5c5\ub370\uc774\ud2b8\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc790\ub3d9\uc73c\ub85c \ub370\uc774\ud130\uac00 \uc5c5\ub370\uc774\ud2b8 \ub418\ub3c4\ub85d \ud0c0\uc774\uba38\ub97c \uc124\uc815\ud558\uace0 \uc2e0\ud638\ub97c \ud45c\uc2dc\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>\nfrom PyQt5.QtCore import QTimer\nimport pandas as pd\nimport numpy as np\n\nclass TradingApp(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.setWindowTitle(\"\uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\")\n        self.resize(800, 600)\n        \n        # QTableWidget \ubc0f \ub370\uc774\ud130 \ucd08\uae30\ud654\n        self.tableWidget = QTableWidget(self)\n        self.tableWidget.setRowCount(10)\n        self.tableWidget.setColumnCount(4)\n        self.tableWidget.setHorizontalHeaderLabels([\"\ucf54\ub4dc\", \"\uc774\ud604\uc7ac\uac00\", \"\uc2e0\ud638\", \"\ud3ec\uc9c0\uc158\"])\n        \n        self.layout = QVBoxLayout()\n        self.layout.addWidget(self.tableWidget)\n        self.setLayout(self.layout)\n        \n        # \ub370\uc774\ud130 \uc5c5\ub370\uc774\ud2b8 \ud0c0\uc774\uba38\n        self.timer = QTimer(self)\n        self.timer.timeout.connect(self.update_table)\n        self.timer.start(10000)  # 10\ucd08\ub9c8\ub2e4 \uc5c5\ub370\uc774\ud2b8\n\n    def update_table(self):\n        data = get_real_time_data()  # \ub370\uc774\ud130 \uac00\uc838\uc624\n        signals = moving_average_strategy(data)\n\n        for i in range(len(signals)):\n            self.tableWidget.setItem(i, 0, QTableWidgetItem(\"AAPL\"))  # \ucf54\ub4dc\n            self.tableWidget.setItem(i, 1, QTableWidgetItem(str(signals['price'].iloc[i])))  # \ud604\uc7ac\uac00\n            self.tableWidget.setItem(i, 2, QTableWidgetItem(str(signals['signal'].iloc[i])))  # \uc2e0\ud638\n            self.tableWidget.setItem(i, 3, QTableWidgetItem(str(signals['positions'].iloc[i])))  # \ud3ec\uc9c0\uc158\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    mainWin = TradingApp()\n    mainWin.show()\n    sys.exit(app.exec_())\n    <\/code><\/pre>\n<h2>4. \uacb0\ub860<\/h2>\n<p>\uc624\ub298\uc740 PyQt\uc758 QTableWidget\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc744 \uac1c\ubc1c\ud558\ub294 \uacfc\uc815\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc2e4\uc2dc\uac04\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc81c\uacf5\ud558\uace0 \uc790\ub3d9\ub9e4\ub9e4 \uc804\ub7b5\uc744 \uae30\ubc18\uc73c\ub85c \ud45c\uc2dc\ud560 \uc218 \uc788\ub294 UI\ub97c \uad6c\ucd95\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \ub354 \ub098\uc544\uac00 \uace0\uae09 \uc804\ub7b5, \ub9ac\ud3ec\ud305, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc5f0\ub3d9 \ub4f1\uc744 \ud65c\uc6a9\ud558\uc5ec \ubcf5\uc7a1\ud55c \uc2dc\uc2a4\ud15c\uc744 \uad6c\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc55e\uc73c\ub85c \ub354 \ub9ce\uc740 \uc8fc\uc81c\ub97c \ub2e4\ub8e8\uba74\uc11c \ub354 \ub098\uc740 \ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc744 \uac1c\ubc1c\ud574 \ub098\uac00\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud30c\uc774\uc36c\uc744 \ud65c\uc6a9\ud55c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uac1c\ubc1c\uc740 \uae08\uc735 \ud2b8\ub808\uc774\ub529\uc758 \uc790\ub3d9\ud654\ub97c \ud1b5\ud574 \ud22c\uc790 \ud6a8\uc728\uc131\uc744 \uadf9\ub300\ud654\ud558\ub294 \ud6cc\ub96d\ud55c \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 PyQt\uc758 QTableWidget\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ubc0f \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(Ui) \uad6c\uc131 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub610\ud55c, QTableWidget\uc744 \ud1b5\ud574 \uc2e4\uc2dc\uac04\uc73c\ub85c \uc8fc\uc2dd \ub370\uc774\ud130\ub97c \ubaa8\ub2c8\ud130\ub9c1\ud558\uba70, \uc774\ub97c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uacc4\ud560 \uac83\uc785\ub2c8\ub2e4. 1. \ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc758 \uac1c\uc694 \uc790\ub3d9\ub9e4\ub9e4 \uc54c\uace0\ub9ac\uc998\uc740 \uc0ac\uc6a9\uc790\uc758 \uc804\ub7b5\uc774 \uc9c4\ud589\ub420 \uc218 \uc788\ub3c4\ub85d \ud2b8\ub808\uc774\ub529 \ud504\ub85c\uadf8\ub7a8\uc774 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/30837\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget&#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":[37],"tags":[],"class_list":["post-30837","post","type-post","status-publish","format-standard","hentry","category-37"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget - \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\/30837\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ud30c\uc774\uc36c\uc744 \ud65c\uc6a9\ud55c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uac1c\ubc1c\uc740 \uae08\uc735 \ud2b8\ub808\uc774\ub529\uc758 \uc790\ub3d9\ud654\ub97c \ud1b5\ud574 \ud22c\uc790 \ud6a8\uc728\uc131\uc744 \uadf9\ub300\ud654\ud558\ub294 \ud6cc\ub96d\ud55c \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 PyQt\uc758 QTableWidget\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ubc0f \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(Ui) \uad6c\uc131 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub610\ud55c, QTableWidget\uc744 \ud1b5\ud574 \uc2e4\uc2dc\uac04\uc73c\ub85c \uc8fc\uc2dd \ub370\uc774\ud130\ub97c \ubaa8\ub2c8\ud130\ub9c1\ud558\uba70, \uc774\ub97c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uacc4\ud560 \uac83\uc785\ub2c8\ub2e4. 1. \ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc758 \uac1c\uc694 \uc790\ub3d9\ub9e4\ub9e4 \uc54c\uace0\ub9ac\uc998\uc740 \uc0ac\uc6a9\uc790\uc758 \uc804\ub7b5\uc774 \uc9c4\ud589\ub420 \uc218 \uc788\ub3c4\ub85d \ud2b8\ub808\uc774\ub529 \ud504\ub85c\uadf8\ub7a8\uc774 &hellip; \ub354 \ubcf4\uae30 &quot;\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/30837\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T06:04:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:47:15+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\/30837\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30837\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget\",\"datePublished\":\"2024-10-28T06:04:08+00:00\",\"dateModified\":\"2024-11-26T06:47:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30837\/\"},\"wordCount\":27,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ud30c\uc774\uc36c\uc790\ub3d9\ub9e4\ub9e4\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/30837\/\",\"url\":\"https:\/\/atmokpo.com\/w\/30837\/\",\"name\":\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T06:04:08+00:00\",\"dateModified\":\"2024-11-26T06:47:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30837\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/30837\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/30837\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget\"}]},{\"@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":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget - \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\/30837\/","og_locale":"ko_KR","og_type":"article","og_title":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ud30c\uc774\uc36c\uc744 \ud65c\uc6a9\ud55c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c \uac1c\ubc1c\uc740 \uae08\uc735 \ud2b8\ub808\uc774\ub529\uc758 \uc790\ub3d9\ud654\ub97c \ud1b5\ud574 \ud22c\uc790 \ud6a8\uc728\uc131\uc744 \uadf9\ub300\ud654\ud558\ub294 \ud6cc\ub96d\ud55c \ubc29\ubc95\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 PyQt\uc758 QTableWidget\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130 \uc2dc\uac01\ud654 \ubc0f \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(Ui) \uad6c\uc131 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \ub610\ud55c, QTableWidget\uc744 \ud1b5\ud574 \uc2e4\uc2dc\uac04\uc73c\ub85c \uc8fc\uc2dd \ub370\uc774\ud130\ub97c \ubaa8\ub2c8\ud130\ub9c1\ud558\uba70, \uc774\ub97c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uacfc \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uacc4\ud560 \uac83\uc785\ub2c8\ub2e4. 1. \ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uc2dc\uc2a4\ud15c\uc758 \uac1c\uc694 \uc790\ub3d9\ub9e4\ub9e4 \uc54c\uace0\ub9ac\uc998\uc740 \uc0ac\uc6a9\uc790\uc758 \uc804\ub7b5\uc774 \uc9c4\ud589\ub420 \uc218 \uc788\ub3c4\ub85d \ud2b8\ub808\uc774\ub529 \ud504\ub85c\uadf8\ub7a8\uc774 &hellip; \ub354 \ubcf4\uae30 \"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget\"","og_url":"https:\/\/atmokpo.com\/w\/30837\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T06:04:08+00:00","article_modified_time":"2024-11-26T06:47:15+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\/30837\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/30837\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget","datePublished":"2024-10-28T06:04:08+00:00","dateModified":"2024-11-26T06:47:15+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/30837\/"},"wordCount":27,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ud30c\uc774\uc36c\uc790\ub3d9\ub9e4\ub9e4"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/30837\/","url":"https:\/\/atmokpo.com\/w\/30837\/","name":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T06:04:08+00:00","dateModified":"2024-11-26T06:47:15+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/30837\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/30837\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/30837\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ud30c\uc774\uc36c \uc790\ub3d9\ub9e4\ub9e4 \uac1c\ubc1c, PyQt QTableWidget"}]},{"@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\/30837","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=30837"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30837\/revisions"}],"predecessor-version":[{"id":30838,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30837\/revisions\/30838"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=30837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=30837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=30837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}