Hi,
I have a QtableView.
What's the simplest way to find the column index of a QString in the horizontalHeader() ?
Hi,
I have a QtableView.
What's the simplest way to find the column index of a QString in the horizontalHeader() ?
Iterate over columns of the table and compare the string against the values from QAbstractItemModel::headerData() of the model connected to the view.
govi2 (5th February 2017)
Bookmarks