PDA

View Full Version : Accessing the Table Corner Button



jmc
15th April 2010, 19:48
I would like to modify the appearance and behavior of the widget in the upper left hand corner of a table. However, the only reference I can find to this widget is to enable / disable it via "QTableView::setCornerButtonEnabled()" and its related methods.

Poking around in the Qt source code I did find a reference "QTableViewPrivate::cornerWidget" but I don't know how to access this data member and am hesitant to try.

I would appreciate some advice from someone who has more experience with Qt Tables.

Respectfully,
John M. Cooney

norobro
15th April 2010, 20:40
Here (http://www.qtcentre.org/threads/28693-QTableWidget-Using-top-left-corner-cell?p=135184) is a recent thread that might be helpful.