2
我使用下面的代码来设置模拟器(S60)(诺基亚Qt SDK)中的表格样式。QTableView - 选择背景颜色
searchTable->setStyleSheet("background: rgb(255,255,255);color:rgb(0,0,0); font-family:Arial Narrow;font-size:20px; border: 4px outset rgb(255,255,255);gridline-color: #669933;"
"selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #486909, stop: 1 white);"
);
但是当我在数据中选择元素时,我得到了以下输出。请找到附件。
请帮助我....我没有什么错的..在此先感谢。