@@ -51,31 +51,31 @@ mbServerDeviceUi::mbServerDeviceUi(mbServerDevice *device, QWidget *parent) :
5151 tbl->setItemDelegate (new mbServerDeviceUiDelegateBool (this ));
5252 tbl->setSelectionMode (QAbstractItemView::ContiguousSelection);
5353 tbl->setAlternatingRowColors (true );
54- tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray }" );
54+ tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray; color:black }" );
5555
5656 m_model_1x = new mbServerDeviceUiModel_1x (m_device, this );
5757 tbl = ui->tableView_1x ;
5858 tbl->setModel (m_model_1x);
5959 tbl->setItemDelegate (new mbServerDeviceUiDelegateBool (this ));
6060 tbl->setSelectionMode (QAbstractItemView::ContiguousSelection);
6161 tbl->setAlternatingRowColors (true );
62- tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray }" );
62+ tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray; color:black }" );
6363
6464 m_model_3x = new mbServerDeviceUiModel_3x (m_device, this );
6565 tbl = ui->tableView_3x ;
6666 tbl->setModel (m_model_3x);
6767 tbl->setItemDelegate (new mbServerDeviceUiDelegate (this ));
6868 tbl->setSelectionMode (QAbstractItemView::ContiguousSelection);
6969 tbl->setAlternatingRowColors (true );
70- tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray }" );
70+ tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray; color:black }" );
7171
7272 m_model_4x = new mbServerDeviceUiModel_4x (m_device, this );
7373 tbl = ui->tableView_4x ;
7474 tbl->setModel (m_model_4x);
7575 tbl->setItemDelegate (new mbServerDeviceUiDelegate (this ));
7676 tbl->setSelectionMode (QAbstractItemView::ContiguousSelection);
7777 tbl->setAlternatingRowColors (true );
78- tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray }" );
78+ tbl->setStyleSheet (" QHeaderView::section { background-color:lightgray; color:black }" );
7979
8080 connect (ui->tabWidget , &QTabWidget::currentChanged, this , &mbServerDeviceUi::tabChanged);
8181}
0 commit comments