Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
一定の時間間隔の後、qtablewidget にデータを挿入しています。このために、qtableのすべてのコンテンツをクリアしてからデータを挿入しています。しかし、最初の行のデータを表示するテーブルは、常に最後の行を表示する必要があります。これは、テーブルの実際の更新のように感じられます。これを行う方法?
行を挿入した後QTableWidget.scrollToBottom()、最後の行を表示するために呼び出します。
QTableWidget.scrollToBottom()