Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I'd like to put QLineEdit above QTableView and adhere to QTableView's columns. When I resize column or table every line edit should have the same width with coulumn below. How can i do this ?
HI and welcome to devnet,
you can connect a slot to the QHeaderView::sectionResized() signal to be notified when a column is resized
QHeaderView::sectionResized()
connect(tableView->horizontalHeader(), &QHeaderView::sectionResized, this, &MyWIdget::slotColumnResized);