C++ (Qt)
class TableWidget : public QTableWidget
{
QLabel* lb_ = nullptr;
protected:
void updateGeometries() override
{
QTableWidget::updateGeometries();
if( !lb_ )
lb = new QLabel( "...", this );
auto m = viewportMargins();
lb->setGeometry( 0, 0, m.left(), m.top() );
}
};