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 の列がマウスでサイズ変更されているかどうかを知りたいです。いずれかの列のサイズが変更されるたびに信号を送信するにはどうすればよいですか?
列のサイズ変更は、水平方向によって実行されQHeaderViewます。を呼び出してアクセスします。QTableWidget::horizontalHeader() const関心のあるシグナルは ですQHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)。
QHeaderView
QTableWidget::horizontalHeader() const
QHeaderView::sectionResized(int logicalIndex, int oldSize, int newSize)