T
T
theSever2018-03-15 18:33:14
Qt
theSever, 2018-03-15 18:33:14

Qt C++ qtableWidget how to catch click on column header?

It is necessary to trigger a void event when clicking on a column heading, passing the index of this column, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ighor July, 2018-03-15
@IGHOR

Maybe your question was answered here https://stackoverflow.com/questions/11596267/qtabl...
PS: QTableWidget is very slow if you have more than 20 rows, you should use model and QTableView

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question