转载请注明出处:http://www.cnblogs.com/dachen408/p/7742680.html

QTableView
{
	background-color: rgba(255, 255, 255, 0); 
	alternate-background-color:#e3edf9;
	font:14px "微软雅黑";
	color:#677483;
	gridline-color: #ccddf0;
}

QTableView::item
{	
	font:14px "微软雅黑";
	color:#677483;
	gridline-color: #ccddf0; 
}

QTableView::item:selected
{	
	color:#677483;
}

QHeaderView::section {	
	color: black;
	font:bold 14px "微软雅黑";
	text-align:center;
	height:32px;
	background-color: #d1dff0;
	border:1px solid #8faac9;
	border-left:none;
}

// border-left:none;防止中间表头的border重叠
QHeaderView::section:first 
{
	border-left:1px solid #8faac9;
}

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2021-06-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2021-12-31
相关资源
相似解决方案