Adding buttons to Table
-
Hello,
I am trying to add widgets in QTableView's horizontal header to interact with user.
How can I do that? -
@ikuris No need for a button, look at the signals of QHeaderView https://doc.qt.io/qt-5/qheaderview.html#signals
You can get clicks directly from the signalYou can also, based on those signals, display customised tooltips via toolTip property https://doc.qt.io/qt-5/qwidget.html#toolTip-prop