table->setStyleSheet(" QHeaderView:selected{" "background-color: red;" "border: 1px solid #6c6c6c;}");
QHeaderView::section:selected
setStyleSheet("QHeaderView::section:checked{background-color: red;}");